[PLUG] Postfix + Dovecot

Rich Shepard rshepard at appl-ecosys.com
Tue Feb 17 23:17:34 UTC 2015


   I've been running postfix with cyrus-SASL for years but it's time to
change the SASL tool to dovecot. I've been wrestling with this for a couple
of days now and it has me pinned to the mat. I need help.

   Today I upgraded dovecot-2.2.13 to -2.2.15. Went to the dovecot Web sits
and followed the configuration instructions step-by-step. Added user
dovenull and all checks appear correct:

doveconf -n
# 2.2.15: /etc/dovecot/dovecot.conf
# OS: Linux 3.10.17-smp i686 Slackware 14.1 ext3
mail_location = mbox:/var/spool/mail/%d/%1n/%n:INDEX=/var/indexes/%d/%1n/%n
namespace inbox {
   inbox = yes
   location =
   mailbox Drafts {
     special_use = \Drafts
   }
   mailbox Junk {
     special_use = \Junk
   }
   mailbox Sent {
     special_use = \Sent
   }
   mailbox "Sent Messages" {
     special_use = \Sent
   }
   mailbox Trash {
     special_use = \Trash
   }
   prefix =
   type = private
}
passdb {
   args = scheme=CRYPT username_format=%u /etc/dovecot/users
   driver = passwd-file
}
ssl_cert = </etc/ssl/certs/dovecot.pem
ssl_key = </etc/ssl/private/dovecot.pem
userdb {
   args = username_format=%u /etc/dovecot/users
   driver = passwd-file
}

   In postfix's main.cf:

smtpd_sasl_path = smtpd

# Frontier blocking outbound port 25:
relayhost = [mail.aracnet.com]:submission
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_sasl_security_options = noplaintext, noanonymous
smtp_sasl_tls_security_options = noanonymous
smtp_tls_security_level = may
smtp_sasl_type = dovecot
#smtp_sasl_type = cyrus

   All looks good, so I start postfix (/etc/rc.d/rc.postfix start) and tail
/var/log/maillog where I see this:

Feb 17 15:03:13 salmo postfix/smtp[30653]: warning: unsupported SASL client
implementation: dovecot
Feb 17 15:03:13 salmo postfix/smtp[30653]: fatal: SASL library
initialization
Feb 17 15:03:14 salmo postfix/master[30558]: warning: process
/usr/libexec/postfix/smtp pid 30653 exit status 1
Feb 17 15:03:14 salmo postfix/master[30558]: warning:
/usr/libexec/postfix/smtp: bad command startup -- throttling

   The problem looks like it's with postfix, not dovecot, but my inexperience
prevents me from seeing what it is. Please provide a clue so I can move past
this issue.

TIA,

Rich



More information about the PLUG mailing list