This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Outgoing mail not encrypted
#10
RE: Outgoing mail not encrypted
(10-16-2015, 07:14 AM)Zombie8u Wrote:
(10-16-2015, 06:16 AM)apinto Wrote: Try this:
Code:
# postfix config file

#...

# tls config

#CHANGE
#smtp_use_tls
= 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:
  • Server: mail.johnxxxxxxgd.com
  • Port: 995
  • User Name: info@johnxxxxxxgd.com
  • Con. Security: SSL/TLS
  • Auth: Normal Password
If you are using Connection Security: None (default for Thunderbird) it will always send unsecured emails.

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
If I change it to your suggestions I get this error "An error occurred while sending mail: The mail server sent an incorrect greeting:  +OK Dovecot (Ubuntu) ready.."



Thanks for all your help

Yah to use TLS you need another setup on master.cf
Honestly I dont even remember what I did Wink

Glad it worked!!
My Sentora Resources
[Module] Mail Quota Count | Vagrant Box with Sentora

[Image: vanguardly-logo-micro.png]
Graphic and Web Design. Development.
www.vanguardly.com


Reply
Thanks given by:


Messages In This Thread
Outgoing mail not encrypted - by Zombie8u - 10-15-2015, 12:11 PM
RE: Outgoing mail not encrypted - by Me.B - 10-15-2015, 04:30 PM
RE: Outgoing mail not encrypted - by Zombie8u - 10-15-2015, 09:09 PM
RE: Outgoing mail not encrypted - by apinto - 10-15-2015, 09:52 PM
RE: Outgoing mail not encrypted - by Zombie8u - 10-15-2015, 10:17 PM
RE: Outgoing mail not encrypted - by Me.B - 10-15-2015, 11:00 PM
RE: Outgoing mail not encrypted - by Zombie8u - 10-16-2015, 04:38 AM
RE: Outgoing mail not encrypted - by apinto - 10-16-2015, 06:16 AM
RE: Outgoing mail not encrypted - by Zombie8u - 10-16-2015, 07:14 AM
RE: Outgoing mail not encrypted - by apinto - 10-16-2015, 08:16 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
External mail client cannot connect to server iraqiboy90 2 6 ,308 02-28-2021, 11:34 AM
Last Post: iraqiboy90
Postfix mail.log to database stikekar 2 7 ,283 03-02-2019, 01:22 AM
Last Post: TGates
E-mail quota limit danandrade 6 26 ,507 08-28-2018, 05:22 PM
Last Post: speeddemon786

Forum Jump:


Users browsing this thread: 1 Guest(s)