Commit | Line | Data |
---|---|---|
afda344b PH |
1 | # Exim test configuration 0211 |
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 | domainlist local_domains = test.ex | |
13 | ||
14 | acl_smtp_rcpt = check_recipient | |
15 | ||
16 | log_selector = +sender_on_delivery | |
17 | qualify_domain = test.ex | |
18 | ||
19 | ||
20 | # ----- ACLs ----- | |
21 | ||
22 | begin acl | |
23 | ||
24 | check_recipient: | |
25 | accept hosts = : | |
26 | accept domains = +local_domains | |
27 | deny message = relay not permitted | |
28 | ||
29 | ||
30 | # ----- Routers ----- | |
31 | ||
32 | begin routers | |
33 | ||
34 | others: | |
35 | driver = manualroute | |
36 | domains = ! +local_domains | |
37 | route_list = * 127.0.0.1 byname | |
38 | self = send | |
39 | transport = smtp | |
40 | no_more | |
41 | ||
42 | all: | |
43 | driver = accept | |
44 | retry_use_local_part | |
45 | transport = local_delivery | |
46 | ||
47 | ||
48 | # ----- Transports ----- | |
49 | ||
50 | begin transports | |
51 | ||
52 | smtp: | |
53 | driver = smtp | |
54 | port = PORT_S | |
55 | ||
56 | local_delivery: | |
57 | driver = appendfile | |
58 | file = DIR/test-mail/$local_part | |
59 | return_path_add | |
60 | user = CALLER | |
61 | ||
62 | ||
63 | # ----- Retry ----- | |
64 | ||
65 | ||
66 | begin retry | |
67 | ||
68 | * * F,5d,8h | |
69 | ||
70 | ||
71 | # End |