On 4.10.2012, at 2.42, Marc Perkel wrote: > On 10/3/2012 1:04 PM, Timo Sirainen wrote: >> Maildir, layout=fs >> /var/vmail/domain/user/ >> >> Spams get delivered there. User has access there. Domain admin has >> mail_location=/var/vmail/domain, you have mail_location=/var/vmail > I'm a little confused. What about the cur, new, and tmp directories? How does > that fit in?
users: mail_location = maildir:/var/vmail/%d/%n:LAYOUT=fs domain admins: mail_location = maildir:/var/vmail/%d:LAYOUT=fs full admins: mail_location = maildir:/var/vmail:LAYOUT=fs The cur/new/tmp directories are under the /var/vmail/domain/username/. So the spams get delivered to /var/vmail/domain/username/new/ directory. This is visible to the users as their INBOX. Domain admins see the mails under the "username" mailbox. Full admins see the mails under "domain/username" mailbox.