725c9874 |
1 | |
2 | ### transport/30_exim4-config_maildir_home |
3 | ################################# |
4 | |
5 | # Use this instead of mail_spool if you want to to deliver to Maildir in |
6 | # home-directory - change the definition of LOCAL_DELIVERY |
7 | # |
8 | maildir_home: |
9 | debug_print = "T: maildir_home for $local_part@$domain" |
10 | driver = appendfile |
11 | .ifdef MAILDIR_HOME_MAILDIR_LOCATION |
d38e06ff |
12 | directory = MAILDIR_HOME_MAILDIR_LOCATION |
725c9874 |
13 | .else |
14 | directory = $home/Maildir |
15 | .endif |
16 | .ifdef MAILDIR_HOME_CREATE_DIRECTORY |
17 | create_directory |
18 | .endif |
19 | .ifdef MAILDIR_HOME_CREATE_FILE |
20 | create_file = MAILDIR_HOME_CREATE_FILE |
21 | .endif |
22 | delivery_date_add |
23 | envelope_to_add |
24 | return_path_add |
25 | maildir_format |
26 | .ifdef MAILDIR_HOME_DIRECTORY_MODE |
27 | directory_mode = MAILDIR_HOME_DIRECTORY_MODE |
28 | .else |
29 | directory_mode = 0700 |
30 | .endif |
31 | .ifdef MAILDIR_HOME_MODE |
32 | mode = MAILDIR_HOME_MODE |
33 | .else |
34 | mode = 0600 |
35 | .endif |
36 | mode_fail_narrower = false |
d2b0a567 |
37 | # This transport always chdirs to $home before trying to deliver. If |
38 | # $home is not accessible, this chdir fails and prevents delivery. |
39 | # If you are in a setup where home directories might not be |
40 | # accessible, uncomment the current_directory line below. |
d38e06ff |
41 | # current_directory = / |