Fix CVE-2016-1531
[exim.git] / test / confs / 0544
1 # Exim test configuration 0544
2
3 exim_path = EXIM_PATH
4 keep_environment =
5 host_lookup_order = bydns
6 spool_directory = DIR/spool
7 log_file_path = DIR/spool/log/%slog
8 gecos_pattern = ""
9 gecos_name = CALLER_NAME
10 tls_advertise_hosts =
11
12 # ----- Main settings -----
13
14 domainlist dlist = $domain
15
16 acl_smtp_helo = check_helo
17 acl_smtp_mail = check_mail
18 acl_smtp_rcpt = check_rcpt
19 queue_smtp_domains = $domain
20 qualify_domain = test.ex
21
22
23 # ----- ACLs -----
24
25 begin acl
26
27 check_helo:
28   warn
29   condition = ${if match_domain {$sender_helo_name}{+dlist}}
30   accept
31
32
33 check_mail:
34   warn  hosts = domain=$domain/sender_domain=$sender_address_domain
35   accept
36
37 check_rcpt:
38   warn  domains = domain=$domain/sender_domain=$sender_address_domain
39   warn  sender_domains = domain=$domain/sender_domain=$sender_address_domain
40   accept
41
42
43 # ----- Routers -----
44
45 begin routers
46
47 smarthost:
48   driver = accept
49   transport = smtp
50
51
52 # ----- Transports -----
53
54 begin transports
55
56 smtp:
57   driver = smtp
58   hosts = 127.0.0.1
59   allow_localhost
60   port = PORT_S
61
62
63 # ----- Retry -----
64
65
66 begin retry
67
68 * * F,5d,15m
69
70
71 # End