Commit | Line | Data |
---|---|---|
afda344b PH |
1 | # Exim test configuration 3206 |
2 | ||
3 | exim_path = EXIM_PATH | |
4 | host_lookup_order = bydns | |
5 | primary_hostname = myhost.test.ex | |
6 | qualify_domain = 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 | |
11 | ||
12 | # ----- Main settings ----- | |
13 | ||
14 | domainlist local_domains = test.ex : !*.remote.ex : testdb;defer | |
15 | ||
16 | hold_domains = !test.ex : hold.remote.ex : !*.go.remote.ex : testdb;defer | |
17 | queue_domains = !test.ex : queue.go.remote.ex : testdb;defer | |
18 | ||
19 | ||
20 | # ----- Routers ----- | |
21 | ||
22 | begin routers | |
23 | ||
24 | fail_remote_domains: | |
25 | driver = redirect | |
26 | domains = ! +local_domains | |
27 | data = :fail: unrouteable mail domain "$domain" | |
28 | ||
29 | all: | |
30 | driver = accept | |
31 | retry_use_local_part | |
32 | transport = local_delivery | |
33 | ||
34 | ||
35 | # ----- Transports ----- | |
36 | ||
37 | begin transports | |
38 | ||
39 | local_delivery: | |
40 | driver = appendfile | |
41 | envelope_to_add | |
42 | file = DIR/test-mail/$local_part | |
43 | user = CALLER | |
44 | ||
45 | ||
46 | # ----- Retry ----- | |
47 | ||
48 | ||
49 | begin retry | |
50 | ||
51 | * * F,1h,10m | |
52 | ||
53 | ||
54 | # End |