Merge ssh://tahini.csx.cam.ac.uk/home/git/exim
[users/heiko/exim.git] / test / confs / 0120
1 # Exim test configuration 0120
2
3 exim_path = EXIM_PATH
4 host_lookup_order = bydns
5 rfc1413_query_timeout = 0s
6 spool_directory = DIR/spool
7 log_file_path = DIR/spool/log/%slog
8 gecos_pattern = ""
9 gecos_name = CALLER_NAME
10
11 # ----- Main settings -----
12
13 acl_smtp_rcpt = check_recipient
14 acl_smtp_data = check_message
15
16 domainlist local_domains = test.ex
17 qualify_domain = test.ex
18
19
20 # ----- Routers -----
21
22 begin routers
23
24 blackhole:
25   driver = redirect
26   allow_defer
27   allow_fail
28   data = :blackhole:
29   local_parts = CALLER
30   retry_use_local_part
31
32 force_defer:
33   driver = redirect
34   allow_defer
35   allow_fail
36   condition = ${if < {$message_age}{2}{yes}{no}}
37   data = :defer: forced defer
38   retry_use_local_part
39
40 force_fail:
41   driver = redirect
42   allow_defer
43   allow_fail
44   data = :fail: forced fail after $message_age seconds
45   retry_use_local_part
46
47
48 # ----- Retry -----
49
50
51 begin retry
52
53 * * F,5d,1d
54
55
56 # End