Source-upgrading FreeBSD "breaks" postfix+dovecot?

Darren Pilgrim postfix at bitfreak.org
Sun Dec 14 03:40:06 PST 2008


Tonight I source-upgraded a FreeBSD system from i386 6.3p5 to i386 
6.4-R.  I have postfix 2.5.5 and dovecot 1.1.7 installed with postfix 
using dovecot for SASL and dovecot LDA for mailbox delivery.  After 
installing 6.4-R, postfix refused to work until I recompiled and 
reinstalled both it and dovecot.  Dovecot itself (i.e., the IMAP server) 
worked fine.  Postfix worked fine if I set smtpd_sasl_auth_enable=no and 
defer_transports=dovecot, effectively preventing postfix from using any 
dovecot bits.  Examples of the logged errors:

Before reinstalling anything:

postfix/pipe[36617]: fatal: get_service_attr: unknown group: vmail
postfix/qmgr[36614]: warning: private/dovecot socket: malformed response

private/dovecot is the socket dovecot creates for SMTP AUTH.

After recompiling and reinstalling just postfix:

postfix/pipe[36755]: warning: unexpected end-of-input from dovecot 
socket while reading input attribute name
postfix/pipe[36755]: warning: deliver_request_get: error receiving 
common attributes
postfix/smtpd[36771]: fatal: no SASL authentication mechanisms

This doesn't happen reliably so I've had little luck finding a cause.

Searching on the error logs didn't yield any useful results.  Does 
anyone else experience this?  Does anyone know the cause?

postconf -n and other configuration details available on request.



More information about the freebsd-ports mailing list