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