7a0b0fc42ad4e7f2a7f1152589001ff20dda96b8
[exim.git] / test / confs / 0376
1 # Exim test configuration 0376
2
3 PEX=10s
4
5 exim_path = EXIM_PATH
6 host_lookup_order = bydns
7 primary_hostname = myhost.test.ex
8 spool_directory = DIR/spool
9 log_file_path = DIR/spool/log/%slog
10 gecos_pattern = ""
11 gecos_name = CALLER_NAME
12
13 # ----- Main settings -----
14
15 domainlist local_domains = test.ex
16
17 acl_smtp_rcpt = check_recipient
18 acl_smtp_data = check_data
19 callout_positive_expire = 1s
20 callout_domain_positive_expire = PEX
21
22
23 # ----- ACL -----
24
25 begin acl
26
27 check_recipient:
28   deny    hosts   = V4NET.0.0.1
29           log_message = ($sender_verify_failure)
30          !verify  = sender/callout
31   deny    hosts   = V4NET.0.0.2
32          !verify  = sender/callout=postmaster
33   deny    hosts   = V4NET.0.0.3
34          !verify  = sender/callout=random
35   deny    hosts   = V4NET.0.0.4
36          !verify  = sender/callout=random,postmaster
37   deny    hosts   = V4NET.0.0.5
38          !verify  = sender/callout=1s,random
39   deny   hosts    = V4NET.0.0.6
40          !verify  = sender/callout=postmaster_mailfrom=pmsend@a.domain
41   deny    hosts   = V4NET.0.0.9
42          !verify  = sender/callout=fullpostmaster
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
74
75 # ----- Retry -----
76
77 begin retry
78
79 * * F,5d,10s
80
81
82 # End