DANE: move to mainline
[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   deny    hosts   = V4NET.0.0.10
40          !verify  = recipient/callout=postmaster_mailfrom=pmsend@b.domain,\
41                       use_postmaster,random/defer_ok
42   accept
43
44 check_data:
45   deny   hosts    = V4NET.0.0.7
46          !verify  = header_sender/callout=mailfrom=somesender@a.domain
47   deny   hosts    = V4NET.0.0.8
48          !verify  = header_sender/callout=1s,defer_ok
49   accept
50
51 # ----- Routers -----
52
53 begin routers
54
55 all:
56   driver = manualroute
57   route_list = * 127.0.0.1
58   self = send
59   transport = smtp
60
61
62 # ----- Transports -----
63
64 begin transports
65
66 smtp:
67   driver = smtp
68   port = PORT_S
69
70
71 # ----- Retry -----
72
73 begin retry
74
75 * * F,5d,10s
76
77
78 # End