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