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