Re: [exim] Specific mode for maildirsize

Page principale
Supprimer ce message
Répondre à ce message
Auteur: W B Hacker
Date:  
À: exim users
Sujet: Re: [exim] Specific mode for maildirsize
Maykel Moya wrote:
> El vie, 08-05-2009 a las 15:43 +0800, W B Hacker escribió:
>
>> You need some, all, or something 'similar to' these, specifically the
>> 'mode' and 'directory_mode' ones:
>>
>>    driver = appendfile
>>    maildir_format = true
>>    mode = 0640
>>    directory = <whatever - can be hard-coded, lookup, combination>
>>    create_directory = true
>>    directory_mode = 0640
>>    no_mode_fail_narrower

>>
>> Check the docs to see if they fit your needs, expecially the last one.
>
> It doesn't work. I already had mode = 0640 and directory_mode = 0750.
> The messages files are given thoses modes on delivery but maildirsize
> always get created with 0600.
>
> Regards,
> maykel
>
>
>


A) Sounds like it is using the umask of its calling UID or EUID.

- What or 'whom' is that set to?

- Is there a 'flags' or stored CLI command-tail switch set in a script
somewhere?


B) Are the structures *later* to be owned by the same UID/EUID as
creates them, OR assigned to individual shell-account (or nologin)
'Slocal_part' user, OR owned by the Exim and/or POP/IMAP daemons..

(eg: -one that has sufficient privs to change the mode? or NOT)


Bill