Doc: clarify the syntax of the "begin <section>"
[exim.git] / test / confs / 0057
CommitLineData
afda344b
PH
1# Exim test configuration 0057
2
3exim_path = EXIM_PATH
4host_lookup_order = bydns
5primary_hostname = myhost.ex
afda344b
PH
6spool_directory = DIR/spool
7log_file_path = DIR/spool/log/%slog
8gecos_pattern = ""
9gecos_name = CALLER_NAME
10
11# ----- Main settings -----
12
13acl_smtp_rcpt = check_recipient
14
15domainlist local_domains = test.ex : myhost.ex : *.test.ex
16domainlist relay_domains = test.ex : !*
17
18percent_hack_domains = ! a.test.ex : !b.test.ex : \
19 !DIR/aux-fixed/TESTNUM.d1 : ! DIR/aux-fixed/TESTNUM.d2 : *.test.ex
20
21
22# ------ ACL ------
23
24begin acl
25
26check_recipient:
27 accept domains = +local_domains
28 accept domains = +relay_domains
29 deny message = relay not permitted
30
31
32# ----- Routers -----
33
34begin routers
35
36fail_remote_domains:
37 driver = redirect
38 domains = ! +local_domains
39 data = :fail: unrouteable mail domain "$domain"
40
41localuser:
42 driver = accept
43 local_parts = userx
44 verify_only
45
46# End