Taint: fix hybrid-mode transition
[users/heiko/exim.git] / test / confs / 0376
1 # Exim test configuration 0376
2
3 PEX=10s
4
5 .include DIR/aux-var/std_conf_prefix
6
7 primary_hostname = myhost.test.ex
8
9 # ----- Main settings -----
10
11 domainlist local_domains = test.ex
12
13 acl_smtp_rcpt = check_recipient
14 acl_smtp_data = check_data
15 callout_positive_expire = 1s
16 callout_domain_positive_expire = PEX
17
18
19 # ----- ACL -----
20
21 begin acl
22
23 check_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
39   warn   !hosts   = V4NET.0.0.10
40           condition = ${if def:sender_verify_failure}
41           logwrite = ($sender_verify_failure)
42
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
48 check_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
57 begin routers
58
59 all:
60   driver = manualroute
61   route_list = * 127.0.0.1
62   self = send
63   transport = smtp
64
65
66 # ----- Transports -----
67
68 begin transports
69
70 smtp:
71   driver = smtp
72   port = PORT_S
73   hosts_try_fastopen =  :
74
75
76 # ----- Retry -----
77
78 begin retry
79
80 * * F,5d,10s
81
82
83 # End