Docs: Add note on lsearch for IPv4-mapped IPv6 addresses
[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 .ifdef BAD
21   deny     message =    this is a deny from the mime acl
22 .endif
23
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