1 # Exim test configuration 4000
4 host_lookup_order = bydns
5 primary_hostname = myhost.test.ex
6 rfc1413_query_timeout = 0s
7 spool_directory = DIR/spool
8 log_file_path = DIR/spool/log/%slog
10 gecos_name = CALLER_NAME
13 # ----- Main settings -----
15 acl_smtp_rcpt = check_rcpt
16 acl_smtp_data = check_data
17 acl_not_smtp = check_data
18 acl_smtp_mime = check_mime
19 acl_not_smtp_mime = check_mime
21 av_scanner = clamd:CLAMSOCKET
32 deny message = Found $malware_name
37 warn set acl_m0 = $spam_score_int
39 warn message = X-Regex: Regex matched
42 warn condition = ${if !eq{$h_fakereject:}{}}
45 warn condition = ${if !eq{$h_fakedefer:}{}}
52 add_header = X-$mime_part_count-content-type: $mime_content_type\n\
53 X-$mime_part_count-filename: $mime_filename\n\
54 X-$mime_part_count-charset: $mime_charset\n\
55 X-$mime_part_count-boundary: $mime_boundary\n\
56 X-$mime_part_count-content-disposition: $mime_content_disposition\n\
57 X-$mime_part_count-content-transfer-encoding: $mime_content_transfer_encoding\n\
58 X-$mime_part_count-content-id: $mime_content_id\n\
59 X-$mime_part_count-content-description: $mime_content_description\n\
60 X-$mime_part_count-is-multipart: $mime_is_multipart\n\
61 X-$mime_part_count-is-coverletter: $mime_is_coverletter\n\
62 X-$mime_part_count-is-rfc822: $mime_is_rfc822\n\
63 X-$mime_part_count-decode-filename: $mime_decoded_filename\n\
64 X-$mime_part_count-content-size: $mime_content_size
65 warn mime_regex = (?s)\
66 (?=Test quoted-printable =)\
67 (?=.*?Continued line with this)
68 add_header = X-mime-regex: matched
79 headers_add = X-Router-SSint: \
80 ${if eq {$spam_score_int}{$acl_m0}\
81 {was preserved}{was not preserver}}
84 # ----- Transports -----
90 file = DIR/test-mail/$local_part