On 4/12/2011 10:31 AM, Fabien COMBERNOUS wrote:
Thank you for your answer.
On 12/04/2011 17:06, Noel Jones wrote:
[...]
Port 465 is the deprecated "SSL wrapper mode" smtps. The
postfix smtp client doesn't support wrapper mode.
Use the submission port 587 instead, or if you must use 465
see http://www.postfix.org/TLS_README.html#client_smtps
I tested also 587 port. But i this case i get the following
message :
Apr 12 11:21:58 dns postfix/smtp[83627]: 484E193000:
to=<fcombern...@kezia.com>,
relay=smtp.gmail.com[209.85.227.109]:587, delay=0.69,
delays=0/0.01/0.6/0.08, dsn=5.7.0, status=bounced (host
smtp.gmail.com[209.85.227.109] said: 530 5.7.0 Must issue a
STARTTLS command first. a50sm3091196wer.42 (in reply to MAIL
FROM command))
Regards,
Your postfix needs to be compiled with TLS support, and TLS
must be enabled in the smtp client.
http://www.postfix.org/TLS_README.html#build_tls
(or install a TLS-enabled postfix package from your OS vendor)
http://www.postfix.org/TLS_README.html#client_tls_levels
# main.cf
smtp_tls_security_level = may
Or use stunnel and port 465 if you can't get postifix TLS working.
-- Noel Jones