Add cmdline option to append a log message. Bug 418
[users/heiko/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
11 # ----- Main settings -----
12
13 domainlist local_domains = test.ex : *.test.ex
14
15
16 # ----- Routers -----
17
18 begin routers
19
20 bounces:
21   driver = accept
22   retry_use_local_part
23   senders = :
24   transport = local_delivery
25
26 smartuser:
27   driver = accept
28   retry_use_local_part
29   transport = lmtp
30   router_home_directory = /usr
31
32
33 # ----- Transports -----
34
35 begin transports
36
37 local_delivery:
38   driver = appendfile
39   envelope_to_add
40   headers_add = X-Recipient: local_part=$local_part domain=$domain\n\
41                 X-Home: $home
42   file = DIR/test-mail/${if eq{$sender_address}{}{copied}{$h_mailbox:}}
43   user = CALLER
44
45 lmtp:
46   driver = lmtp
47   batch_max = 100
48   command = DIR/bin/mtpscript DIR/aux-fixed/TESTNUM.script +DIR/spool/log/mainlog
49   shadow_transport = local_delivery
50   shadow_condition = ${if eq {$home}{/usr}{yes}{no}}
51   timeout = 1s
52   transport_filter = DIR/aux-fixed/TESTNUM.filter
53   user = EXIMUSER
54
55
56 # ----- Retry -----
57
58
59 begin retry
60
61 * * F,5d,1d
62
63
64 # End