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 | 10 | exim_path = EXIM_PATH |
bc3c7bb7 | 11 | keep_environment = |
afda344b PH |
12 | host_lookup_order = bydns |
13 | primary_hostname = myhost.test.ex | |
afda344b PH |
14 | spool_directory = DIR/spool |
15 | log_file_path = DIR/spool/log/%slog | |
16 | gecos_pattern = "" | |
17 | gecos_name = CALLER_NAME | |
23f3dc67 | 18 | tls_advertise_hosts = |
afda344b PH |
19 | |
20 | # ----- Main settings ----- | |
21 | ||
1ad6489e JH |
22 | OPT = 2s |
23 | smtp_receive_timeout = OPT | |
afda344b PH |
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 |