Merge branch 'master' into transp_logging_1031
[users/jgh/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 rfc1413_query_timeout = 0s
9 spool_directory = DIR/spool
10 log_file_path = DIR/spool/log/%slog
11 gecos_pattern = ""
12 gecos_name = CALLER_NAME
13
14 # ----- Main settings -----
15
16 domainlist local_domains = test.ex
17
18 acl_smtp_rcpt = check_recipient
19 acl_smtp_data = check_data
20 callout_positive_expire = 1s
21 callout_domain_positive_expire = PEX
22
23
24 # ----- ACL -----
25
26 begin acl
27
28 check_recipient:
29   deny    hosts   = V4NET.0.0.1
30           log_message = ($sender_verify_failure)
31          !verify  = sender/callout
32   deny    hosts   = V4NET.0.0.2
33          !verify  = sender/callout=postmaster
34   deny    hosts   = V4NET.0.0.3
35          !verify  = sender/callout=random
36   deny    hosts   = V4NET.0.0.4
37          !verify  = sender/callout=random,postmaster
38   deny    hosts   = V4NET.0.0.5
39          !verify  = sender/callout=1s,random
40   deny   hosts    = V4NET.0.0.6
41          !verify  = sender/callout=postmaster_mailfrom=pmsend@a.domain
42   deny    hosts   = V4NET.0.0.9
43          !verify  = sender/callout=fullpostmaster
44   deny    hosts   = V4NET.0.0.10
45          !verify  = recipient/callout=postmaster_mailfrom=pmsend@b.domain,\
46                       use_postmaster,random/defer_ok
47   accept
48
49 check_data:
50   deny   hosts    = V4NET.0.0.7
51          !verify  = header_sender/callout=mailfrom=somesender@a.domain
52   deny   hosts    = V4NET.0.0.8
53          !verify  = header_sender/callout=1s,defer_ok
54   accept
55
56 # ----- Routers -----
57
58 begin routers
59
60 all:
61   driver = manualroute
62   route_list = * 127.0.0.1
63   self = send
64   transport = smtp
65
66
67 # ----- Transports -----
68
69 begin transports
70
71 smtp:
72   driver = smtp
73   port = PORT_S
74
75
76 # ----- Retry -----
77
78 begin retry
79
80 * * F,5d,10s
81
82
83 # End