Testsuite: stabilize output sequence for case 0906
[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
29# ----- ACL -----
30
014de25a
JH
31begin acl
32acl_r:
33 accept condition = ${if != {$received_port}{PORT_S}}
34 control = queue_only
35 accept
36
328c5688
JH
37# ----- Routers -----
38
39begin routers
40
41to_server:
42 driver = accept
43 condition = ${if = {$received_port}{PORT_S}}
44 transport = remote_smtp${if eq {OPT}{dkim} {_dkim}}
45 errors_to = ""
46
47fail_remote_domains:
48 driver = redirect
49 domains = ! +local_domains
50 data = :fail: unrouteable mail domain "$domain"
51
52localuser:
53 driver = accept
54 transport = local_delivery
55
56
57# ----- Transports -----
58
59begin transports
60
61local_delivery:
62 driver = appendfile
63 file = DIR/test-mail/$local_part
64 headers_add = "X-body-linecount: $body_linecount\n\
65 X-message-linecount: $message_linecount\n\
66 X-received-count: $received_count"
67 return_path_add
68 user = CALLER
69
70remote_smtp:
71 driver = smtp
72 hosts = 127.0.0.1
73 port = PORT_D
74 allow_localhost
75
76remote_smtp_dkim:
77 driver = smtp
78 hosts = 127.0.0.1
79 port = PORT_D
80 allow_localhost
81
82.ifdef OPT
83 dkim_domain = test.ex
84 dkim_selector = sel
85 dkim_private_key = DIR/aux-fixed/dkim/dkim.private
86.ifndef HEADERS_MAXSIZE
87 dkim_sign_headers = LIST
88.endif
89.endif
90
91# ----- Retry -----
92
93begin retry
94* * F,30m,5m;
95# End