summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2022-12-10 16:19:16 +0000
committerJeremy Harris <jgh146exb@wizmail.org>2022-12-10 16:19:16 +0000
commit4f7a93c27e3d43b44c42d3fc503f03b9b42ca622 (patch)
tree48ce964da76a3c72d792cab33448dc91bc780920 /doc
parent4243a209fd9499f30bebd58ceaa2d0d9845407ae (diff)
downloadexim4-4f7a93c27e3d43b44c42d3fc503f03b9b42ca622.tar.gz
Allow a forced-fail for banner expansion to close connection without panic-log
Diffstat (limited to 'doc')
-rw-r--r--doc/doc-docbook/spec.xfpt9
1 files changed, 7 insertions, 2 deletions
diff --git a/doc/doc-docbook/spec.xfpt b/doc/doc-docbook/spec.xfpt
index 1b3c2b454..75a53786d 100644
--- a/doc/doc-docbook/spec.xfpt
+++ b/doc/doc-docbook/spec.xfpt
@@ -17692,13 +17692,18 @@ This facility is only available on Linux.
.cindex "banner for SMTP"
.cindex "welcome banner for SMTP"
.cindex "customizing" "SMTP banner"
-This string, which is expanded every time it is used, is output as the initial
+If a connect ACL does not supply a message,
+this string (which is expanded every time it is used) is output as the initial
positive response to an SMTP connection. The default setting is:
.code
smtp_banner = $smtp_active_hostname ESMTP Exim \
$version_number $tod_full
.endd
-Failure to expand the string causes a panic error. If you want to create a
+.new
+Failure to expand the string causes a panic error;
+a forced fail just closes the connection.
+.wen
+If you want to create a
multiline response to the initial SMTP connection, use &"\n"& in the string at
appropriate points, but not at the end. Note that the 220 code is not included
in this string. Exim adds it automatically (several times in the case of a