Add new errors mail_4xx, data_4xx, lost_connection, tls_required.
[exim.git] / test / confs / 3411
CommitLineData
afda344b
PH
1# Exim test configuration 3411
2
3exim_path = EXIM_PATH
4host_lookup_order = bydns
5primary_hostname = myhost.test.ex
6rfc1413_query_timeout = 0s
7spool_directory = DIR/spool
8log_file_path = DIR/spool/log/%slog
9gecos_pattern = ""
10gecos_name = CALLER_NAME
11
12# ----- Main settings -----
13
14domainlist local_domains = test.ex
15domainlist relay_domains = ten-1.test.ex
16
17hostlist relay_hosts = 10.255.255.0/24
18
19trusted_users = CALLER
20
21acl_smtp_rcpt = acl_rcpt
22
23# ------ ACLs ------
24
25begin acl
26
27acl_rcpt:
28 accept hosts = :
29
30 accept domains = +local_domains
31 local_parts = postmaster
32
33 require verify = sender
34
35 deny message = rejected because $sender_host_address is in a black list at $dnslist_domain\n$dnslist_text
36 dnslists = rbl.test.ex
37
38 warn message = X-Warning: $sender_host_address is in a black list at $dnslist_domain ($dnslist_value)
39 log_message = found in $dnslist_domain
40 dnslists = rbl2.test.ex
41
42 accept domains = +local_domains
43 endpass
44 verify = recipient
45
46 require verify = recipient
47
48 accept domains = +relay_domains
49
50 accept hosts = 127.0.0.1 : +relay_hosts
51
52 accept authenticated = *
53
54 deny message = relay not permitted
55
56
57# ------ Authenticators ------
58
59begin authenticators
60
61plain:
62 driver = plaintext
63 public_name = PLAIN
64 server_condition = ${if eq {$3}{secret}{yes}{no}}
65
66
67# ------ Routers ------
68
69begin routers
70
71r1:
72 driver = dnslookup
73 domains = ! +local_domains
74 transport = dev_null
75 no_more
76
77r2:
78 driver = accept
79 local_parts = userx : postmaster
80 transport = local_delivery
81 cannot_route_message = unknown user
82
83
84# ------ Transports ------
85
86begin transports
87
88dev_null:
89 driver = appendfile
90 file = /dev/null
91 user = CALLER
92
93local_delivery:
94 driver = appendfile
95 file = DIR/test-mail/$local_part
96 user = CALLER
97
98# End