For quite some time I’ve been dinking around trying to get SASL to work on my colo box. It took
- Reading lots of people bitch about the lack of it on nanog
- Realizing that the latest account I created (but hasn’t gone live yet) will need it for outbound mail from behind a rr.com port-25 block
- Finally finding the IDEAlog.us – Helpful guide to setting up Linux Debian Postfix Courier SquirrelMail Mail Server
The most helpful part was the bit to add
PARAMS="-m /var/spool/postfix/var/run/saslauthd"
although I added it to /etc/default/saslauthd rather than edit /etc/init.d/saslauthd (better for future debian upgrades).
Another point to make is that sasltestwhatever of testsaslwhatever doesn’t work so configured unless you also either
Link each file in /var/spool/postfix/var/run/saslauthd to an identical name in /var/run/saslauthdor- Link /var/run/saslauthd directly to /var/spool/postfix/var/run/saslauthd (better answer, works through reboots)