Bug#806717: Forwarding email with a long header causes longer than 998 byte lines
I received an email with a x-ms-exchange-antispam-messagedata-0: header
and I tried to forward it with kmail.
That caused error message:
"The server said: maximum allowed line length is 998 octets, got 1702"
In the original message, the header was split into multiple lines like
this:
x-ms-exchange-antispam-messagedata-0:
=?iso-8859-1?Q?X9nvzr27qYcmEJpSHcp6K5gWYoBjPRlTmpppdR4VrmwY1cP0Mp4QNB9+kY?=
=?iso-8859-1?Q?ZWd5EsMdHUa4x0pKA1ObLVns8RuLFV3mCsHlMT31xBfLxra6jZ+p5hbSHx?=
But when the message was forwarded with kmail, the header
turned into one too long line:
x-ms-exchange-antispam-messagedata-0: lwf7pdVSQS1T...
It seems that kmail has more than one header "fixing" problem.
Reply to: