From 56617bbe128f6115863ae5489b1bceb4a05ab8c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bla=C5=BE=20Zupan?= Date: Fri, 21 Oct 2022 16:42:33 -0700 Subject: [PATCH] Quote SMTP SIZE to avoid splitting keyword and parameter in EHLO response --- core/nginx/conf/nginx.conf | 2 +- towncrier/newsfragments/2485.bugfix | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 towncrier/newsfragments/2485.bugfix diff --git a/core/nginx/conf/nginx.conf b/core/nginx/conf/nginx.conf index 7c831f1d..f9278f38 100644 --- a/core/nginx/conf/nginx.conf +++ b/core/nginx/conf/nginx.conf @@ -288,7 +288,7 @@ mail { {% endif %} # Advertise real capabilities of backends (postfix/dovecot) - smtp_capabilities PIPELINING SIZE {{ MESSAGE_SIZE_LIMIT }} ETRN ENHANCEDSTATUSCODES 8BITMIME DSN; + smtp_capabilities PIPELINING "SIZE {{ MESSAGE_SIZE_LIMIT }}" ETRN ENHANCEDSTATUSCODES 8BITMIME DSN; pop3_capabilities TOP UIDL RESP-CODES PIPELINING AUTH-RESP-CODE USER; imap_capabilities IMAP4 IMAP4rev1 UIDPLUS SASL-IR LOGIN-REFERRALS ID ENABLE IDLE LITERAL+; diff --git a/towncrier/newsfragments/2485.bugfix b/towncrier/newsfragments/2485.bugfix new file mode 100644 index 00000000..2e12fe89 --- /dev/null +++ b/towncrier/newsfragments/2485.bugfix @@ -0,0 +1 @@ +Quote SMTP SIZE to avoid splitting keyword and parameter in EHLO response