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