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