Merge branch 'master'
[exim.git] / test / confs / 0376
CommitLineData
afda344b
PH
1# Exim test configuration 0376
2
3PEX=10s
4
5exim_path = EXIM_PATH
bc3c7bb7 6keep_environment =
afda344b
PH
7host_lookup_order = bydns
8primary_hostname = myhost.test.ex
afda344b
PH
9spool_directory = DIR/spool
10log_file_path = DIR/spool/log/%slog
11gecos_pattern = ""
12gecos_name = CALLER_NAME
23f3dc67 13tls_advertise_hosts =
afda344b
PH
14
15# ----- Main settings -----
16
17domainlist local_domains = test.ex
18
19acl_smtp_rcpt = check_recipient
20acl_smtp_data = check_data
21callout_positive_expire = 1s
22callout_domain_positive_expire = PEX
23
24
25# ----- ACL -----
26
27begin acl
28
29check_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
50check_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
59begin routers
60
61all:
62 driver = manualroute
63 route_list = * 127.0.0.1
64 self = send
65 transport = smtp
66
67
68# ----- Transports -----
69
70begin transports
71
72smtp:
73 driver = smtp
74 port = PORT_S
75
76
77# ----- Retry -----
78
79begin retry
80
81* * F,5d,10s
82
83
84# End