Testsuite: case for malware= cmdline
[users/jgh/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
10 # ----- Main settings -----
11
12 domainlist local_domains = test.ex
13
14 qualify_domain = test.ex
15 trusted_users = CALLER
16
17
18 # ----- Routers -----
19
20 begin routers
21
22 check1:
23   driver = manualroute
24   condition = ${if or {\
25                 {eq {$sender_address}{}}\
26                 {eq {$received_protocol}{scanned-ok}}\
27                 }{no}{yes}}
28   domains = ! +local_domains
29   route_list = *
30   transport = pipe
31
32 fail_remote_domains:
33   driver = redirect
34   domains = ! +local_domains
35   allow_fail
36   data = :fail: unrouteable mail domain "$domain" (:fail:)
37
38 check2:
39   driver = accept
40   condition = ${if or {\
41                 {eq {$sender_address}{}}\
42                 {eq {$received_protocol}{scanned-ok}}\
43                 }{no}{yes}}
44   retry_use_local_part
45   transport = pipe
46
47 all:
48   driver = accept
49   retry_use_local_part
50   transport = appendfile
51
52
53 # ----- Transports -----
54
55 begin transports
56
57 appendfile:
58   driver = appendfile
59   file = DIR/test-mail/$local_part
60   user = CALLER
61
62 pipe:
63   driver = pipe
64   batch_max = 100
65   use_bsmtp
66   command = DIR/aux-fixed/resubmitB DIR/ CALLER
67   message_prefix =
68   return_output
69   user = CALLER
70
71
72 # ----- Retry -----
73
74
75 begin retry
76
77 * * F,5d,1d
78
79
80 # End