Bug#482609: kdepim-kio-plugins: kmail downloads the same messages in each mail check
I use kmail with spamassassin to get and read my e-mail. I receive tons of spam since my address is public (you can find it at a lot of
places, not the least Debian BTS) but I receive legitimate messages at the same address. It is an IMAP account.
Kmail regularly checks for new e-mail. It is normal to download complete messages to check them through spamassassin. But the problem is that
kmail, through kio-imap, download every message every time. So all messages are completely downloaded, checked and then reuploaded all times,
thus wasting a lot of bandwidth and (even worst) time.
Sometimes, so much time than the next regular check starts just after finishing uploading messages from the previous.
Is not possible to make kio-imap to cache which messages have been spamassassin checked?
Problem is reproducible:
1 take an IMAP account on some server
2 configure kmail to check that account regularly, with a relatively short period
3 configure kmail to check all incoming messages through spamassasin (standard local spamassassin)
4 publish your e-mail address
This problem causes another, harder one. Sometimes, if you have a small failure in your internet connexion, or just a burst of load, kmail
starts a new check without finishing the previous one, and shows you the same message several times on screen. It has happened a lot of
times, and I've checked into the server real directories and there are no such messages there. So there is some sort of caching, but it does
not work well. If you click one of the repeated messages, kmail downloads it and shows it to you. If you click the other, kmail shows you an
empty message. Refreshing does not help. Trying to move the "empty" message to another folder of the same IMAP account causes kmail to crash.
If you restart kmail almost immediately, since kio-imap4 is still alive, the problem persists and you still see duplicated messages (I've
seen once octuplicated messages, and several times triplicated and quadruplicated ones).
To put in one sentence: kmail+spamassassin on IMAP sucks (not intended to be offensive, just my feeling). And I need kmail and spamassasin
because my local folders are maildir and i receive tons (not uncommon 200/day) spam messages.
-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.24-1-686 (SMP w/2 CPU cores)
Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages kdepim-kio-plugins depends on:
ii kdelibs4c2a 4:3.5.9.dfsg.1-4 core libraries and binaries for al
ii kdepim-kresources 4:3.5.9-2 KDE pim resource plugins
ii libart-2.0-2 2.3.20-2 Library of functions for 2D graphi
ii libaudio2 1.9.1-2 Network Audio System - shared libr
ii libc6 2.7-10 GNU C Library: Shared libraries
ii libfontconfig1 2.5.0-2 generic font configuration library
ii libfreetype6 2.3.5-1+b1 FreeType 2 font engine, shared lib
ii libgcc1 1:4.3.0-3 GCC support library
ii libice6 2:1.0.4-1 X11 Inter-Client Exchange library
ii libidn11 1.8-1 GNU libidn library, implementation
ii libjpeg62 6b-14 The Independent JPEG Group's JPEG
ii libkcal2b 4:3.5.9-2 KDE calendaring library
ii libkdepim1a 4:3.5.9-2 KDE PIM library
ii libkmime2 4:3.5.9-2 KDE MIME interface library
ii libpng12-0 1.2.27-1 PNG library - runtime
ii libqt3-mt 3:3.3.8b-5 Qt GUI Library (Threaded runtime v
ii libsasl2-2 2.1.22.dfsg1-20 Cyrus SASL - authentication abstra
ii libsm6 2:1.0.3-1+b1 X11 Session Management library
ii libstdc++6 4.3.0-3 The GNU Standard C++ Library v3
ii libx11-6 2:1.0.3-7 X11 client-side library
ii libxcursor1 1:1.1.9-1 X cursor management library
ii libxext6 2:1.0.4-1 X11 miscellaneous extension librar
ii libxft2 2.1.12-2 FreeType-based font drawing librar
ii libxi6 2:1.1.3-1 X11 Input extension library
ii libxinerama1 2:1.0.3-1 X11 Xinerama extension library
ii libxrandr2 2:1.2.2-1 X11 RandR extension library
ii libxrender1 1:0.9.4-1 X Rendering Extension client libra
ii libxt6 1:1.0.5-3 X11 toolkit intrinsics library
ii zlib1g 1:184.108.40.206.dfsg-12 compression library - runtime
kdepim-kio-plugins recommends no packages.
-- no debconf information