Testsuite: case for malware= avast
[users/jgh/exim.git] / test / confs / 0015
1 # Exim test configuration 0015
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 qualify_domain = test.ex
13
14
15 # ----- Routers -----
16
17 begin routers
18
19 convert_to_real_name:
20   driver = redirect
21   allow_defer
22   data = "\
23     $local_part_prefix${lookup{$local_part}\
24     lsearch{DIR/aux-fixed/0015.realnames}{$value}fail}@$domain"
25   local_part_prefix = *+
26   local_part_prefix_optional
27   retry_use_local_part
28
29 #system_aliases:
30 #  driver = redirect
31 #  allow_defer
32 #  data = ${lookup{$local_part}lsearch{DIR/aux-fixed/0015.aliases}}
33 #  retry_use_local_part
34
35 userforward:
36   driver = redirect
37   allow_filter
38   local_parts = userx
39   user = CALLER
40   file = DIR/aux-fixed/0015.filter.$local_part
41   local_part_prefix = *+
42   local_part_prefix_optional
43   pipe_transport = address_pipe
44   reply_transport = address_reply
45
46 localuser_b:
47   driver = accept
48   local_parts = userx : CALLER
49   local_part_prefix = B+
50   transport = local_delivery_b
51
52 localuser_s:
53   driver = accept
54   local_part_prefix = S+
55   transport = delivery_s
56
57 localuser_sb:
58   driver = accept
59   local_parts = userx : CALLER
60   local_part_prefix = *+
61   local_part_prefix_optional
62   local_part_suffix = -B
63   transport = local_delivery_b
64
65 localuser_ss:
66   driver = accept
67   local_part_suffix = -S
68   transport = delivery_s
69
70 localuser:
71   driver = accept
72   local_parts = userx : CALLER
73   local_part_prefix = *+
74   local_part_prefix_optional
75   transport = local_delivery
76
77
78 # ----- Transports -----
79
80 begin transports
81
82 local_delivery:
83   driver = appendfile
84   user = CALLER
85   delivery_date_add
86   envelope_to_add
87   file = DIR/test-mail/$local_part
88   return_path_add
89   headers_add = X-local_part: $local_part\n\
90                 X-local_part_prefix: $local_part_prefix
91
92 local_delivery_b:
93   driver = appendfile
94   user = CALLER
95   delivery_date_add
96   envelope_to_add
97   file = DIR/test-mail/$local_part
98   return_path_add
99   use_bsmtp
100   headers_add = X-local_part: $local_part\n\
101                 X-local_part_prefix: $local_part_prefix
102
103 delivery_s:
104   driver = smtp
105   hosts = 127.0.0.1
106   port = PORT_S
107   allow_localhost
108
109 address_reply:
110   driver = autoreply
111
112 address_pipe:
113   driver = pipe
114
115 # End