Re: [exim] Maildir, mysql database, and creating home dirs

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Bertrand CHERRIER
Date:  
À: exim-users
Sujet: Re: [exim] Maildir, mysql database, and creating home dirs
Hi,

this is how I do it:

local_delivery:
driver = appendfile
file = /var/mail/$local_part
delivery_date_add
envelope_to_add
return_path_add
group = mail
user = $local_part
mode = 0660
no_mode_fail_narrower
maildir_format = true
create_directory = true

hope it helps ...


Derrick MacPherson a écrit :

> Our exim config does not contain the create_directory for the
> appendfile driver yet I'm seeing in the debug out:
>
> ensuring maildir directories exist in /home/dlm/Maildir/
> created directory /home/dlm/Maildir/
> created directory /home/dlm/Maildir//tmp
> created directory /home/dlm/Maildir//new
> created directory /home/dlm/Maildir//cur
>
>
> 2 questions, how is this being created? It's being created with 700
> perms on the home dir, so the first mail gets delivered, but any mail
> after fails. I will try when the servers not so busy the
> directory_mode, I assume that will fix it, ya? If needed I'll post the
> config to people off list.
>


--
Bertrand CHERRIER
b.cherrier@???

MICRO LOGIC SYSTEMS
http://www.mls.nc
Vente & maintenance réseaux Informatique
Fournisseur de Sensations Internet
Service clientèle au 36.67.76 (58Frs/mn)

begin:vcard
fn:Bertrand CHERRIER
n:;Bertrand CHERRIER
org:Micro Logic Systems
adr;quoted-printable;quoted-printable:;;28, rue Felix Broche;Noum=C3=A9a;;98800;Nouvelle Cal=C3=A9donie
email;internet:b.cherrier@???
tel;work:249924
tel;fax:240990
note:Fournisseur de Sensations Internet
url:http://www.mls.nc
version:2.1
end:vcard