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