nit: document that `fout` must be open for reading too
[users/heiko/exim.git] / test / confs / 4000
1 # Exim test configuration 4000
2
3 .include DIR/aux-var/std_conf_prefix
4
5 log_selector = +subject
6 primary_hostname = myhost.test.ex
7
8
9 # ----- Main settings -----
10
11 acl_smtp_rcpt = accept
12 acl_smtp_mime = check_mime
13
14
15 # ----- ACL -----
16
17 begin acl
18
19 check_mime:
20   warn     decode  = default
21            add_header = X-$mime_part_count-content-type: $mime_content_type\n\
22                         X-$mime_part_count-filename: $mime_filename\n\
23                         X-$mime_part_count-charset: $mime_charset\n\
24                         X-$mime_part_count-boundary: $mime_boundary\n\
25                         X-$mime_part_count-content-disposition: $mime_content_disposition\n\
26                         X-$mime_part_count-content-transfer-encoding: $mime_content_transfer_encoding\n\
27                         X-$mime_part_count-content-id: $mime_content_id\n\
28                         X-$mime_part_count-content-description: $mime_content_description\n\
29                         X-$mime_part_count-is-multipart: $mime_is_multipart\n\
30                         X-$mime_part_count-is-coverletter: $mime_is_coverletter\n\
31                         X-$mime_part_count-is-rfc822: $mime_is_rfc822\n\
32                         X-$mime_part_count-decode-filename: $mime_decoded_filename\n\
33                         X-$mime_part_count-content-size: $mime_content_size
34   accept
35
36
37 # ----- Routers -----
38
39 begin routers
40
41 r1:
42   driver = accept
43   transport = t1
44
45 # ----- Transports -----
46
47 begin transports
48
49 t1:
50   driver = appendfile
51   file = DIR/test-mail/$local_part
52   user = CALLER
53
54
55 # End