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