Commit | Line | Data |
---|---|---|
afda344b PH |
1 | # Exim test configuration 5207 |
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 | ||
17 | # ----- Transports ----- | |
18 | ||
19 | begin transports | |
20 | ||
21 | t1: | |
22 | driver = appendfile | |
23 | file = DIR/test-mail/${if eq{$address_data}{}{$local_part}{$address_data}} | |
24 | user = CALLER | |
25 | ||
26 | # ----- Routers ----- | |
27 | ||
28 | begin routers | |
29 | ||
30 | # Delivered without changing address_data | |
31 | ||
32 | nodata: | |
33 | driver = accept | |
34 | local_parts = nodata | |
35 | transport = t1 | |
36 | ||
37 | r6: | |
38 | driver = queryprogram | |
39 | domains = r6 | |
40 | address_data = qpgm | |
41 | command = /bin/echo ACCEPT transport=t1 | |
42 | command_user = nobody | |
43 | ||
44 | r7: | |
45 | driver = queryprogram | |
46 | domains = r7 | |
47 | address_data = qpgm | |
48 | command = /bin/echo redirect nodata@test.ex | |
49 | command_user = nobody | |
50 | ||
51 | # ----- Retry ----- | |
52 | ||
53 | begin retry | |
54 | ||
55 | * * F,5d,5m | |
56 | ||
57 | # End |