Permissions request (1 Viewer)

llama

Very Banned
Joined
Jan 1, 2006
Messages
10,483
Reaction score
1,414
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
 

Buickman

Super Forum Fanatic
Platinum VIP Contributor
Joined
Sep 30, 2004
Messages
6,984
Reaction score
5,427
Age
56
Location
Chester Gap, Va
Offline
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:

eaux-yeah

Keep on Puffin'
Tech-Admin
Joined
Sep 15, 2002
Messages
5,232
Reaction score
216
Age
57
Location
Lafayette, Colorado
Offline
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.
 
OP
llama

llama

Very Banned
Joined
Jan 1, 2006
Messages
10,483
Reaction score
1,414
Offline
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:

Cajun Mike

Clan of dren
Staff member
Tech-Admin
Joined
Sep 1, 2000
Messages
23,028
Reaction score
1,996
Age
62
Location
Breaux Bridge.LA
Offline
Hey llamakc I saw your handle on uby forums i assume that is you?
 

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 (Users: 0, Guests: 1)



New Orleans Saints Twitter Feed

Headlines

Top Bottom