[svlug] Setting up sasl authentication...

Michael Robinson plug_1 at robinson-west.com
Mon Dec 22 20:16:41 PST 2014


The following snippets are from /etc/postfix/main.cf:

# Added to force smtp authentication...
smtpd_sasl_type = dovecot
smtpd_sasl_path = private/auth
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
...

# Added to force smtp authentication...
smtpd_recipient_restrictions=permit_mynetworks,   
permit_sasl_authenticated,
reject_unauth_destination
...

The master.cf file is unchanged.

I use the dovecot that comes with CentOS 6.x.

Snippet from 10-auth.conf:
...
auth_mechanisms = plain login cram-md5
...

Snippet from 10-master.conf:
...
service auth {

  # Postfix smtp-auth
  unix_listener /var/spool/postfix/private/auth {
    mode = 0660
    # Assuming the default Postfix user and group
    user = postfix
    group = postfix
  }
}
...

So I have verified that I can configure evolution to do smtp authority
okay.  Problem is, not doing smtp authority works also.  Uge!  How to
fix that.  I'd also like to implement TLS.




More information about the svlug mailing list