Testsuite: restore lost dns config for DKIM extra-txt-records testcase
[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
328c5688
JH
22log_selector = +received_recipients
23
24.ifdef _OPT_MAIN_TLS_CERTIFICATE
25tls_certificate = DIR/aux-fixed/cert1
26tls_privatekey = DIR/aux-fixed/cert1
27.endif
28
1c3c17d1
JH
29queue_run_in_order = true
30
328c5688
JH
31# ----- ACL -----
32
014de25a
JH
33begin acl
34acl_r:
35 accept condition = ${if != {$received_port}{PORT_S}}
36 control = queue_only
37 accept
38
328c5688
JH
39# ----- Routers -----
40
41begin routers
42
43to_server:
44 driver = accept
45 condition = ${if = {$received_port}{PORT_S}}
46 transport = remote_smtp${if eq {OPT}{dkim} {_dkim}}
47 errors_to = ""
48
49fail_remote_domains:
50 driver = redirect
51 domains = ! +local_domains
52 data = :fail: unrouteable mail domain "$domain"
53
54localuser:
55 driver = accept
56 transport = local_delivery
57
58
59# ----- Transports -----
60
61begin transports
62
63local_delivery:
64 driver = appendfile
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 user = CALLER
71
72remote_smtp:
73 driver = smtp
74 hosts = 127.0.0.1
75 port = PORT_D
76 allow_localhost
77
78remote_smtp_dkim:
79 driver = smtp
80 hosts = 127.0.0.1
81 port = PORT_D
82 allow_localhost
83
84.ifdef OPT
85 dkim_domain = test.ex
86 dkim_selector = sel
87 dkim_private_key = DIR/aux-fixed/dkim/dkim.private
88.ifndef HEADERS_MAXSIZE
89 dkim_sign_headers = LIST
90.endif
91.endif
92
93# ----- Retry -----
94
95begin retry
96* * F,30m,5m;
97# End