tidying
[exim.git] / test / confs / 5101
1 # Exim test configuration 5101
2
3 .include DIR/aux-var/std_conf_prefix
4
5 primary_hostname = myhost.test.ex
6
7 # ----- Main settings -----
8
9 domainlist local_domains = test.ex : *.test.ex
10
11
12 # ----- Routers -----
13
14 begin routers
15
16 bounces:
17   driver = accept
18   retry_use_local_part
19   senders = :
20   transport = local_delivery
21
22 smartuser:
23   driver = accept
24   retry_use_local_part
25   transport = lmtp
26   router_home_directory = /usr
27
28
29 # ----- Transports -----
30
31 begin transports
32
33 local_delivery:
34   driver = appendfile
35   envelope_to_add
36   headers_add = X-Recipient: local_part=$local_part domain=$domain\n\
37                 X-Home: $home
38   file = DIR/test-mail/${if eq{$sender_address}{}{copied}{$h_mailbox:}}
39   create_file = DIR/test-mail
40   user = CALLER
41
42 lmtp:
43   driver = lmtp
44   batch_max = 100
45   command = DIR/bin/mtpscript DIR/aux-fixed/TESTNUM.script +DIR/spool/log/mainlog
46   shadow_transport = local_delivery
47   shadow_condition = ${if eq {$home}{/usr}{yes}{no}}
48   timeout = 1s
49   transport_filter = DIR/aux-fixed/TESTNUM.filter
50   user = EXIMUSER
51
52
53 # ----- Retry -----
54
55
56 begin retry
57
58 * * F,5d,1d
59
60
61 # End