Commit | Line | Data |
---|---|---|
afda344b PH |
1 | # Exim test configuration 4950 |
2 | ||
3 | exim_path = EXIM_PATH | |
4 | host_lookup_order = bydns | |
afda344b PH |
5 | spool_directory = DIR/spool |
6 | log_file_path = DIR/spool/log/%slog | |
7 | gecos_pattern = "" | |
8 | gecos_name = CALLER_NAME | |
9 | ||
10 | # ----- Main settings ----- | |
11 | ||
12 | acl_smtp_rcpt = check_recipient | |
13 | acl_smtp_data = check_message | |
14 | ||
15 | domainlist local_domains = test.ex | |
16 | qualify_domain = test.ex | |
17 | ||
18 | ||
19 | # ----- Routers ----- | |
20 | ||
21 | begin routers | |
22 | ||
23 | lookuphost: | |
24 | driver = dnslookup | |
25 | domains = ! +local_domains | |
26 | translate_ip_address = "\ | |
27 | ${if eq {${mask:$host_address/24}}{V4NET.11.12.0/24}{1.2.3.4}\ | |
28 | {${lookup{${mask:$host_address/27}}lsearch{DIR/aux-var/TESTNUM.tr}{$value}fail}}}" | |
29 | transport = smtp | |
30 | no_more | |
31 | ||
32 | ||
33 | # ----- Transports ----- | |
34 | ||
35 | begin transports | |
36 | ||
37 | smtp: | |
38 | driver = smtp | |
39 | ||
40 | ||
41 | # End |