Re: [exim] Question about umasks and exim

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Eric A. Bonney
日付:  
To: exim-users
題目: Re: [exim] Question about umasks and exim
Thanks Eduardo! that was the fix I needed to get it working properly.

-Eric

Eduardo M KALINOWSKI wrote:
> Eric A. Bonney escreveu:
>
>> I am running exim4 and dovecot and I am having some issues with the file
>> permissions on the emails that are being being moved once the email has
>> been delivered. I am using the maildir format mailbox and accessing all
>> the email through IMAP only.
>>
>> When the mail is originally delivered the permissions are set correctly,
>> but then if the user moves the message from the Inbox to a different
>> folder, the permissions are then set to only rw by user and nothing for
>> the group or world.
>>
>> My question is both exim4 and dovecot have locations to set the default
>> umask on files and directories. So which application has control of the
>> umask on files that are moved? I thought it might be dovecot, but I have
>> played around with that particular mask and nothing seems to be changing.
>>
>>
>
> If the initial delivery has the correct permissions, but when you move
> an e-mail via IMAP the permissions are screwed, then this is clearly a
> dovecot problem.
>
> To specify the permissions used by dovecot, you need a dovecot-shared
> file in your maildirs. See http://wiki.dovecot.org/SharedMailboxes .
>
>