[Bug 289277] kmail_clamav.sh causes email duplication

Jörg Schaible joerg.schaible at gmx.de
Mon Feb 27 18:43:44 GMT 2012


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


Jörg Schaible <joerg.schaible at gmx.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |joerg.schaible at gmx.de




--- Comment #1 from Jörg Schaible <joerg schaible gmx de>  2012-02-27 18:43:43 ---
Please raise the priority of this issue to BLOCKER!

I have also an IMAP mail resource with offline support configured, but it seems
that the mails are scanned over time a multiple times and always synchronized
back to the server. Finally the mails in your inbox are so big that they will
cause KMail to crash at startup (after the process has allocated more that
4.1GB any your system came nearly to halt because of major IO/swap activity).

My IMAP server stores the mails in maildir format so I can document the
situation with my weekly backups:

============== %< ===============
$ grep 'From: Ihre Kabel BW Rechnung'
/mnt/backup/bobbel/data/2012*/tree/home/joehni/.maildir/cur/*,
/mnt/backup/bobbel/data/20120218/tree/home/joehni/.maildir/cur/1329496927.M115320P9137V0000000000000805I0000000000BC65BE_13.bobbel,S=554121:2,:From:
Ihre Kabel BW Rechnung <Rechnung at kabelbw.de>
/mnt/backup/bobbel/data/20120225/tree/home/joehni/.maildir/cur/1330120476.M846151P26094V0000000000000805I0000000000BC66F0_11.bobbel,S=70756792:2,:From:
Ihre Kabel BW Rechnung <Rechnung at kabelbw.de>
$ grep 'From: Ihre Kabel BW Rechnung' *,
1330174529.M466689P16617V0000000000000805I0000000000BC66EE_9.bobbel,S=566044139:2,:From:
Ihre Kabel BW Rechnung <Rechnung at kabelbw.de>
============== %< ===============

This means the same mail that was about 554KB at 18th of February, had already
70MB at 25th Feb and is now allocating 566MB. And this is only the biggest one.
Just look at this:

============= %< ================
$ grep "X-Virus-Flag" * | uniq -c | grep -v " 1 "     13
1330174529.M466689P16617V0000000000000805I0000000000BC66EE_9.bobbel,S=566044139:2,:X-Virus-Flag:
no
     25
1330176498.M279069P16857V0000000000000805I0000000000BC66F0_0.bobbel,S=1584:2,S:X-Virus-Flag:
no
     37
1330176498.M560560P16857V0000000000000805I0000000000BC66F9_1.bobbel,S=6018:2,S:X-Virus-Flag:
no
     24
1330361383.M783239P16209V0000000000000805I0000000000BC260A_7.bobbel,S=2009:2,:X-Virus-Flag:
no
============= %< ================

Means this monster mail has been scanned already 13 times, but others in my
inbox have been scanned a lot more. Remember, that the mail doubles its size
with each scan i.e. the mail's size is increased exponentially!

Wonder, how I can cleanup this mess on the server again ...

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Kdepim-bugs mailing list