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