gecos_name = CALLER_NAME
chunking_advertise_hosts = *
tls_advertise_hosts = ${if eq {SRV}{tls} {*}}
+.ifdef _HAVE_PIPE_CONNECT
+pipelining_connect_advertise_hosts =
+.endif
+.ifdef _HAVE_DMARC
+dmarc_tld_file =
+.endif
# ----- Main settings -----
primary_hostname = testhost.test.ex
domainlist local_domains = @ : test.ex
-acl_smtp_rcpt = accept
+acl_smtp_rcpt = acl_r
+
+.ifdef _HAVE_DKIM
+log_selector = +received_recipients +dkim_verbose
+.else
log_selector = +received_recipients
+.endif
+
.ifdef _OPT_MAIN_TLS_CERTIFICATE
tls_certificate = DIR/aux-fixed/cert1
tls_privatekey = DIR/aux-fixed/cert1
.endif
+queue_run_in_order = true
+
# ----- ACL -----
+begin acl
+acl_r:
+ accept condition = ${if != {$received_port}{PORT_S}}
+ control = queue_only
+ accept
+
# ----- Routers -----
begin routers
local_delivery:
driver = appendfile
- file = DIR/test-mail/$local_part
+ file = DIR/test-mail/${bless:$local_part}
headers_add = "X-body-linecount: $body_linecount\n\
X-message-linecount: $message_linecount\n\
X-received-count: $received_count"
driver = smtp
hosts = 127.0.0.1
port = PORT_D
+ hosts_try_fastopen = :
allow_localhost
remote_smtp_dkim:
driver = smtp
hosts = 127.0.0.1
port = PORT_D
+ hosts_try_fastopen = :
allow_localhost
.ifdef OPT