What permissions/owner should the mail directory have?

This is very much site-specific.  In general, /com/mail/USER should be
owned by USER, and writable by the mail daemon (to append mail the
spool file).  And /com/mail should be writable by the mail daemon (to
create user spool files)

On some systems, where you do not read mail locally, the permissions
matter less, as long as the daemon can access the relevant files.

For example, these are the permissions on one mail server:

drwxrwxrwt 4 root Debian-exim 12288 May 21 05:25 /com/mail
-rwxr--r-- 1 ams ams 6260 May 21 05:21 /com/mail/ams

But the following on another:

drwxrwsr-x   2 0              8            4096 May 12 07:27 /var/mail
-rw-r--r--   1 ams            ams         0 May 21 11:19 ams


_______________________________________________
Bug-mailutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-mailutils

Reply via email to