Use compressed form of ipv6 in $sender_host_address under -bh. Bug 3027
[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   create_file = DIR/test-mail
57   user = CALLER
58
59 pipe:
60   driver = pipe
61   batch_max = 100
62   use_bsmtp
63   command = DIR/aux-fixed/resubmitB DIR/ CALLER
64   message_prefix =
65   return_output
66   user = CALLER
67   path = ${env{PATH}}
68
69
70 # ----- Retry -----
71
72
73 begin retry
74
75 * * F,5d,1d
76
77
78 # End