View Full Version : [ubuntu] SASL permission denied after update
rockney
August 22nd, 2008, 12:51 AM
Installed the Postfix update tonight using the Update Manager in 8.04 server. Now SMTP mail cannot be sent to the server running Postfix + Courier suite + SASL.
The mail.info log shows "postfix/smtp...warning: SASL authentication failure: cannot connect to saslauthd server: permission denied".
What happened, and how do I fix it ??
windependence
August 22nd, 2008, 08:29 AM
Check your permissions on /var/spool/postfix/var/run/saslauthd.
-Tim
rockney
August 23rd, 2008, 12:56 PM
The permissions are the same as the backups:
710 with owner root and group sasl
The options in /etc/default/saslauthd have not changed:
OPTIONS="-c -m /var/spool/postfix/var/run/saslauthd"
All files in /etc/pam.d are identical to those in the backups (rsync).
It does work when email is sent from another domain, e.g. gmail.com, but does not work when sending from Thunderbird.
Thanks a lot for the help - this has me stumped.
windependence
August 23rd, 2008, 01:26 PM
OK, I think you need to do a
adduser postfix sasl
since postfix probably could not read the mux file.
-Tim
rockney
August 23rd, 2008, 03:38 PM
Fabulous! That was it. Thank you!!
But - because this server was already setup and working all I did was go into /etc/passwd and change the group for the postfix user back to the sasl group (45). The Postfix update had changed it to postfix (113). I verified that by looking in the backups.
Thanks again.
windependence
August 23rd, 2008, 04:52 PM
No problem. That happened when you did the upgrade. It set everything back to default.
-Tim
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.