Commit | Line | Data |
---|---|---|
afda344b PH |
1 | # Exim test configuration 0338 |
2 | ||
3 | exim_path = EXIM_PATH | |
bc3c7bb7 | 4 | keep_environment = |
afda344b PH |
5 | host_lookup_order = bydns |
6 | primary_hostname = myhost.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 | |
23f3dc67 | 11 | tls_advertise_hosts = |
afda344b PH |
12 | |
13 | # ----- Main settings ----- | |
14 | ||
15 | qualify_domain = test.ex | |
16 | queue_run_in_order | |
17 | ||
18 | ||
19 | # ----- Routers ----- | |
20 | ||
21 | begin routers | |
22 | ||
23 | alias: | |
24 | driver = redirect | |
25 | local_parts = !\N^a\d\-\N | |
26 | data = a1-$local_part@$domain, a2-$local_part@$domain | |
27 | errors_to = postmaster@$domain | |
28 | one_time | |
29 | ||
30 | defer: | |
31 | driver = redirect | |
32 | local_parts = ^a1- | |
33 | condition = ${if first_delivery{yes}{no}} | |
34 | allow_defer | |
35 | data = :defer: forced defer | |
36 | ||
37 | accept: | |
38 | driver = accept | |
39 | transport = t1 | |
40 | ||
41 | ||
42 | # ----- Transports ----- | |
43 | ||
44 | begin transports | |
45 | ||
46 | t1: | |
47 | driver = appendfile | |
48 | file = DIR/test-mail/$local_part | |
49 | return_path_add | |
50 | user = CALLER | |
51 | ||
52 | ||
53 | # ----- Retry ----- | |
54 | ||
55 | begin retry | |
56 | ||
57 | * * F,5m,1d | |
58 | ||
59 | # End |