Logging: disable the verbose DKIM verification line by default; add a tag to <= lines.
[exim.git] / test / confs / 0906
CommitLineData
328c5688
JH
1# Exim test configuration 0906
2SERVER=
3
4exim_path = EXIM_PATH
5keep_environment =
6host_lookup_order = bydns
7spool_directory = DIR/spool
8log_file_path = DIR/spool/log/SERVER%slog
9gecos_pattern = ""
10gecos_name = CALLER_NAME
11chunking_advertise_hosts = *
12tls_advertise_hosts = ${if eq {SRV}{tls} {*}}
13
14# ----- Main settings -----
15
16spool_wireformat = true
17
18primary_hostname = testhost.test.ex
19domainlist local_domains = @ : test.ex
20
014de25a 21acl_smtp_rcpt = acl_r
2c47372f
JH
22
23.ifdef _HAVE_DKIM
24log_selector = +received_recipients +dkim_verbose
25.else
328c5688 26log_selector = +received_recipients
2c47372f
JH
27.endif
28
328c5688
JH
29
30.ifdef _OPT_MAIN_TLS_CERTIFICATE
31tls_certificate = DIR/aux-fixed/cert1
32tls_privatekey = DIR/aux-fixed/cert1
33.endif
34
1c3c17d1
JH
35queue_run_in_order = true
36
328c5688
JH
37# ----- ACL -----
38
014de25a
JH
39begin acl
40acl_r:
41 accept condition = ${if != {$received_port}{PORT_S}}
42 control = queue_only
43 accept
44
328c5688
JH
45# ----- Routers -----
46
47begin routers
48
49to_server:
50 driver = accept
51 condition = ${if = {$received_port}{PORT_S}}
52 transport = remote_smtp${if eq {OPT}{dkim} {_dkim}}
53 errors_to = ""
54
55fail_remote_domains:
56 driver = redirect
57 domains = ! +local_domains
58 data = :fail: unrouteable mail domain "$domain"
59
60localuser:
61 driver = accept
62 transport = local_delivery
63
64
65# ----- Transports -----
66
67begin transports
68
69local_delivery:
70 driver = appendfile
71 file = DIR/test-mail/$local_part
72 headers_add = "X-body-linecount: $body_linecount\n\
73 X-message-linecount: $message_linecount\n\
74 X-received-count: $received_count"
75 return_path_add
76 user = CALLER
77
78remote_smtp:
79 driver = smtp
80 hosts = 127.0.0.1
81 port = PORT_D
82 allow_localhost
83
84remote_smtp_dkim:
85 driver = smtp
86 hosts = 127.0.0.1
87 port = PORT_D
88 allow_localhost
89
90.ifdef OPT
91 dkim_domain = test.ex
92 dkim_selector = sel
93 dkim_private_key = DIR/aux-fixed/dkim/dkim.private
94.ifndef HEADERS_MAXSIZE
95 dkim_sign_headers = LIST
96.endif
97.endif
98
99# ----- Retry -----
100
101begin retry
102* * F,30m,5m;
103# End