Fix dkim_verify_signers option. Bug 2366
[exim.git] / test / confs / 3500
CommitLineData
afda344b
PH
1# Exim test configuration 3500
2
d4dc049f
JH
3.include DIR/aux-var/std_conf_prefix
4
afda344b 5primary_hostname = myhost.test.ex
afda344b
PH
6
7# ----- Main settings -----
8
9domainlist local_domains = test.ex : *.test.ex
10
16ff981e 11hostlist auth_hosts = 10.0.0.1 : 10.0.0.5
afda344b
PH
12hostlist relay_hosts = 10.0.0.4
13hostlist auth_relay_hosts = 10.0.0.3 : 10.0.0.4
14
15acl_smtp_etrn = check_etrn
16acl_smtp_expn = check_expn
17acl_smtp_rcpt = check_recipient
18acl_smtp_vrfy = check_vrfy
19auth_advertise_hosts = +auth_hosts : !+relay_hosts : +auth_relay_hosts : \
20 10.0.0.5
21smtp_accept_max_nonmail = 20
22system_filter = DIR/aux-fixed/TESTNUM.filter
23trusted_users = CALLER
24
25
26# ----- ACL -----
27
28begin acl
29
30check_recipient:
31 warn hosts = 10.0.0.5
32 message = authentication-failed: $authentication_failed
33 accept hosts = 10.0.0.5
34 accept hosts = :
35 deny hosts = +auth_hosts
36 message = authentication required
37 !authenticated = *
38 accept domains = +local_domains
39 accept hosts = +relay_hosts
40 accept hosts = +auth_relay_hosts
41 endpass
42 message = authentication required
43 authenticated = *
44 deny message = relay not permitted
45
46check_etrn:
47 deny hosts = +auth_hosts
48 message = authentication required
49 !authenticated = *
50 require hosts = 10.0.0.0/24
51 warn log_message = accepted ETRN $smtp_command_argument
52 accept
53
54check_expn:
55 deny hosts = +auth_hosts
56 message = authentication required
57 !authenticated = *
58 accept hosts = 10.0.0.0/24
59
60check_vrfy:
61 deny hosts = +auth_hosts
62 message = authentication required
63 !authenticated = *
64 accept
65
66
67# ----- Authentication -----
68
69begin authenticators
70
71cram_md5:
72 driver = cram_md5
73 public_name = CRAM-MD5
f78eb7c6
PH
74 server_debug_print = +++CRAM-MD5 \$auth1="$auth1" \$auth2=\"$auth2" \$auth3="$auth3"
75 server_secret = "${if eq{$auth1}{tim}{tanstaaftanstaaf}\
76 {${if eq{$auth1}{userx}{secret}fail}}}"
77 server_set_id = $auth1
16ff981e 78 server_condition = ${if !eq {$sender_host_address}{10.0.0.5}}
afda344b
PH
79
80
81
82# ----- Routers -----
83
84begin routers
85
86fail_remote_domains:
87 driver = redirect
88 domains = ! +local_domains
89 data = :fail: unrouteable mail domain "$domain"
90
91localuser:
92 driver = accept
93 local_parts = userx
94 transport = appendfile
95
96
97# ----- Transports -----
98
99begin transports
100
101appendfile:
102 driver = appendfile
103 delivery_date_add
104 envelope_to_add
105 file = DIR/test-mail/$local_part
106 return_path_add
107 user = CALLER
108
109
110# End