(10-16-2015, 06:16 AM)apinto Wrote: Try this:
Code:# postfix config file
#...
# tls config
#CHANGE
= no
smtp_use_tls = yes
smtpd_use_tls = yes
#ADD
smtpd_enforce_tls = no
smtpd_tls_security_level = may
smtp_tls_note_starttls_offer = yes
smtpd_tls_loglevel = 2
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
tls_random_source = dev:/dev/urandom
smtp_tls_session_cache_database = btree:$data_directory/smtp_tls_session_cache
smtpd_tls_key_file = /etc/postfix/ssl/mail.johnxxxxxxgd.com.key.pem
smtpd_tls_cert_file = /etc/postfix/ssl/mail.johnxxxxxxgd.com.crt.pem
smtpd_tls_CAfile = /etc/postfix/ssl/cacert.pem
#...
Also, make sure you use the following settings on Thunderbird/Mail Client:If you are using Connection Security: None (default for Thunderbird) it will always send unsecured emails.
- Server: mail.johnxxxxxxgd.com
- Port: 995
- User Name: info@johnxxxxxxgd.com
- Con. Security: SSL/TLS
- Auth: Normal Password
Also, using the localhost of your server (for ex. RoundCube) it does not send the emails secured by default, and it does NOT NEED TO because SSL secures the client-server connection, if your client is inside the server it is already "secured".
Thanks for your reply.
That worked, making those two changes to the file seemed to do the trick for me.
My connections settings in thunderbird are
- Server: mail.johnxxxxxxgd.com
- Port: 587
- User Name: admin@johnxxxxxxgd.com
- Con. Security: STARTTLS
- Auth: Normal Password
Thanks for all your help