Merge branch 'master'
[exim.git] / test / confs / 4000
1 # Exim test configuration 4000
2
3 exim_path = EXIM_PATH
4 keep_environment =
5 host_lookup_order = bydns
6 primary_hostname = myhost.test.ex
7 spool_directory = DIR/spool
8 log_file_path = DIR/spool/log/%slog
9 gecos_pattern = ""
10 gecos_name = CALLER_NAME
11 log_selector = +subject
12 tls_advertise_hosts =
13
14
15 # ----- Main settings -----
16
17 acl_smtp_rcpt = accept
18 acl_smtp_mime = check_mime
19
20
21 # ----- ACL -----
22
23 begin acl
24
25 check_mime:
26 warn decode = default
27 add_header = X-$mime_part_count-content-type: $mime_content_type\n\
28 X-$mime_part_count-filename: $mime_filename\n\
29 X-$mime_part_count-charset: $mime_charset\n\
30 X-$mime_part_count-boundary: $mime_boundary\n\
31 X-$mime_part_count-content-disposition: $mime_content_disposition\n\
32 X-$mime_part_count-content-transfer-encoding: $mime_content_transfer_encoding\n\
33 X-$mime_part_count-content-id: $mime_content_id\n\
34 X-$mime_part_count-content-description: $mime_content_description\n\
35 X-$mime_part_count-is-multipart: $mime_is_multipart\n\
36 X-$mime_part_count-is-coverletter: $mime_is_coverletter\n\
37 X-$mime_part_count-is-rfc822: $mime_is_rfc822\n\
38 X-$mime_part_count-decode-filename: $mime_decoded_filename\n\
39 X-$mime_part_count-content-size: $mime_content_size
40 accept
41
42
43 # ----- Routers -----
44
45 begin routers
46
47 r1:
48 driver = accept
49 transport = t1
50
51 # ----- Transports -----
52
53 begin transports
54
55 t1:
56 driver = appendfile
57 file = DIR/test-mail/$local_part
58 user = CALLER
59
60
61 # End