Testsuite: bounce_message_file and warn_message_file
[users/heiko/exim.git] / test / confs / 0622
1 # Exim test configuration 0622
2 # Bounces
3
4 .include DIR/aux-var/std_conf_prefix
5
6 primary_hostname = myhost.test.ex
7
8 # ----- Main settings -----
9
10 acl_smtp_rcpt = accept
11 log_selector = +received_recipients +millisec
12
13 .ifdef OPT
14 bounce_message_file = OPT
15 warn_message_file = OPT
16 .endif
17
18 delay_warning = 1s
19
20 # ----- Routers -----
21
22 begin routers
23
24 delay:
25   driver =      redirect
26   local_parts = ^delay
27   allow_defer
28   data =        :defer: deliberate for test purposes
29
30 bounces:
31   driver =      accept
32   condition =   ${if !def:sender_address}
33   transport =   savebounce
34
35 begin transports
36
37 savebounce:
38   driver =      appendfile
39   file =        DIR/test-mail/bounce_message
40   user =        CALLER
41
42 # ----- Retry -----
43
44 begin retry
45
46 * * F,5d,100s
47
48
49 # End