Testsuite: build a generic tls enabled client: client-anytls
[exim.git] / test / confs / 0376
CommitLineData
afda344b
PH
1# Exim test configuration 0376
2
3PEX=10s
4
d4dc049f
JH
5.include DIR/aux-var/std_conf_prefix
6
afda344b 7primary_hostname = myhost.test.ex
afda344b
PH
8
9# ----- Main settings -----
10
11domainlist local_domains = test.ex
12
13acl_smtp_rcpt = check_recipient
14acl_smtp_data = check_data
15callout_positive_expire = 1s
16callout_domain_positive_expire = PEX
17
18
19# ----- ACL -----
20
21begin acl
22
23check_recipient:
24 deny hosts = V4NET.0.0.1
25 log_message = ($sender_verify_failure)
26 !verify = sender/callout
27 deny hosts = V4NET.0.0.2
28 !verify = sender/callout=postmaster
29 deny hosts = V4NET.0.0.3
30 !verify = sender/callout=random
31 deny hosts = V4NET.0.0.4
32 !verify = sender/callout=random,postmaster
33 deny hosts = V4NET.0.0.5
34 !verify = sender/callout=1s,random
35 deny hosts = V4NET.0.0.6
36 !verify = sender/callout=postmaster_mailfrom=pmsend@a.domain
37 deny hosts = V4NET.0.0.9
38 !verify = sender/callout=fullpostmaster
2ddb4094
JH
39 warn !hosts = V4NET.0.0.10
40 condition = ${if def:sender_verify_failure}
41 logwrite = ($sender_verify_failure)
42
afda344b
PH
43 deny hosts = V4NET.0.0.10
44 !verify = recipient/callout=postmaster_mailfrom=pmsend@b.domain,\
45 use_postmaster,random/defer_ok
46 accept
47
48check_data:
49 deny hosts = V4NET.0.0.7
50 !verify = header_sender/callout=mailfrom=somesender@a.domain
51 deny hosts = V4NET.0.0.8
52 !verify = header_sender/callout=1s,defer_ok
53 accept
54
55# ----- Routers -----
56
57begin routers
58
59all:
60 driver = manualroute
61 route_list = * 127.0.0.1
62 self = send
63 transport = smtp
64
65
66# ----- Transports -----
67
68begin transports
69
70smtp:
71 driver = smtp
72 port = PORT_S
277b9979 73 hosts_try_fastopen = :
afda344b
PH
74
75
76# ----- Retry -----
77
78begin retry
79
80* * F,5d,10s
81
82
83# End