testsuite: abstract out common conf settings
[exim.git] / test / confs / 3408
CommitLineData
afda344b
PH
1# Exim test configuration 3408
2
d4dc049f
JH
3.include DIR/aux-var/std_conf_prefix
4
afda344b
PH
5
6# ----- Main settings -----
7
8qualify_domain = exim.test.ex
9acl_smtp_rcpt = check_recipient
10domainlist local_domains = exim.test.ex
11
12
13# ----- ACL -----
14
15begin acl
16
17check_recipient:
18 accept hosts = :
19 accept recipients = postmaster@exim.test.ex
20 deny message = host is listed in $dnslist_domain
21 !authenticated = *
22 dnslists = rbl.test.ex
23 require verify = sender
24 deny message = unrouteable address
25 !verify = recipient
26 accept domains = +local_domains
27 deny message = relay not permitted
28
29
30# ----- Authentication -----
31
32begin authenticators
33
34plain:
35 driver = plaintext
36 public_name = PLAIN
37 server_condition = "\
38 ${if and {{eq{$2}{userx}}{eq{$3}{secret}}}{yes}{no}}"
39 server_set_id = $2
40
41
42# ----- Routers -----
43
44begin routers
45
46system_aliases:
47 driver = redirect
48 allow_defer
49 data = ${lookup{$local_part}lsearch{DIR/aux-var/TESTNUM.aliases}}
50 retry_use_local_part
51
52localuser:
53 driver = accept
54 check_local_user
55 transport = local_delivery
56
57list:
58 driver = accept
59 local_parts = userx
60 transport = local_delivery
61
62
63# ----- Transports -----
64
65begin transports
66
67local_delivery:
68 driver = appendfile
69 delivery_date_add
70 envelope_to_add
71 file = DIR/test-mail/$local_part
72 return_path_add
73
74# End