Cutthrough: expand transport dkim_domain option when testing for dkim signing
[exim.git] / test / confs / 0600
CommitLineData
cafbabb7
JH
1# Exim test configuration 0600
2# utf8clean:string
b9c2e32f
AR
3
4exim_path = EXIM_PATH
bc3c7bb7 5keep_environment =
b9c2e32f 6host_lookup_order = bydns
b9c2e32f
AR
7spool_directory = DIR/spool
8log_file_path = DIR/spool/log/%slog
9gecos_pattern = ""
10gecos_name = CALLER_NAME
23f3dc67 11tls_advertise_hosts =
b9c2e32f
AR
12
13# ----- Main settings -----
14
15domainlist local_domains = @
16
17acl_smtp_rcpt = accept
18acl_smtp_data = check_data
19
20trusted_users = CALLER
21
22
23# ----- ACL -----
24
25begin acl
26
27check_data:
28 accept logwrite = \
29 x-test-header-good1: ${utf8clean:$h_x-test-header-good1:}
30 logwrite = \
31 x-test-header-good2: ${utf8clean:$h_x-test-header-good2:}
32 logwrite = \
33 x-test-header-too-short: ${utf8clean:$h_x-test-header-too-short:}
34 logwrite = \
35 x-test-header-too-long: ${utf8clean:$h_x-test-header-too-long:}
36 logwrite = \
37 x-test-header-too-big: ${utf8clean:$h_x-test-header-too-big:}
38
39
40
41# ----- Routers -----
42
43begin routers
44
45fail_remote_domains:
46 driver = redirect
47 domains = ! +local_domains
48 data = :fail: unrouteable mail domain "$domain"
49
50localuser:
51 driver = accept
52 check_local_user
53 transport = local_delivery
54 headers_add = X-local-user: uid=$local_user_uid gid=$local_user_gid
55
56
57# ----- Transports -----
58
59begin transports
60
61local_delivery:
62 driver = appendfile
63 delivery_date_add
64 envelope_to_add
65 file = DIR/test-mail/$local_part
66 headers_add = "X-body-linecount: $body_linecount\n\
67 X-message-linecount: $message_linecount\n\
68 X-received-count: $received_count"
69 return_path_add
70
71# End