Comments on: Set-up SSL encrypted connection in Postfix, Dovecot and Apache https://www.rosehosting.com/blog/set-up-ssl-encrypted-connection-in-postfix-dovecot-and-apache/ Premium Linux Tutorials Since 2001 Mon, 19 Dec 2022 13:00:18 +0000 hourly 1 https://wordpress.org/?v=6.5.4 By: Kade https://www.rosehosting.com/blog/set-up-ssl-encrypted-connection-in-postfix-dovecot-and-apache/#comment-45680 Thu, 11 May 2017 05:54:13 +0000 https://secure.rosehosting.com/blog/?p=2804#comment-45680 Thanks for providing a terrific tutorial series!

]]>
By: JPD https://www.rosehosting.com/blog/set-up-ssl-encrypted-connection-in-postfix-dovecot-and-apache/#comment-43885 Sat, 20 Dec 2014 21:37:16 +0000 https://secure.rosehosting.com/blog/?p=2804#comment-43885 In reply to JPD.

I tried to regenerate a new certificate and it works fine now. Thanks for this tutorial! :)

]]>
By: kikou https://www.rosehosting.com/blog/set-up-ssl-encrypted-connection-in-postfix-dovecot-and-apache/#comment-43884 Sat, 20 Dec 2014 20:00:50 +0000 https://secure.rosehosting.com/blog/?p=2804#comment-43884 In reply to admin.

it work’s.. i have uncommented smtp inet… in main.cf in addition of submission inet… thank you.

]]>
By: admin https://www.rosehosting.com/blog/set-up-ssl-encrypted-connection-in-postfix-dovecot-and-apache/#comment-43883 Sat, 20 Dec 2014 11:58:22 +0000 https://secure.rosehosting.com/blog/?p=2804#comment-43883 In reply to kikou.

relay denied or access denied usually means that your mail server is misconfigured. please re-check that your configuration is consistent and valid for your setup.

]]>
By: kikou https://www.rosehosting.com/blog/set-up-ssl-encrypted-connection-in-postfix-dovecot-and-apache/#comment-43882 Sat, 20 Dec 2014 11:51:57 +0000 https://secure.rosehosting.com/blog/?p=2804#comment-43882 In reply to admin.

Yes, Thank you..
I see messages like this : “relay denied” and also “client host rejected: access denied”

]]>
By: JPD https://www.rosehosting.com/blog/set-up-ssl-encrypted-connection-in-postfix-dovecot-and-apache/#comment-43880 Sat, 20 Dec 2014 03:17:40 +0000 https://secure.rosehosting.com/blog/?p=2804#comment-43880 Hi,

I am having problems with SMTP with SSL. I’m trying to connect my email from my own domain to my Outlook personal email but I could not do it without errors.

Outlook: There’s a problem connecting to the SMTP mail server.

Here’s the log:
Dec 20 11:08:39 vpn01 postfix/smtpd[3156]: lost connection after CONNECT from unknown[65.55.41.7]
Dec 20 11:08:39 vpn01 postfix/smtpd[3156]: disconnect from unknown[65.55.41.7]
Dec 20 11:08:39 vpn01 postfix/smtpd[3156]: connect from unknown[65.55.41.7]
Dec 20 11:08:39 vpn01 postfix/smtpd[3156]: setting up TLS connection from unknown[65.55.41.7]
Dec 20 11:08:39 vpn01 postfix/smtpd[3156]: unknown[65.55.41.7]: TLS cipher list “ALL:!EXPORT:!LOW:+RC4:@STRENGTH”
Dec 20 11:08:39 vpn01 postfix/smtpd[3156]: SSL_accept:before/accept initialization
Dec 20 11:08:39 vpn01 postfix/smtpd[3156]: read from 7F629C886490 [7F629C8C2840] (11 bytes => -1 (0xFFFFFFFFFFFFFFFF))
Dec 20 11:08:41 vpn01 postfix/smtpd[3156]: SSL_accept error from unknown[65.55.41.7]: -1
Dec 20 11:08:41 vpn01 postfix/smtpd[3156]: lost connection after CONNECT from unknown[65.55.41.7]
Dec 20 11:08:41 vpn01 postfix/smtpd[3156]: disconnect from unknown[65.55.41.7]

Here’s my netstat:
root@vpn01 ~]# netstat -tlunp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:465 0.0.0.0:* LISTEN 3147/master
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 1020/sshd
tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN 3147/master
tcp 0 0 0.0.0.0:993 0.0.0.0:* LISTEN 3045/dovecot
tcp 0 0 0.0.0.0:995 0.0.0.0:* LISTEN 3045/dovecot
tcp 0 0 0.0.0.0:587 0.0.0.0:* LISTEN 3147/master
tcp 0 0 0.0.0.0:110 0.0.0.0:* LISTEN 3045/dovecot
tcp 0 0 0.0.0.0:143 0.0.0.0:* LISTEN 3045/dovecot
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 952/rpcbind
tcp 0 0 :::22 :::* LISTEN 1020/sshd
tcp 0 0 :::993 :::* LISTEN 3045/dovecot
tcp 0 0 :::995 :::* LISTEN 3045/dovecot
tcp 0 0 :::110 :::* LISTEN 3045/dovecot
tcp 0 0 :::143 :::* LISTEN 3045/dovecot
tcp 0 0 :::111 :::* LISTEN 952/rpcbind
tcp 0 0 :::80 :::* LISTEN 1131/httpd
udp 0 0 0.0.0.0:703 0.0.0.0:* 952/rpcbind
udp 0 0 0.0.0.0:111 0.0.0.0:* 952/rpcbind
udp 0 0 0.0.0.0:1194 0.0.0.0:* 978/openvpn
udp 0 0 :::703 :::* 952/rpcbind
udp 0 0 :::111 :::* 952/rpcbind
[root@vpn01 ~]#

Connecting without SSL works fine though.

I’m not really sure what’s wrong with this. :(

Thanks,
JP

]]>
By: admin https://www.rosehosting.com/blog/set-up-ssl-encrypted-connection-in-postfix-dovecot-and-apache/#comment-43879 Fri, 19 Dec 2014 15:24:10 +0000 https://secure.rosehosting.com/blog/?p=2804#comment-43879 In reply to kikou.

The easiest way to troubleshoot is to check your mail server’s log files and see why emails to external domains are not getting sent.

]]>
By: kikou https://www.rosehosting.com/blog/set-up-ssl-encrypted-connection-in-postfix-dovecot-and-apache/#comment-43877 Fri, 19 Dec 2014 09:09:14 +0000 https://secure.rosehosting.com/blog/?p=2804#comment-43877 Thank you, yes I have already added this settings in my config but not work : i can send to local domain only.. but I am not using “smtps inet” but “submission inet” .

]]>