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