Commit | Line | Data |
---|---|---|
37ff4e03 TL |
1 | # Exim test configuration 0092 |
2 | ||
afda344b PH |
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 | ||
afda344b PH |
10 | exim_path = EXIM_PATH |
11 | host_lookup_order = bydns | |
12 | primary_hostname = myhost.test.ex | |
afda344b PH |
13 | spool_directory = DIR/spool |
14 | log_file_path = DIR/spool/log/%slog | |
15 | gecos_pattern = "" | |
16 | gecos_name = CALLER_NAME | |
bfe645c1 | 17 | tls_advertise_hosts = |
afda344b PH |
18 | |
19 | # ----- Main settings ----- | |
20 | ||
a466d09b JH |
21 | OPT = 2s |
22 | smtp_receive_timeout = OPT | |
afda344b PH |
23 | receive_timeout = 2s |
24 | ||
25 | ||
26 | begin acl | |
27 | ||
28 | check_recipient: | |
29 | accept hosts = : | |
30 | deny message = unrouteable address | |
31 | recipients = verify@test.ex | |
32 | !verify = recipient | |
33 | accept domains = +local_domains | |
34 | accept domains = +relay_domains | |
35 | deny message = relay not permitted | |
36 | ||
37 | check_message: | |
38 | accept | |
39 | ||
40 | ||
41 | # ----- Rewrite ----- | |
42 | ||
43 | # End | |
44 | ||
45 | ||
46 | ||
47 | ||
48 | # ----- Routers ----- | |
49 | ||
50 | begin routers | |
51 | ||
52 | fail_remote_domains: | |
53 | driver = redirect | |
54 | domains = ! +local_domains | |
55 | data = :fail: unrouteable mail domain "$domain" | |
56 | ||
57 | # ----- Directors ----- | |
58 | ||
59 | forward: | |
60 | driver = redirect | |
61 | file = DIR/aux-fixed/non-exist | |
62 | retry_use_local_part | |
63 | ||
64 | # End |