Testsuite: bounce_message_file and warn_message_file
[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 16OPT = 2s
4bcc0ff5
JH
17
18.ifndef COM
1ad6489e 19smtp_receive_timeout = OPT
afda344b 20receive_timeout = 2s
4bcc0ff5 21.endif
afda344b
PH
22
23
24begin acl
25
26check_recipient:
27 accept hosts = :
28 deny message = unrouteable address
29 recipients = verify@test.ex
30 !verify = recipient
31 accept domains = +local_domains
32 accept domains = +relay_domains
33 deny message = relay not permitted
34
35check_message:
36 accept
37
38
39# ----- Rewrite -----
40
41# End
42
43
44
45
46# ----- Routers -----
47
48begin routers
49
50fail_remote_domains:
51 driver = redirect
52 domains = ! +local_domains
53 data = :fail: unrouteable mail domain "$domain"
54
55# ----- Directors -----
56
57forward:
58 driver = redirect
59 file = DIR/aux-fixed/non-exist
60 retry_use_local_part
61
62# End