tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: mail.local NSS awareness



On Wed, Apr 30, 2008 at 08:14:39AM -0400, Greg A. Woods; Planix, Inc. wrote:
> Indeed mail.local _could_ be made so blind as to just create a file in  
> the spool directory with the same name as the user-id (though there  
> could be issues with character case, depending on what the MTA passes  
> to it).  In fact I would strongly prefer it to be that way.

mail.local has to create a mailbox owned by the recipient and mode 600. 
This invloves calling chown(2) with the recipient's UID. This is why 
mail.local needs to perform a user lookup. There is no way to work it
around without sacrifying privacy.

-- 
Emmanuel Dreyfus
manu%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index