[PLUG] Dovecot postfix SASL auth

Kris krisa at subtend.net
Wed Jul 18 21:47:38 UTC 2007


While we're on the topic, here's my configs for using dovecot with
postfix for SASL.  Cyrus has always been a PITA for me with postfix (on
debian/ubuntu).

=== main.cf

# SASL Auth
smtpd_sasl_auth_enable = yes
smtpd_sasl_type = dovecot
smtpd_sasl_path = private/auth


=== main.cf

# This should already be in the default config and needs to be uncommented

submission inet n       -       -       -       -       smtpd
  -o smtpd_enforce_tls=yes
  -o smtpd_sasl_auth_enable=yes
  -o smtpd_client_restrictions=permit_sasl_authenticated,reject



http://wiki.dovecot.org/HowTo/PostfixAndDovecotSASL
=== dovecot.conf

auth default {
      mechanisms = plain login
      passdb pam {
      }
      userdb passwd {
      }
      socket listen {
        client {
          # Assuming the default Postfix $queue_directory setting
          path = /var/spool/postfix/private/auth
          mode = 0660
          # Assuming the default Postfix user and group
          user = postfix
          group = postfix
        }
      }
}


-- 
I'm just a packet pusher.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
URL: <http://lists.pdxlinux.org/pipermail/plug/attachments/20070718/d1826588/attachment.asc>


More information about the PLUG mailing list