mwolson: Make progress on email delivery
[hcoop/zz_old/config/exim4-hopper.git] / conf.d / transport / 30_exim4-config_maildir_home
CommitLineData
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#
8f42d430 8# hcoop-change: Deliver to MAILDIR_HOME_MAILDIR_LOCATION/$local_part
725c9874 9maildir_home:
10 debug_print = "T: maildir_home for $local_part@$domain"
11 driver = appendfile
12 .ifdef MAILDIR_HOME_MAILDIR_LOCATION
8f42d430 13 directory = MAILDIR_HOME_MAILDIR_LOCATION/$local_part
725c9874 14 .else
15 directory = $home/Maildir
16 .endif
17 .ifdef MAILDIR_HOME_CREATE_DIRECTORY
18 create_directory
19 .endif
20 .ifdef MAILDIR_HOME_CREATE_FILE
21 create_file = MAILDIR_HOME_CREATE_FILE
22 .endif
23 delivery_date_add
24 envelope_to_add
25 return_path_add
26 maildir_format
27 .ifdef MAILDIR_HOME_DIRECTORY_MODE
28 directory_mode = MAILDIR_HOME_DIRECTORY_MODE
29 .else
30 directory_mode = 0700
31 .endif
32 .ifdef MAILDIR_HOME_MODE
33 mode = MAILDIR_HOME_MODE
34 .else
35 mode = 0600
36 .endif
37 mode_fail_narrower = false
d2b0a567 38 # This transport always chdirs to $home before trying to deliver. If
39 # $home is not accessible, this chdir fails and prevents delivery.
40 # If you are in a setup where home directories might not be
41 # accessible, uncomment the current_directory line below.
8f42d430 42 #
43 # hcoop-change: uncommented this
44 current_directory = /