Re: vdelivermail writes the wrong ,S= value when spamassassin is enabled

Rolf Eike Beer <[email protected]> Thu, 17 Sep 2015 19:40:23 +0200
Newsgroups gmane.mail.vpopmail
Message-ID <[email protected]>
--DSPAM_MULTIPART_EX-4155
Content-Type: multipart/signed; boundary="nextPart5369864.T7rSAYEnkp"; micalg="pgp-sha1"; protocol="application/pgp-signature"

--nextPart5369864.T7rSAYEnkp
Content-Transfer-Encoding: 7Bit
Content-Type: text/plain; charset="us-ascii"

> When spamassassin is enabled but maildrop is not I see failed assertions in
> dovecots POP server[2], which are caused by vdelivermail using a wrong
> filename. The filename, more exactly the S=<size> value is calculated
> _before_ the mail is piped into spamassassin, which adds two more header
> lines with it's scan results, so the actual size afterwards is bigger than
> what is recorded. The attached patch #5 fixes this for me, with some
> cleanups in #1-#4 I did on the way to find the culprit.

Ping?
--nextPart5369864.T7rSAYEnkp
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part.
Content-Transfer-Encoding: 7Bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)

iEYEABECAAYFAlX6+w0ACgkQXKSJPmm5/E6FjACdHDhk7DsFOuDMEq2QrzDdceKu
k2UAniTVJUMNIxIDhiGNuKpn7o97Qp+i
=suCX
-----END PGP SIGNATURE-----

--nextPart5369864.T7rSAYEnkp--

--DSPAM_MULTIPART_EX-4155
Content-Type: text/plain
X-DSPAM-Signature: 55fafb1041552455840022

!DSPAM:55fafb1041552455840022!
--DSPAM_MULTIPART_EX-4155--