Permissions request (1 Viewer)

llama

Very Banned
Joined
Jan 1, 2006
Messages
10,482
Reaction score
1,415
Offline
IF anybody using Ubuntu and Postfix with saslauthd is out there, please tell me the permissions you have in /var/spool/postfix. I have fubar'd something up ferociously.

TIA
 
Not sure if this is the info you're looking for, but here goes;

/var/spool/postfix - owner = root (c & d files), group = root (access files), others (access files)
/var/spool/postfix/active - owner=postfix (create and delete files) group=root (none) others (none)
/var/spool/postfix/bounce - same as active
/var/spool/postfix/corrupt - same as active
/var/spool/postfix/defer - same as active
/var/spool/postfix/deferred - same as active
/var/spool/postfix/etc - owner = root (c & d files) group = root (access files) others (access files)
/var/spool/postfix/flush - same as active
/var/spool/postfix/hold - same as active
/var/spool/postfix/incoming - same as active
/var/spool/postfix/lib - same as etc
/var/spool/postfix/maildrop - owner = postfix (c & d files), group = postdrop (no list, create/delete, access), others = none
/var/spool/postfix/pid - owner = root (c & d files), group = root (access files), others (access files)
/var/spool/postfix/private - same as active
/var/spool/postfix/public - owner = root (c & d files), group = postdrop (no list, no create/delete, access) others (none)
/var/spool/postfix/saved - same as active
/var/spool/postfix/trace - same as active
/var/spool/postfix/usr - same as etc
/var/spool/postfix/var - same as etc

Hope this helps. I got these using Nautilus since that's the only way I know.
 
Last edited:
I don't run mail servers on Ubuntu, but ..................................

Are you using ...
Virtual accounts?
MySQL accounts?
Chrooted services?

Does 'postfix check' return any errors?

The parent /var/spool/postfix directory will contain a quite a few sub-directories that will require various permissions. Performing a global permission change on just the /var/spool/postfix will usually NOT work (as you are finding out!)

Check all of your mail.* logs. Postfix is generally very good at detailing problems via log files. You may actually find some Sasld errors in your /var/log/daemon logs, as well.







edit.......
After looking at Buickman's post, I can see that Ubuntu Postfix IS chrooted! (/var/spool/postfix -usr, -var, etc. gave it away) sweet!

The permission changes for Sasld (saslauthd?) will probably only be needed for the /var/run directory. Since Ubuntu Postfix is chrooted, that would be /var/spool/postfix/var/run/sasl* (or similar)

Hope that helps.
 
Thanks. That got me going in the right direction. I eventually stumbled on

Code:
/etc/postfix/post-install set-permissions
Which hooked me right up.

I did have some deeper permissions that were incorrect in the chroot but `postfix check` helped sort those out too.

Thanks!
 
Last edited:

Create an account or login to comment

You must be a member in order to leave a comment

Create account

Create an account on our community. It's easy!

Log in

Already have an account? Log in here.

Users who are viewing this thread

    Back
    Top Bottom