exim-filter dynamic module
[exim.git] / test / confs / 0226
1 # Exim test configuration 0226
2
3 .include DIR/aux-var/std_conf_prefix
4
5
6 # ----- Main settings -----
7
8 qualify_domain = test.ex
9 timezone = EST
10
11
12 # ----- Routers -----
13
14 begin routers
15
16 bounces:
17   driver = accept
18   caseful_local_part
19   retry_use_local_part
20   senders = :
21   transport = local_delivery
22
23 notallowed:
24   driver = redirect
25   domains = no.test.ex
26   allow_defer
27   caseful_local_part
28   data = ${extract {$local_part} \
29           { file1=/a/b/c \
30             pipe1=|/p/q/r \
31             file2=DIR/test-mail/file \
32             pipe2=|DIR/aux-fixed/showenv }}
33   forbid_file
34   forbid_pipe
35   retry_use_local_part
36
37 allowed:
38   driver = redirect
39   allow_defer
40   caseful_local_part
41   data = ${extract {$local_part} \
42           { file1=/a/b/c \
43             pipe1=|/p/q/r \
44             file2=DIR/test-mail/file \
45             pipe2=|DIR/aux-fixed/showenv }}
46   file_transport = address_file
47   pipe_transport = address_pipe
48   retry_use_local_part
49   user = CALLER
50
51
52 # ----- Transports -----
53
54 begin transports
55
56 local_delivery:
57   driver = appendfile
58   file = DIR/test-mail/$local_part
59   create_file = DIR/test-mail
60   user = CALLER
61
62 address_file:
63   driver = appendfile
64   user = CALLER
65
66 address_pipe:
67   driver = pipe
68   return_output
69
70
71 # ----- Retry -----
72
73
74 begin retry
75
76 * * F,5d,1d
77
78
79 # End