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