Bug 306123 - Invalid headers after spam filtering
Summary: Invalid headers after spam filtering
Status: RESOLVED WORKSFORME
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: Mail Filter Agent (show other bugs)
Version: 4.9
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2012-09-01 08:44 UTC by S. Burmeister
Modified: 2018-10-27 03:37 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description S. Burmeister 2012-09-01 08:44:15 UTC
I have set-up bogofilter via the anti-spam assistant for my online imap account. whenever spam is filtered akonadi shows

"Message contains invalid header"

IMAP log:
C: A000159 APPEND "INBOX" (\Seen $JUNK) {7031}
S: + go ahead
C: Received: from mx-out-2.domain.de ([123.123.123.123]) by mta-1.ms.rz.domain.de (Sun Java(tm) System Messaging Server 6.3-7.04 (built Sep 26 2008)) with ESMTP id <0M9N00H1EQF48GD0@mta-1.ms.rz.domain.de> for username@domain.de; Sat, 01 Sep 2012 08:09:08 +0200 (CEST)
Received: from mx0.gmx.net ([213.165.64.100]) by mx-2.rz.domain.de with SMTP; Sat, 01 Sep 2012 08:09:08 +0200
Received: (qmail 24672 invoked by alias); Sat, 01 Sep 2012 06:09:08 +0000
Received: (qmail invoked by alias); Sat, 01 Sep 2012 06:09:07 +0000
Received: from mailsrv2.gba.gov.ar (EHLO mailsrv2.gba.gov.ar) [170.155.5.247] by mx0.gmx.net (mx032) with SMTP; Sat, 01 Sep 2012 08:09:07 +0200
Received: from localhost (localhost [127.0.0.1]) by mailsrv2.gba.gov.ar (Postfix) with ESMTP id 927EA28830B; Sat, 01 Sep 2012 02:49:51 -0300 (ART)
Received: from mailsrv2.gba.gov.ar ([127.0.0.1]) by localhost (mailsrv2.gba.gov.ar [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id aUu4nWihstLZ; Sat, 01 Sep 2012 02:49:51 -0300 (ART)
Received: from localhost (hosting2.gba.gov.ar [10.1.1.48]) by mailsrv2.gba.gov.ar (Postfix) with ESMTP id F1F56288305; Sat, 01 Sep 2012 02:49:49 -0300 (ART)
Received: from 41.138.181.113 (41.138.181.113 [41.138.181.113]) by webmail.gba.gov.ar (Horde Framework) with HTTP; Sat, 01 Sep 2012 02:49:11 -0300
Date: Sat, 01 Sep 2012 02:49:11 -0300
From: ABN AMRO <noreply@abnamro.nl>
Subject: *****SPAM***** *** GMX Spamverdacht ***
X-Resent-to: username@domain.de
To
Message-ID: <20120901024911.17534jz4t98ybuo0@webmail.gba.gov.ar>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="=_4dmrxnj60vk0"
Content-Transfer-Encoding: 7bit
Delivered-to: GMX delivery to username@gmx.net
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: Av//AHmlQVDVpUBklGdsb2JhbAAxFBGkQII0aCKBZiZQAgFKAQEBAQEBIwEBgg9FSQZigl6BK4YuAX0kAQEBAQkLCQkUAyMBDwIQAQGBAQcBAQIBAQEBAQEBUAEBAQ8WCoEHKgECNAw4AQWFfoIUAgQCBSmONQKDKgGHI4MijU6QI4sNgw90AVEBAQEkgSCBBwMujGuIPgeSRUwtAoEREgEBAQEBAQEBAQE
X-Spam-Flag: YES
X-IronPort-AV: E=Sophos;i="4.80,351,1344204000"; d="scan'208,217";a="102094972"
X-GMX-Antispam: 5 (eXpurgate); Detail=5D7Q89H36p65SUPuix4GyFaJ1s0knZYr7CDVN59wl7zam1cH15RdTyzqmA8SA1MFT/4Qq 3O4pQPYN97iIg+DGJEcJ2laAlmF93Xc5uvJnsAYQGbg8Rj0UISq7tjBmBf6jDjwRayzSME3bmJ9u SXEh6AUuYWnK3P1EGstHOTdaorVV8JiGRpD7bP0RyU+K+6du5NoKqH4cRQyM18G8Z9AZA==V1;
X-Resent-By: Forwarder <forwarder@gmx.net>
X-Resent-For: username@gmx.net
User-Agent: Internet Messaging Program (IMP) H3 (4.3.7)
X-Bogosity: Spam, tests=bogofilter, spamicity=1.000000, version=1.2.1

This message is in MIME format.

--=_4dmrxnj60vk0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Description: =?ISO-8859-1?Q?Versi=F3n?= de texto del mensaje
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable


Geachte klant,=20

De ABN-AMRO spendeert veel aandacht en zorg aan de beveiliging en integrite=
it van al onze bankrekeningen. Graag vragen wij u dan ook aandacht voor het=
 volgende. Afgelopen jaar is de ABN AMRO, samen met veel andere nederlandse=
 banken, doelwit geworden van grootschalig internetfraude. Daarom zijn wij =
afgelopen maanden een grootschalig project gestart om dit te bestrijden. Al=
le online bankrekeningen dienen te worden gekoppeld aan een nieuw ontwikkel=
d beveiligingssysteem, waarmee verdachte bewegingen en ontwikkelingen op uw=
 online bankrekening sneller worden getraceerd en opgelost.=20

Er is geconstateerd dat uw online ABN-AMRO rekening nog niet voorzien is va=
n het nieuwe beveiligingssysteem.Wij vragen u dan ook 5-10 minuten van uw t=
ijd om deze update compleet te maken, om zo de beveiliging te voltooien.=20

Gebruikt u onderstaande link: Login Identificatie[1]

Na de update zal er door een van onze medewerkers nog contact met u worden =
opgenomen om het gehele proces te voltooien. Wanneer het gehele proces gere=
ed is zal u weer als vanouds gebruik kunnen maken van het online bankieren =
via ABN-AMRO. Wij willen u alvast bedanken voor uw medewerking.=20

Hoogachtend,=20

Klantenservice=20

Marion CROLE

ABN-AMRO ONLINE Copyright 2012, ABN AMRO NETHERLANDS. All rights reserved

V=EDnculos:
---------
[1] http://anacapadentalrepair.com/login/abn-server.login.html


----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
--=_4dmrxnj60vk0
Content-Type: text/html; charset="ISO-8859-1"
Content-Description: =?ISO-8859-1?Q?Versi=F3n?= HTML del mensaje
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <title></title>
    </head>
    <body>
        <p>
            <br />
            Geachte klant,<br />
            <br />
            De ABN-AMRO spendeert veel aandacht en zorg aan de beveiliging en integriteit van al onze bankrekeningen. Graag vragen wij u dan ook aandacht voor het volgende. Afgelopen jaar is de ABN AMRO, samen met veel andere nederlandse banken, doelwit geworden van grootschalig internetfraude. Daarom zijn wij afgelopen maanden een grootschalig project gestart om dit te bestrijden. Alle online bankrekeningen dienen te worden gekoppeld aan een nieuw ontwikkeld beveiligingssysteem, waarmee verdachte bewegingen en ontwikkelingen op uw online bankrekening sneller worden getraceerd en opgelost.<br />
            <br />
            <br />
            Er is geconstateerd dat uw online ABN-AMRO rekening nog niet voorzien is van het nieuwe beveiligingssysteem.Wij vragen u dan ook 5-10 minuten van uw tijd om deze update compleet te maken, om zo de beveiliging te voltooien.<br />
            <br />
            <br />
            Gebruikt u onderstaande link: <a href="http://anacapadentalrepair.com/login/abn-server.login.html" target="_blank">Login Identificatie</a><br />
            <br />
            <br />
            Na de update zal er door een van onze medewerkers nog contact met u worden opgenomen om het gehele proces te voltooien. Wanneer het gehele proces gereed is zal u weer als vanouds gebruik kunnen maken van het online bankieren via ABN-AMRO. Wij willen u alvast bedanken voor uw medewerking.<br />
            <br />
            <br />
            Hoogachtend,<br />
            <br />
            <br />
            Klantenservice<br />
            <br />
            Marion CROLE<br />
            <br />
        </p>
        <div>
            ABN-AMRO ONLINE Copyright 2012, ABN AMRO NETHERLANDS. All rights reserved
        </div>
        <p>
            <br />
            <br />
            ----------------------------------------------------------------<br />
            This message was sent using IMP, the Internet Messaging Program.<br />
        </p>
    </body>
</html>
--=_4dmrxnj60vk0--
S: A000159 NO Message contains invalid header

Reproducible: Always
Comment 1 András Manţia 2012-10-13 11:04:54 UTC
The error comes from the IMAP server, not from KMail (as the log also shows). Now the problem is that it doesn't say which header it didn't like. To see if this is a filtering bug or not, can you try the follow: save the message, run the spam filter in manually, copy the message in a maildir folder on the disk (kmail should recognize it if you use maildir resource and show it in the tree), then try to copy inside kmail into the imap folder, so it uploads there.
Comment 2 András Manţia 2013-11-17 11:23:08 UTC
Do you still see an error like this?
Comment 3 Andrew Crouthamel 2018-09-25 03:38:47 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Andrew Crouthamel 2018-10-27 03:37:17 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!