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