Am 17.02.2015 um 15:43 schrieb Rich Shepard:
   I'm not a professional SysAdmin or network admin but have been
running my
own smtpd using cyrus-SASL for years. I want now to transition to using
dovecot-SASL and have difficulty correctly configuring dovecot.

   Reading the postfix/dovecot Web pages and following the links, I created
/etc/pam.d/dovecot. On the page
http://wiki2.dovecot.org/PasswordDatabase/PAM
page, under Service Name, I read, "By default Dovecot uses dovecot as the
PAM service name, so the configuration is read from /etc/pam.d/dovecot" yet
the two examples are for /etc/pam.d/imap ../pop3 and /etc/pam.d/mail. I
chose to use the content for /etc/pam.d/dovecot as,

passdb {
   driver = pam
   args = %s
}

   Is this correct?

no idea where you found anything related to PAM since when you are running already dovecot the authentication works for IMAP/POP3 and you miss only the postfix integration for SASL

DOVECOT:
# configure backend for postfix sasl-auth
service auth {
  unix_listener /var/spool/postfix/private/auth {
  mode   = 0660
  user   = postfix
  group  = postfix
 }
}

POSTFIX:
smtpd_sasl_type = dovecot
smtpd_sasl_path = private/auth

Reply via email to