DNS: tag res_search() hack by lookup type in debug output; munge ipv6 lines in testsuite
[users/jgh/exim.git] / test / confs / 0174
1 # Exim test configuration 0174
2
3 .include DIR/aux-var/std_conf_prefix
4
5
6 # ----- Main settings -----
7
8 domainlist local_domains = test.ex
9
10 qualify_domain = test.ex
11 trusted_users = CALLER
12
13
14 # ----- Routers -----
15
16 begin routers
17
18 check1:
19   driver = manualroute
20   condition = ${if or {\
21                 {eq {$sender_address}{}}\
22                 {eq {$received_protocol}{scanned-ok}}\
23                 }{no}{yes}}
24   domains = ! +local_domains
25   route_list = *
26   transport = pipe
27
28 fail_remote_domains:
29   driver = redirect
30   domains = ! +local_domains
31   allow_fail
32   data = :fail: unrouteable mail domain "$domain" (:fail:)
33
34 check2:
35   driver = accept
36   condition = ${if or {\
37                 {eq {$sender_address}{}}\
38                 {eq {$received_protocol}{scanned-ok}}\
39                 }{no}{yes}}
40   retry_use_local_part
41   transport = pipe
42
43 all:
44   driver = accept
45   retry_use_local_part
46   transport = appendfile
47
48
49 # ----- Transports -----
50
51 begin transports
52
53 appendfile:
54   driver = appendfile
55   file = DIR/test-mail/$local_part
56   user = CALLER
57
58 pipe:
59   driver = pipe
60   batch_max = 100
61   use_bsmtp
62   command = DIR/aux-fixed/resubmitB DIR/ CALLER
63   message_prefix =
64   return_output
65   user = CALLER
66   path = ${env{PATH}}
67
68
69 # ----- Retry -----
70
71
72 begin retry
73
74 * * F,5d,1d
75
76
77 # End