Squashed commit of PIPE_CONNECT
[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} {*}}
ee8b8090
JH
13.ifdef _HAVE_PIPE_CONNECT
14pipelining_connect_advertise_hosts =
15.endif
328c5688
JH
16
17# ----- Main settings -----
18
19spool_wireformat = true
20
21primary_hostname = testhost.test.ex
22domainlist local_domains = @ : test.ex
23
014de25a 24acl_smtp_rcpt = acl_r
2c47372f
JH
25
26.ifdef _HAVE_DKIM
27log_selector = +received_recipients +dkim_verbose
28.else
328c5688 29log_selector = +received_recipients
2c47372f
JH
30.endif
31
328c5688
JH
32
33.ifdef _OPT_MAIN_TLS_CERTIFICATE
34tls_certificate = DIR/aux-fixed/cert1
35tls_privatekey = DIR/aux-fixed/cert1
36.endif
37
1c3c17d1
JH
38queue_run_in_order = true
39
328c5688
JH
40# ----- ACL -----
41
014de25a
JH
42begin acl
43acl_r:
44 accept condition = ${if != {$received_port}{PORT_S}}
45 control = queue_only
46 accept
47
328c5688
JH
48# ----- Routers -----
49
50begin routers
51
52to_server:
53 driver = accept
54 condition = ${if = {$received_port}{PORT_S}}
55 transport = remote_smtp${if eq {OPT}{dkim} {_dkim}}
56 errors_to = ""
57
58fail_remote_domains:
59 driver = redirect
60 domains = ! +local_domains
61 data = :fail: unrouteable mail domain "$domain"
62
63localuser:
64 driver = accept
65 transport = local_delivery
66
67
68# ----- Transports -----
69
70begin transports
71
72local_delivery:
73 driver = appendfile
74 file = DIR/test-mail/$local_part
75 headers_add = "X-body-linecount: $body_linecount\n\
76 X-message-linecount: $message_linecount\n\
77 X-received-count: $received_count"
78 return_path_add
79 user = CALLER
80
81remote_smtp:
82 driver = smtp
83 hosts = 127.0.0.1
84 port = PORT_D
85 allow_localhost
86
87remote_smtp_dkim:
88 driver = smtp
89 hosts = 127.0.0.1
90 port = PORT_D
91 allow_localhost
92
93.ifdef OPT
94 dkim_domain = test.ex
95 dkim_selector = sel
96 dkim_private_key = DIR/aux-fixed/dkim/dkim.private
97.ifndef HEADERS_MAXSIZE
98 dkim_sign_headers = LIST
99.endif
100.endif
101
102# ----- Retry -----
103
104begin retry
105* * F,30m,5m;
106# End