Testsuite: fix 0903
[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 .include DIR/aux-var/std_conf_prefix
11
12 primary_hostname = myhost.test.ex
13
14 # ----- Main settings -----
15
16 OPT = 2s
17 smtp_receive_timeout = OPT
18 receive_timeout = 2s
19
20
21 begin acl
22
23 check_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
32 check_message:
33 accept
34
35
36 # ----- Rewrite -----
37
38 # End
39
40
41
42
43 # ----- Routers -----
44
45 begin routers
46
47 fail_remote_domains:
48 driver = redirect
49 domains = ! +local_domains
50 data = :fail: unrouteable mail domain "$domain"
51
52 # ----- Directors -----
53
54 forward:
55 driver = redirect
56 file = DIR/aux-fixed/non-exist
57 retry_use_local_part
58
59 # End