Hello,
an SMTP Server with strict_mime_encoding_domain=yes blocked some messages
(which was ... unexpected)
# postconf mail_version
mail_version = 3.7.4
# postconf -n
alias_maps =
maillog_file = /dev/stdout
smtpd_recipient_restrictions = defer
strict_mime_encoding_domain = yes
# postconf -M
smtp inet n - - - - smtpd
postlog unix-dgram n - - - 1 postlogd
proxymap unix - - - - - proxymap
rewrite unix - - - - - trivial-rewrite
cleanup unix n - - - 0 cleanup
# telnet localhost 25
220 d1fdbe288619.localdomain ESMTP Postfix
helo localhost
250 d1fdbe288619.localdomain
mail from:<>
250 2.1.0 Ok
rcpt to:<postmaster>
250 2.1.5 Ok
data
From: <sender>
To: <recipient>
Subject: invalid message?
Date: Sat, 01 Apr 2023 18:00:00 +0000
Message-Id: <message-id@domain>
Mime-Version: 1.0
Content-Type: multipart/signed;
boundary="mua-name=_some_random";
protocol="application/pkcs7-signature";
micalg=sha-256
Content-Transfer-Encoding: quoted-printable
--mua-name=_some_random
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
charset=utf-8
<text>
--mua-name=_some_random
Content-Disposition: attachment;
filename=smime.p7s
Content-Type: application/pkcs7-signature;
name=smime.p7s
Content-Transfer-Encoding: base64
<signature>
--mua-name=_some_random--
.
550 5.6.0 invalid message/* or multipart/* encoding domain
https://www.postfix.org/postconf.5.html#strict_mime_encoding_domain mention it:
"This blocks mail from poorly written software"
Well, the MUA is "Apple Mail" ...
I can't tell for sure if the message data is valid Mime.
Andreas
_______________________________________________
Postfix-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]