Re: [exim] Question about umasks and exim

Top Page
Delete this message
Reply to this message
Author: Eduardo M KALINOWSKI
Date:  
To: exim-users
Subject: Re: [exim] Question about umasks and exim
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 .