On Apr 16, 2012, at 8:06 PM, Stuart Henderson wrote: > On 2012-04-16, ZC) Loff <[email protected]> wrote: >>> It is hard to guess what you need from the scarce information you >>> provide. >> >> I'm sorry... On hindsight, that was _very_ little information. >> I'm running 5.0, with postfix as an MTA, delivering mail for two virtual >> domains (maildir). Courier is used for IMAP, and runs as vmail:vmail. >> >>> Can you show the output of >>> # ls -al /var/mail >> >> $ ls -l /var/mail >> total 2148 >> -rw------- 1 root wheel 1076477 Jan 14 16:13 root >> drwx------ 4 vmail vmail 512 Dec 5 00:33 vmail >> -rw------- 1 zeloff users 0 Jan 10 2011 zeloff >> >> Inside /var/mail/vmail is a folder of each of the virtual domains, and >> inside that one for every user, etc. Every thing from here on down has >> either 700 (folders) or 600 (files) permissions. > > /var/mail is intended for user-owned mbox files, I would think > moving your maildirs elsewhere is more sane. I tend to use /mail > for virtual user mailboxes but each to their own :) > >> Relocating the whole thing is most probably the best idea, but is there >> anything wrong with this patch I came up with? > > that looks alright as a local patch but I have no idea if there's > something else which might be unhappy about nonstandard use of > /var/mail. >
Thanks for everything. I'll move the maildirs.

