Fix CVE-2016-1531
[exim.git] / test / confs / 0092
1 # Exim test configuration 0092
2
3 acl_smtp_rcpt = check_recipient
4 acl_smtp_data = check_message
5
6 domainlist local_domains = test.ex : *.test.ex
7
8 domainlist relay_domains = test.ex
9
10 exim_path = EXIM_PATH
11 keep_environment =
12 host_lookup_order = bydns
13 primary_hostname = myhost.test.ex
14 spool_directory = DIR/spool
15 log_file_path = DIR/spool/log/%slog
16 gecos_pattern = ""
17 gecos_name = CALLER_NAME
18 tls_advertise_hosts =
19
20 # ----- Main settings -----
21
22 OPT = 2s
23 smtp_receive_timeout = OPT
24 receive_timeout = 2s
25
26
27 begin acl
28
29 check_recipient:
30   accept  hosts = :
31   deny    message = unrouteable address
32           recipients = verify@test.ex
33          !verify = recipient
34   accept  domains = +local_domains
35   accept  domains = +relay_domains
36   deny    message = relay not permitted
37
38 check_message:
39   accept
40
41
42 # ----- Rewrite -----
43
44 # End
45
46
47
48
49 # ----- Routers -----
50
51 begin routers
52
53 fail_remote_domains:
54   driver = redirect
55   domains = ! +local_domains
56   data = :fail: unrouteable mail domain "$domain"
57
58 # ----- Directors -----
59
60 forward:
61   driver = redirect
62   file = DIR/aux-fixed/non-exist
63   retry_use_local_part
64
65 # End