[Bug 289277] kmail_clamav.sh causes email duplication

Jörg Schaible joerg.schaible at gmx.de
Sat Mar 3 22:46:33 GMT 2012


https://bugs.kde.org/show_bug.cgi?id=289277

--- Comment #2 from Jörg Schaible <joerg.schaible at gmx.de> ---
More to come: After some while I realized that this picture is not complete,
because I have clamav only installed on my server. On the client there is no AV
software, but nevertheless I had two active filters (actually *I* never added
them): First one calling the Sophos script on incoming mails and the second one
moving mails to a quarantine folder. A look at the kmail_sav.sh showed that
it's similar made to the one calling clamav.

There are two different effects on the mails: Many get a new X-Virus-Flag with
each scan at the top, and some will double their size every time. The latter
typically happens for multipart mails.

However, after searching the source repository for those two scripts, I had to
detect that these have not been touched for years. And a test from command-line
showed that I can pipe such an email that normally doubles its size quite
normally through the script. This means that KMail itself behaves now different
compared to older versions in conjunction of its mail filters and IMAP
accounts.

As additional proof I deactivated those two rules for incoming mails. As result
my mails stay untouched on the IMAP server. When I trigger those two filters
manually now, I can observe the bogus behavior of additional X-Virus-Flags and
sometimes doubled mail size for the scanned mail again.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Kdepim-bugs mailing list