Docs: add warning note on ${listnamed:} operator
[users/heiko/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}{${bless:$h_mailbox:}}}
39   user = CALLER
40
41 lmtp:
42   driver = lmtp
43   batch_max = 100
44   command = DIR/bin/mtpscript DIR/aux-fixed/TESTNUM.script +DIR/spool/log/mainlog
45   shadow_transport = local_delivery
46   shadow_condition = ${if eq {$home}{/usr}{yes}{no}}
47   timeout = 1s
48   transport_filter = DIR/aux-fixed/TESTNUM.filter
49   user = EXIMUSER
50
51
52 # ----- Retry -----
53
54
55 begin retry
56
57 * * F,5d,1d
58
59
60 # End