This is a discussion on Exim Permissions? within the alt.comp.mail.exim forums, part of the Mail Servers and Related category; Hey Folks, I hoping this is a pretty simple question: I'm running Exim+Courier-IMAP. Whenever Exim delivers a ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hey Folks,
I hoping this is a pretty simple question: I'm running Exim+Courier-IMAP. Whenever Exim delivers a mail to a domain that it hasn't seen before, it creates the appropriate maildir. (ie, domain/user.) However, the permissions on the maildir that it's creating are too restrictive: mailserv# pwd /home/maildir/mjeungtestdomain.com mailserv# ls -alht total 288 drwx------ 5 mailnull mail 1K Apr 10 16:26 mjeung drwx------ 3 mailnull mail 80B Apr 10 16:26 . drwxr-xr-x 4586 mailnull mail 266K Apr 10 16:26 .. As you can see, the directory is being created with permissions of 700. I want to create the directory and all files below it so they are group-readable... My delivery router looks like this: cis_local_delivery: driver = appendfile maildir_format=true maildir_tag= :S=$message_size quota_size_regex=S=(\d+)$ directory = /home/maildir/$domain/$local_part/ delivery_date_add envelope_to_add return_path_add group = mail mode = 0660 However, it doesn't seem to be respecting the mode=0660 directive. The folder is being created with permissions of 700, which is too restrictive. How do I make exim create directories with 755 permission? Thanks! Michael Jeung |