Posts

Showing posts from January, 2015

Postfix SASL authentication with TLS

Some time we are facing problem to send mail using Email Client Software (Like Outlook)form different ISP/Network. To avoid this kind of inconvenience need to configure authentication from server.  Step: 1 Ø   #vim /etc/dovecot/conf.d/10-master.conf         [ in older dovecot vim /etc/dovecot/dovecot.conf ]             [Edit / Add the following Lines]   # Postfix smtp-auth    unix_listener /var/spool/postfix/private/ auth {     mode = 0666     user = postfix     group = postfix   }   Ø   #vim /etc/dovecot/conf.d/10-ssl.conf Edit / Add the following Lines # SSL/TLS support: yes, no, required. <doc/wiki/SSL.txt> ssl = yes S tep: 2 #vim /etc/postfix/main.cf # TLS parameters smtpd_tls_cert_file=/etc/ssl/ certs/ssl-cert-snakeoil.pem smtpd_tls_key_file=/etc/ssl/ private/ssl-cert-snakeoil.key smtpd_use_tls=yes ########## Enable TLS ######## smtpd_tls_security_level = may smtpd_tls_received_header = yes smtpd_tls_auth_only = no smtp_tls_n