Routers: make retry_use_local_part default true when any non-domain condition is...
[exim.git] / test / confs / 0092
CommitLineData
37ff4e03
TL
1# Exim test configuration 0092
2
afda344b
PH
3acl_smtp_rcpt = check_recipient
4acl_smtp_data = check_message
5
6domainlist local_domains = test.ex : *.test.ex
7
8domainlist relay_domains = test.ex
9
d4dc049f
JH
10.include DIR/aux-var/std_conf_prefix
11
afda344b 12primary_hostname = myhost.test.ex
afda344b
PH
13
14# ----- Main settings -----
15
1ad6489e
JH
16OPT = 2s
17smtp_receive_timeout = OPT
afda344b
PH
18receive_timeout = 2s
19
20
21begin acl
22
23check_recipient:
24 accept hosts = :
25 deny message = unrouteable address
26 recipients = verify@test.ex
27 !verify = recipient
28 accept domains = +local_domains
29 accept domains = +relay_domains
30 deny message = relay not permitted
31
32check_message:
33 accept
34
35
36# ----- Rewrite -----
37
38# End
39
40
41
42
43# ----- Routers -----
44
45begin routers
46
47fail_remote_domains:
48 driver = redirect
49 domains = ! +local_domains
50 data = :fail: unrouteable mail domain "$domain"
51
52# ----- Directors -----
53
54forward:
55 driver = redirect
56 file = DIR/aux-fixed/non-exist
57 retry_use_local_part
58
59# End