Hello, 
Am having similar issues.

I am migrating to a new internal mail relay that has Sasldb auth on
postfix (submission/587)

Though your suggestions to add the groups entry with systemctl edit
saslauthd changes the group membership on the directory
/var/spool/postfix/var/run/saslauthd; However it does not add the 710
perms on the files when the saslauthd service starts.  Changing the
permissions after the service starts seems to resolve the issue.

Before:
root@p1it-smtp1:/var/spool/postfix/var/run/saslauthd# ls -al
total 976
drw---x---+ 2 root sasl   4096 Jan 13 21:03 .
drwxr-xr-x  3 root root   4096 Jan 12 20:45 ..
-rw-------  1 root sasl      0 Jan 13 21:03 cache.flock
-rw-------  1 root sasl 986112 Jan 13 21:30 cache.mmap
srwxrwxrwx  1 root sasl      0 Jan 13 21:03 mux
-rw-------  1 root sasl      0 Jan 13 21:03 mux.accept
-rw-------  1 root sasl      5 Jan 13 21:03 saslauthd.pid

Fix:
root@p1it-smtp1:/var/spool/postfix/var/run/saslauthd# chmod 710 *
root@p1it-smtp1:/var/spool/postfix/var/run/saslauthd# ls
cache.flock  cache.mmap  mux  mux.accept  saslauthd.pid
root@p1it-smtp1:/var/spool/postfix/var/run/saslauthd# ls -al
total 976
drw---x---+ 2 root sasl   4096 Jan 13 21:03 .
drwxr-xr-x  3 root root   4096 Jan 12 20:45 ..
-rwx--x---  1 root sasl      0 Jan 13 21:03 cache.flock
-rwx--x---  1 root sasl 986112 Jan 13 21:30 cache.mmap
srwx--x---  1 root sasl      0 Jan 13 21:03 mux
-rwx--x---  1 root sasl      0 Jan 13 21:03 mux.accept
-rwx--x---  1 root sasl      5 Jan 13 21:03 saslauthd.pid
root@p1it-smtp1:/var/spool/postfix/var/run/saslauthd# chmod 777 mux
root@p1it-smtp1:/var/spool/postfix/var/run/saslauthd# ls -al
total 976
drw---x---+ 2 root sasl   4096 Jan 13 21:03 .
drwxr-xr-x  3 root root   4096 Jan 12 20:45 ..
-rwx--x---  1 root sasl      0 Jan 13 21:03 cache.flock
-rwx--x---  1 root sasl 986112 Jan 13 21:30 cache.mmap
srwxrwxrwx  1 root sasl      0 Jan 13 21:03 mux
-rwx--x---  1 root sasl      0 Jan 13 21:03 mux.accept
-rwx--x---  1 root sasl      5 Jan 13 21:03 saslauthd.pid

perhaps "chmod 777 mux" is unnecessary. But this seems to resolve. So
likely adding crontab entry like Rene suggested may be a good work
around for the mean time.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2078851

Title:
  saslauthd wrong permission of /var/spool/postfix/var/run/saslauthd

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cyrus-sasl2/+bug/2078851/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to