Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

What should the correct are? Now there is 777 and I know that it's very stupid, but if I ask you before change them to prevent from permission error by time sending/receiving emails. Thank you.

share|improve this question

2 Answers 2

I've decide to seperate local storage and MTA and move all LDA functionality to the dovecot's deliver. Main advantage is single uid/gid accessing mailboxes. Single dovecot config cover both LDA and POP/IMAP, that deal with dirs/files. No file permission section in the MTA config at all.

share|improve this answer

Typical permissions for the directories the Maildir tree is 700. If you are sharing folders you need to allow 750 access to Maildir and 770 to shared folders. The share must be a member of the group that owns the Mailder and sub-folders. Files inside the directory should not have execute access. 600 is common; with 640 or 660 set for shared folders.

If the Maildir itself has 700 for its permissions, the subdirectories aren't as critical as other users won't be able to navigate to theme.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.