Fix CVE-2016-1531
[exim.git] / test / confs / 0378
1 # Exim test configuration 0378
2
3 exim_path = EXIM_PATH
4 keep_environment =
5 host_lookup_order = bydns
6 primary_hostname = myhost.test.ex
7 rfc1413_query_timeout = 0s
8 spool_directory = DIR/spool
9 log_file_path = DIR/spool/log/%slog
10 gecos_pattern = ""
11 gecos_name = CALLER_NAME
12
13 # ----- Main settings -----
14
15 domainlist local_domains = test.ex
16
17
18 # ----- Routers -----
19
20 begin routers
21
22 bounce:
23   driver = redirect
24   senders = :
25   data = :blackhole:
26
27 defer:
28   driver = redirect
29   local_parts = ^defer
30   allow_defer
31   data = :defer: forced defer
32
33 aaaa_2nd_time:
34   driver = redirect
35   local_parts = aaaa
36   condition = ${if first_delivery{no}{yes}}
37   data = aaaa@$domain
38
39 aaaa:
40   driver = redirect
41   local_parts = aaaa
42   allow_filter
43   file_transport = t1
44   pipe_transport = t2
45   reply_transport = t3
46   user = CALLER
47   data = "# Exim filter\n\
48           deliver defer_aaaa@$domain\n\
49           save DIR/test-mail/file\n\
50           pipe \"/bin/sh -c exit\"\n\
51           mail subject autoreply\n\
52                text \"This is an autoreply\""
53
54
55 # ----- Transports -----
56
57 begin transports
58
59 t1:
60   driver = appendfile
61   user = CALLER
62
63 t2:
64   driver = pipe
65   user = CALLER
66
67 t3:
68   driver = autoreply
69   user = CALLER
70   initgroups
71
72
73 # ----- Retry -----
74
75 begin retry
76
77 * * F,5d,10s
78
79
80 # End