Commit | Line | Data |
---|---|---|
afda344b PH |
1 | # Exim test configuration 0321 |
2 | ||
3 | exim_path = EXIM_PATH | |
4 | host_lookup_order = bydns | |
5 | rfc1413_query_timeout = 0s | |
6 | spool_directory = DIR/spool | |
7 | log_file_path = DIR/spool/log/%slog | |
8 | gecos_pattern = "" | |
9 | gecos_name = CALLER_NAME | |
10 | ||
11 | # ----- Main settings ----- | |
12 | ||
13 | qualify_domain = test.ex | |
14 | ||
15 | ||
16 | # ----- Routers ----- | |
17 | ||
18 | begin routers | |
19 | ||
20 | r1: | |
21 | condition = ${if eq {$received_protocol}{scanned-ok} {0}{1}} | |
22 | senders = ! : | |
23 | driver = accept | |
24 | transport = pipe | |
25 | ||
26 | r2: | |
27 | driver = accept | |
28 | transport = local_delivery | |
29 | ||
30 | ||
31 | # ----- Transports ----- | |
32 | ||
33 | begin transports | |
34 | ||
35 | pipe: | |
36 | driver = pipe | |
37 | command = /non/exist/command -f <$sender_address> -d $pipe_addresses | |
38 | message_prefix = | |
39 | message_suffix = | |
40 | check_string = | |
41 | escape_string = | |
42 | return_output = false | |
43 | return_path_add = false | |
44 | user = CALLER | |
45 | path = /bin:/sbin:/usr/bin:/usr/sbin | |
46 | current_directory = / | |
47 | ||
48 | local_delivery: | |
49 | driver = appendfile | |
50 | file = DIR/test-mail/$local_part | |
51 | user = CALLER | |
52 | ||
53 | ||
54 | # ----- Retry ----- | |
55 | ||
56 | begin retry | |
57 | ||
58 | * * F,5d,1d | |
59 | ||
60 | ||
61 | # End |