Commit | Line | Data |
---|---|---|
afda344b PH |
1 | # Exim test configuration 0041 |
2 | ||
3 | exim_path = EXIM_PATH | |
bc3c7bb7 | 4 | keep_environment = |
afda344b | 5 | host_lookup_order = bydns |
afda344b PH |
6 | spool_directory = DIR/spool |
7 | log_file_path = DIR/spool/log/%slog | |
8 | gecos_pattern = "" | |
9 | gecos_name = CALLER_NAME | |
23f3dc67 | 10 | tls_advertise_hosts = |
afda344b PH |
11 | |
12 | # ----- Main settings ----- | |
13 | ||
14 | domainlist local_domains = test.ex | |
15 | ||
4f6ae5c3 | 16 | acl_smtp_vrfy = check_vrfy |
afda344b PH |
17 | acl_smtp_expn = check_expn |
18 | qualify_domain = test.ex | |
19 | no_write_rejectlog | |
20 | ||
21 | ||
22 | # ----- ACLs ----- | |
23 | ||
24 | begin acl | |
25 | ||
4f6ae5c3 JH |
26 | check_vrfy: |
27 | deny local_parts = hardfail | |
28 | message = 599 custom reject | |
29 | ||
afda344b PH |
30 | check_expn: |
31 | accept hosts = 2.2.2.2 | |
32 | ||
33 | # ----- Routers ----- | |
34 | ||
35 | begin routers | |
36 | ||
37 | system_aliases: | |
38 | driver = redirect | |
39 | allow_defer | |
40 | data = ${lookup{$local_part}lsearch{DIR/aux-fixed/TESTNUM.aliases}} | |
41 | retry_use_local_part | |
42 | ||
43 | localuser: | |
44 | driver = accept | |
45 | local_parts = userx | |
46 | transport = local_delivery | |
47 | ||
48 | ||
49 | # ----- Transports ----- | |
50 | ||
51 | begin transports | |
52 | ||
53 | local_delivery: | |
54 | driver = appendfile | |
55 | delivery_date_add | |
56 | envelope_to_add | |
57 | file = DIR/test-mail/$local_part | |
58 | return_path_add | |
59 | user = CALLER | |
60 | ||
61 | ||
62 | # ----- Retry ----- | |
63 | ||
64 | # End |