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