e1275c17d6abd567a508f601367e0dd61a22a4e9
[users/jgh/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 rfc1413_query_timeout = 0s
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
13
14 # ----- Main settings -----
15
16 acl_smtp_rcpt = accept
17 acl_smtp_mime = check_mime
18
19
20 # ----- ACL -----
21
22 begin acl
23
24 check_mime:
25   warn     decode  = default
26            add_header = X-$mime_part_count-content-type: $mime_content_type\n\
27                         X-$mime_part_count-filename: $mime_filename\n\
28                         X-$mime_part_count-charset: $mime_charset\n\
29                         X-$mime_part_count-boundary: $mime_boundary\n\
30                         X-$mime_part_count-content-disposition: $mime_content_disposition\n\
31                         X-$mime_part_count-content-transfer-encoding: $mime_content_transfer_encoding\n\
32                         X-$mime_part_count-content-id: $mime_content_id\n\
33                         X-$mime_part_count-content-description: $mime_content_description\n\
34                         X-$mime_part_count-is-multipart: $mime_is_multipart\n\
35                         X-$mime_part_count-is-coverletter: $mime_is_coverletter\n\
36                         X-$mime_part_count-is-rfc822: $mime_is_rfc822\n\
37                         X-$mime_part_count-decode-filename: $mime_decoded_filename\n\
38                         X-$mime_part_count-content-size: $mime_content_size
39   accept
40
41
42 # ----- Routers -----
43
44 begin routers
45
46 r1:
47   driver = accept
48   transport = t1
49
50 # ----- Transports -----
51
52 begin transports
53
54 t1:
55   driver = appendfile
56   file = DIR/test-mail/$local_part
57   user = CALLER
58
59
60 # End