Doc: clarify the syntax of the "begin <section>"
[exim.git] / test / confs / 5204
CommitLineData
afda344b
PH
1# Exim test configuration 5204
2
59e82a2a
PH
3COMMAND_USER=EXIMUSER
4
afda344b
PH
5exim_path = EXIM_PATH
6host_lookup_order = bydns
7primary_hostname = myhost.test.ex
afda344b
PH
8spool_directory = DIR/spool
9log_file_path = DIR/spool/log/%slog
10gecos_pattern = ""
11gecos_name = CALLER_NAME
12
13# ----- Main settings -----
14
59e82a2a 15acl_smtp_rcpt = accept verify = recipient
afda344b
PH
16domainlist local_domains = test.ex
17
18# ----- Routers -----
19
20begin routers
21
22b:
23 driver = accept
24 senders = :
25 transport = local_delivery
26
27q:
28 driver = queryprogram
29 caseful_local_part
30 command = /bin/echo \
31 "${if match{$local_part}{^\"([^\"]*)\"(.*)\\$}{$1$2}{$local_part}}"
59e82a2a 32 command_user = COMMAND_USER
afda344b
PH
33 domains = ! +local_domains
34 no_more
35 transport = smtp
36
37s:
38 driver = manualroute
39 domains = ! +local_domains
40 route_list = * 127.0.0.1 byname
41 self = send
42 transport = smtp
43 no_more
44
45pm:
46 driver = accept
47 local_parts = postmaster
48 retry_use_local_part
49 transport = null
50
51
52# ----- Transports -----
53
54begin transports
55
56smtp:
57 driver = smtp
58
59other_smtp:
60 driver = smtp
61
62null:
63 driver = appendfile
64 file = /dev/null
65 user = CALLER
66
67local_delivery:
68 driver = appendfile
69 file = DIR/test-mail/$local_part
70 user = CALLER
71
72
73# ----- Retry -----
74
75begin retry
76
77* * F,2h,15m
78
79
80# End