Bug#524797: kmail: bug with sync of DIMAP account when using filters

2009-04-19 Thread Christian Schneider
Package: kmail
Version: 4:3.5.9-5
Severity: normal

Hi folks,

after an upgrade from etch to lenny KMail shows the following strange
behaviour:

I use filters to move mails from the INBOX of an DIMAP account to 
subdirectories of that account. If all works correctly, my INBOX will 
always be empty at the end of a sync. After the upgrade of my system I 
synced the account twice with the result that there were two copies of 
all new mails in the correct subdirectories; the INBOX was empty in my 
local copy. Further syncs lead to further copies of these new mails in
the subdirectories, while INBOX remained empty.

Interestingly, INBOX still held these new mails on the server. Even 
syncing of only the empty local INBOX with F5 did not lead to a removal 
of the mails on the server (or an appearance in the local directory),
but just further copies of the mails in the subdirectories. Repairing
the index/cache did not solve the problem either.

This problem will inudate the subdirectories with a large number of 
copies of the same mails, if automatic syncing is used, and will make 
filtering impossible.

Thanks in advance.

Cheers,
Christian

-- System Information:
Debian Release: 5.0.1
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages kmail depends on:
ii  kdebase-kio-plug 4:3.5.9.dfsg.1-6core I/O slaves for KDE
ii  kdelibs4c2a  4:3.5.10.dfsg.1-0lenny1 core libraries and binaries for al
ii  kdepim-kio-plugi 4:3.5.9-5   KDE pim I/O Slaves
ii  libart-2.0-2 2.3.20-2Library of functions for 2D graphi
ii  libaudio21.9.1-5 Network Audio System - shared libr
ii  libc62.7-18  GNU C Library: Shared libraries
ii  libfontconfig1   2.6.0-3 generic font configuration library
ii  libfreetype6 2.3.7-2 FreeType 2 font engine, shared lib
ii  libgcc1  1:4.3.2-1.1 GCC support library
ii  libice6  2:1.0.4-1   X11 Inter-Client Exchange library
ii  libidn11 1.8+20080606-1  GNU libidn library, implementation
ii  libjpeg626b-14   The Independent JPEG Group's JPEG 
ii  libkcal2b4:3.5.9-5   KDE calendaring library
ii  libkdepim1a  4:3.5.9-5   KDE PIM library
ii  libkleopatra14:3.5.9-5   KDE GnuPG interface libraries
ii  libkmime24:3.5.9-5   KDE MIME interface library
ii  libkpimidentitie 4:3.5.9-5   KDE PIM user identity information 
ii  libksieve0   4:3.5.9-5   KDE mail/news message filtering li
ii  libmimelib1c2a   4:3.5.9-5   KDE mime library
ii  libpng12-0   1.2.27-2+lenny2 PNG library - runtime
ii  libqt3-mt3:3.3.8b-5  Qt GUI Library (Threaded runtime v
ii  libsm6   2:1.0.3-2   X11 Session Management library
ii  libstdc++6   4.3.2-1.1   The GNU Standard C++ Library v3
ii  libx11-6 2:1.1.5-2   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-3FreeType-based font drawing librar
ii  libxi6   2:1.1.4-1   X11 Input extension library
ii  libxinerama1 2:1.0.3-2   X11 Xinerama extension library
ii  libxrandr2   2:1.2.3-1   X11 RandR extension library
ii  libxrender1  1:0.9.4-2   X Rendering Extension client libra
ii  libxt6   1:1.0.5-3   X11 toolkit intrinsics library
ii  perl 5.10.0-19   Larry Wall's Practical Extraction 
ii  zlib1g   1:1.2.3.3.dfsg-12   compression library - runtime

Versions of packages kmail recommends:
ii  kmailcvt  4:3.5.9-5  KDE KMail mail folder converter
ii  procmail  3.22-16Versatile e-mail processor

Versions of packages kmail suggests:
ii  bogofilter   1.1.7-1 a fast Bayesian spam filter (dummy
ii  clamav   0.94.dfsg.2-1lenny2 anti-virus utility for Unix - comm
ii  gnupg1.4.9-3 GNU privacy guard - a free PGP rep
ii  gnupg-agent  2.0.9-3.1   GNU privacy guard - password agent
ii  kaddressbook 4:3.5.9-5   KDE NG addressbook application
ii  kleopatra4:3.5.9-5   KDE Certificate Manager
ii  pinentry-qt [pinentr 0.7.5-2.1   Qt-based PIN or pass-phrase entry 
ii  spamassassin 3.2.5-2 Perl-based spam filter using text 

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-qt-kde-requ...@lists.debian.org
with a subject of "unsubscribe". T

Bug#524797: Additional note on how to reproduce/Workarounds

2009-04-20 Thread Christian Schneider
Hi again,

I found two workarounds for this bug:
1) a change of the filter type: copying mails to subdirs instead of
   moving (INBOX has to be cleaned manually)
2) adding a placeholder mail in INBOX that is not filtered/moved away

The bug seems to occur only, when INBOX is empty in the local copy and 
the filters move *all* mails from INBOX to other directories when 
syncing.

Thanks in advance for your help.

Cheers,
Christian



-- 
To UNSUBSCRIBE, email to debian-qt-kde-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org