On 2015-06-11 07:51, Jithesh AP wrote:
Hi,
Hi,
I am a newbie and setting up my postfix+mysql+dovecot. I got things working for receiving/sending mails, via port 993 and 25 (used a client opera mail). After that i tried to enable smtps via 465, but it is not working, the log is giving this error (receiving via 993 still works fine). Can someone help pls Jun 10 22:47:06 ml postfix/smtpd[19945]: SSL_accept:SSLv3 flush data Jun 10 22:47:06 ml postfix/smtpd[19945]: read from 7FB98ABE1E70
< -- snip -->
with cipher DHE-RSA-AES256-SHA (256/256 bits) Jun 10 22:47:08 ml postfix/smtpd[19945]: warning: c-24-6-42-3.hsd1.ca.comcast.net[24.6.42.3]: SASL LOGIN authentication failed: authentication failure
Reduce your tls log level, thats not helping. The error is shown here, you have an authentication failure, so probably your user / password is wrong or your authentication is not setup properly but that can not be seen as you only show excerpts of your postfix configuration.
Main.cf config for ssl smtpd_tls_cert_file=/etc/httpd/ssl/ssl.crt smtpd_tls_key_file=/etc/httpd/ssl/private.key smtpd_use_tls=yes smtpd_tls_loglevel = 3
set smtpd_tls_loglevel = 1 to reduce the verbosity of your tls logs.
smtpd_tls_received_header = yes smtpd_tls_session_cache_timeout = 3600s tls_random_source = dev:/dev/urandom smtp_sasl_mechanism_filter = login Master.cf config for ssl smtp inet n - n - - smtpd -o content_filter=spamassassin submission inet n - n - - smtpd -o syslog_name=postfix/submission -o smtpd_tls_security_level=encrypt -o smtpd_sasl_auth_enable=yes -o smtpd_client_restrictions=permit_sasl_authenticated,reject # -o milter_macro_daemon_name=ORIGINATING smtps inet n - n - - smtpd -o smtpd_tls_wrappermode=yes -o smtpd_sasl_auth_enable=yes # -o smtpd_client_restrictions=permit_sasl_authenticated,reject # -o milter_macro_daemon_name=ORIGINATING Any help will be really great.
Please read http://www.postfix.org/DEBUG_README.html#mail and share the output of postconf -n and postconf -Mf with the mailinglist.
Regards Jithesh
- Christian