Commit | Line | Data |
---|---|---|
afda344b PH |
1 | # Exim test configuration 0251 |
2 | ||
3 | SERVER = | |
4 | ||
5 | exim_path = EXIM_PATH | |
6 | host_lookup_order = bydns | |
7 | primary_hostname = myhost.test.ex | |
8 | rfc1413_query_timeout = 0s | |
9 | spool_directory = DIR/spool | |
10 | log_file_path = DIR/spool/log/SERVER%slog | |
11 | gecos_pattern = "" | |
12 | gecos_name = CALLER_NAME | |
13 | ||
14 | # ----- Main settings ----- | |
15 | ||
16 | acl_smtp_rcpt = check_recipient | |
17 | ||
18 | domainlist local_domains = test.ex : *.test.ex | |
19 | ||
20 | # ----- ACL ----- | |
21 | ||
22 | begin acl | |
23 | ||
24 | check_recipient: | |
25 | deny message = unrouteable address | |
26 | !verify = recipient | |
27 | accept domains = +local_domains | |
28 | deny message = relay not permitted | |
29 | ||
30 | ||
31 | # ----- Routers ----- | |
32 | ||
33 | begin routers | |
34 | ||
35 | exeter_listr: | |
36 | driver = redirect | |
37 | no_check_local_user | |
38 | domains = listr.test.ex | |
39 | errors_to = ${local_part}-request@test.ex | |
40 | file = DIR/aux-fixed/TESTNUM.list.${local_part} | |
41 | forbid_file | |
42 | forbid_pipe | |
43 | one_time | |
44 | require_files = DIR/aux-fixed/TESTNUM.restrict.${local_part} | |
45 | retry_use_local_part | |
46 | senders = ${if exists{DIR/aux-fixed/TESTNUM.restrict.${local_part}} \ | |
47 | {DIR/aux-fixed/TESTNUM.restrict.${local_part}}{zzzz}} | |
48 | syntax_errors_to = ${local_part}-request@test.ex | |
49 | ||
50 | exeter_listf: | |
51 | driver = accept | |
52 | domains = listr.test.ex | |
53 | no_more | |
54 | retry_use_local_part | |
55 | transport = not_allowed | |
56 | ||
57 | ||
58 | # ----- Transports ----- | |
59 | ||
60 | begin transports | |
61 | ||
62 | not_allowed: | |
63 | driver = autoreply | |
64 | ||
65 | ||
66 | # ----- Retry ----- | |
67 | ||
68 | ||
69 | begin retry | |
70 | ||
71 | * * F,5d,10s | |
72 | ||
73 | ||
74 | # End |