Commit | Line | Data |
---|---|---|
afda344b PH |
1 | # Exim test configuration 0464 |
2 | ||
3 | exim_path = EXIM_PATH | |
bc3c7bb7 | 4 | keep_environment = |
afda344b PH |
5 | host_lookup_order = bydns |
6 | primary_hostname = myhost.test.ex | |
afda344b PH |
7 | spool_directory = DIR/spool |
8 | log_file_path = DIR/spool/log/%slog | |
9 | gecos_pattern = "" | |
10 | gecos_name = CALLER_NAME | |
23f3dc67 | 11 | tls_advertise_hosts = |
afda344b PH |
12 | |
13 | # ----- Main settings ----- | |
14 | ||
15 | acl_smtp_rcpt = rcpt | |
16 | ||
17 | domainlist local_domains = test.ex | |
18 | domainlist special_domains = lsearch;DIR/aux-fixed/TESTNUM.domains | |
19 | ||
20 | ||
21 | # ----- ACLs ----- | |
22 | ||
23 | begin acl | |
24 | ||
25 | rcpt: | |
26 | require domains = +special_domains | |
27 | verify = recipient | |
28 | ||
29 | require domains = +special_domains | |
30 | verify = recipient | |
31 | accept | |
32 | ||
33 | ||
34 | # ----- Routers ----- | |
35 | ||
36 | begin routers | |
37 | ||
38 | r1: | |
39 | driver = redirect | |
40 | domains = +special_domains | |
41 | data = $local_part@xxx.$domain | |
42 | ||
43 | r2: | |
44 | driver = accept | |
45 | transport = smtp | |
46 | ||
47 | ||
48 | # ----- Transports ----- | |
49 | ||
50 | begin transports | |
51 | ||
52 | smtp: | |
53 | driver = smtp | |
54 | port = PORT_S | |
55 | ||
56 | # End |