- Edited
775cpa
- Jun 19, 2022
- Joined Jan 14, 2021
- 4 discussions
- 7 posts
- 0 best answers
- Post posted... wait what?
I used to update mailcow with docker compose (v1) using the following commands:
./update.sh
sudo docker-compose ps
to check if everything is up, if yes, I run:
docker system prune
to remove old images.I upgraded to docker compose (v2) and I no longer can run
sudo docker-compose ps
to check if everything is up before I remove the images. Whenever I runsudo docker-compose ps
I getsudo: docker-compose: command not found
. What similar command I should use after upgrading todocker compose (v2)
?- Edited
I have come across the same problem today and stopped by this question. The reason is most likely that your server is running an old version of PHP, or has an outdated CA certificates bundle. . In my case, I think this is related to an outdated CA certificate because I see a warning like the below:
warning: TLS library problem: error:1408F10B:SSL routines:ssl3_get_record:wrong version number:../ssl/record/ssl3_record.c:332:
For more details and for the next steps, I am merging this question for reference purposes.- Edited
I get this warning on postfix debug log:
warning: TLS library problem: error:1408F10B:SSL routines:ssl3_get_record:wrong version number:../ssl/record/ssl3_record.c:332:
.
I was testing PHPmailer and I got this error when I tried to send an email:2022-01-08 Connection: opening to ssl://mail.example.com:587, timeout=30, options=array ( 'ssl' => array ( 'verify_peer' => true, 'verify_peer_name' => true, 'allow_self_signed' => false, ),) 2022-01-08 Connection failed. Error #2: stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages:error:1408F10B:SSL routines:ssl3_get_record:wrong version number [/var/www/example.com/html/vendor/phpmailer/phpmailer/src/SMTP.php line 388] 2022-01-08 Connection failed. Error #2: stream_socket_client(): Failed to enable crypto [/var/www/example.com/html/vendor/phpmailer/phpmailer/src/SMTP.php line 388] 2022-01-08 Connection failed. Error #2: stream_socket_client(): Unable to connect to ssl://mail.example.com:587 (Unknown error) [/var/www/example.com/html/vendor/phpmailer/phpmailer/src/SMTP.php line 388] 2022-01-08 SMTP ERROR: Failed to connect to server: (0)
I think these errors are correlated. Why I see the first warning and how can I fix that?
I see this warning as part of postfix logs:
warning: connect to Milter service inet:rspamd:9900: Connection refused
Anything to worry about or I should correct?I have installed mailcow on my server but mail.mydomain.com shows the same content on mydomain.com. I have run the following:
root@mail:~# host IP-address
Host IP-address not found: 2(SERVFAIL)root@mail:~# nslookup NS1.mydomain.com
Server: 127.0.0.53
Address: 127.0.0.53#53
** server can’t find NS1.mydomain.com: NXDOMAINHow can I fix this so that I can see the welcome page of mailcow when I run: mail.mailcow.com?
Thanks