Docs: change example from match (RE) to match_ip (IP list)
[exim.git] / test / confs / 0321
1 # Exim test configuration 0321
2
3 .include DIR/aux-var/std_conf_prefix
4
5
6 # ----- Main settings -----
7
8 qualify_domain = test.ex
9
10
11 # ----- Routers -----
12
13 begin routers
14
15 r1:
16   condition = ${if eq {$received_protocol}{scanned-ok} {0}{1}}
17   senders = ! :
18   driver = accept
19   transport = pipe
20
21 r2:
22   driver = accept
23   transport = local_delivery
24
25
26 # ----- Transports -----
27
28 begin transports
29
30 pipe:
31   driver = pipe
32   command = /non/exist/command -f \
33         "<${if match_local_part {$sender_address}{CALLER@test.ex}{$value}}>" \
34         -d $pipe_addresses
35   message_prefix =
36   message_suffix =
37   check_string =
38   escape_string =
39   return_output = false
40   return_path_add = false
41   user = CALLER
42   path = /bin:/sbin:/usr/bin:/usr/sbin
43   current_directory = /
44
45 local_delivery:
46   driver = appendfile
47   file = DIR/test-mail/$local_part
48   create_file = DIR/test-mail
49   user = CALLER
50
51
52 # ----- Retry -----
53
54 begin retry
55
56 * * F,5d,1d
57
58
59 # End