Hi,

Thanks for the reply :)

Sergey's reply was that the permissions on /var/mail should be 1777, which is 
where I got too while trying to make everything work. I asked mainly because 
that seemed a bit too permissive, though I don't think that can be helped given 
that we are using files. 

At the minute, I'm going to leave the directory owned by root.root and the 
individual files owned by the user. 

Andy

> From: [email protected]
> To: [email protected]
> CC: [email protected]
> Subject: Re: [bug-mailutils] Permissions
> Date: Thu, 21 May 2009 07:48:27 -0400
> 
>    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

_________________________________________________________________
Beyond Hotmail — see what else you can do with Windows Live.
http://clk.atdmt.com/UKM/go/134665375/direct/01/
_______________________________________________
Bug-mailutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-mailutils

Reply via email to