Exim Permissions?

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 ...


Go Back   Usenet Forums > Mail Servers and Related > alt.comp.mail.exim

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-11-2006
Michael Jeung
 
Posts: n/a
Default Exim Permissions?

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

Reply With Quote
  #2 (permalink)  
Old 04-11-2006
Michael Jeung
 
Posts: n/a
Default Re: Exim Permissions?

Nevermind, I figured it out:

directory_mode (appendfile)

Type: octal integer
Default: 0700

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

Regards,
Michael Jeung

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 01:42 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0