update to pre-4.87 master
[users/heiko/exim.git] / test / confs / 0174
1 # Exim test configuration 0174
2
3 exim_path = EXIM_PATH
4 host_lookup_order = bydns
5 spool_directory = DIR/spool
6 log_file_path = DIR/spool/log/%slog
7 gecos_pattern = ""
8 gecos_name = CALLER_NAME
9 tls_advertise_hosts =
10
11 # ----- Main settings -----
12
13 domainlist local_domains = test.ex
14
15 qualify_domain = test.ex
16 trusted_users = CALLER
17
18
19 # ----- Routers -----
20
21 begin routers
22
23 check1:
24   driver = manualroute
25   condition = ${if or {\
26                 {eq {$sender_address}{}}\
27                 {eq {$received_protocol}{scanned-ok}}\
28                 }{no}{yes}}
29   domains = ! +local_domains
30   route_list = *
31   transport = pipe
32
33 fail_remote_domains:
34   driver = redirect
35   domains = ! +local_domains
36   allow_fail
37   data = :fail: unrouteable mail domain "$domain" (:fail:)
38
39 check2:
40   driver = accept
41   condition = ${if or {\
42                 {eq {$sender_address}{}}\
43                 {eq {$received_protocol}{scanned-ok}}\
44                 }{no}{yes}}
45   retry_use_local_part
46   transport = pipe
47
48 all:
49   driver = accept
50   retry_use_local_part
51   transport = appendfile
52
53
54 # ----- Transports -----
55
56 begin transports
57
58 appendfile:
59   driver = appendfile
60   file = DIR/test-mail/$local_part
61   user = CALLER
62
63 pipe:
64   driver = pipe
65   batch_max = 100
66   use_bsmtp
67   command = DIR/aux-fixed/resubmitB DIR/ CALLER
68   message_prefix =
69   return_output
70   user = CALLER
71
72
73 # ----- Retry -----
74
75
76 begin retry
77
78 * * F,5d,1d
79
80
81 # End