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