Re: [Exim] mode 660 / maildir / parent directory set as 700

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Kirill Miazine
Ημερομηνία:  
Προς: Brendon Caligari
Υ/ο: exim-users
Αντικείμενο: Re: [Exim] mode 660 / maildir / parent directory set as 700
* Brendon Caligari <bcaligari@???> [20020322 09:51]:
> I have the following tranport as i intend to host imap for a number of
> domains on this server
>
> whenever a valid user receives an email, the maildir directory is created
> and the messages with mode 660
>
> however, any parent directories created int the proces of delivering a mail
> are created as user=exim and group=mail but in mode 700.
>
> My next quest is to compile cyrus-imap (maybe as user=cyrus, group=mail),


Maybe you mean Courier? Cyrus doesn't use Maildirs.

> but that would require group 'rwx' rights on the parent directories. Any


Why group rwx? Run transport as user cyrus and group mail and 700
permissions will be enough.

You can of course set directory_mode to 770.

From docs:

    If appendfile creates any directories as a result of the
    "create_directory" option, their mode is specified by this option.


> suggestions?
>
> # ----- intranet-mail transports -----
> intranet_local:
> driver = appendfile
> directory = /var/spool/virtmail/$domain/$local_part/maildir
> delivery_date_add
> envelope_to_add
> return_path_add
> maildir_format
> group = mail
> user = exim
> mode = 660
> prefix =
> suffix =
> check_string =


--
Kirill