From: mouss (no email)
Date: Sat Mar 26 2005 - 12:04:09 EST
Tony Earnshaw wrote:
>>
>>>>So how can I get the virtual delivery agent to use umask 002 instead
>>>>of 022?
>>>>
>>>
>>>You need to give the IMAP server ownership over all the maildirs, and
>>>let it enforce the access control for each user.
>>
>>I would rather not, this new setup I have works just fine if I can just
>>get mails to these sharedfolder-maildirs delivered with a different umask.
>>
>>Is there really no way to choose a different umask for delivery?
>
>
> Viktor was right with his analysis, even though he would not give
> Courier/maildrop-specific advice (probably could have done, but this is
> not a Postfix problem).
>
> Have Postfix hand the mail to Courier/maildrop via local or virtual.
>
> Configure Courier/maildrop to use a virtual user (e.g. vmail:vmail) and to
> do everything in the name of this user: authentication, serving mail, etc.
> Then both Courier IMAP virtual and file-system shared folders will simply
> work, all directories in your hierarchy will be owned by vmail:vmail,
> perms 700 and all mail by vmail:vmail, perms 600.
Actually, that's what viktor said. see his first reply
(quote: "You need to give the IMAP server ownership over all the
maildirs...")
|
|
|