AWU on Debian Wheezy (and tips on getting Postfix to talk to saslauthd)

AWU is on Debian Wheezy (7.0) now. Everything went great, except for getting Postfix to connect to saslauthd for authentication. I had this bit in /etc/fstab from $DEITY-knows-where:

/var/run/saslauthd /var/spool/postfix/var/run/saslauthd bind bind 0 0

It’s a hack to remount /var/run/saslauthd on /var/spool/postfix/var/run/saslauthd so that the chrooted postfix can find the “mux” socket. Run as root:

service saslauthd stop (this will probably fail, but just to be sure saslauthd is well and truly dead)

umount /var/spool/postfix/var/run/saslauthd

Then nuke that line from /etc/fstab! You don’t need this hack any more…just make sure the last line in /etc/default/saslauthd is:

OPTIONS=”-c -m /var/spool/postfix/var/run/saslauthd” (comment out the other OPTIONS line)

Then, as root:

service saslauthd start

Postfix will now accept mail from your clients again.

This entry was posted in nerdgasm, System Maintenance. Bookmark the permalink.