Bug#369854: IMAP search fails (kmail hangs) if squatter was not run
Package: kmail
Version: 4:3.5.2-1+b2
Severity: normal
Tags: patch
When searching through IMAP folders using the find dialog the search
will never finish and the server's log file may contain messages like:
alpha0 cyrus/imapd[15153]: SQUAT failed to open index
alpha0 cyrus/imapd[15153]: SQUAT failed
The Debian cyrus21 packages does not configure squatter to be run (as
an event) automatically. The package does give no hints to admins how
to do so. Please Fix the Debian documentation ...
Here is a little script that demonstrates how to run squatter:
#!/bin/bash
while : ; do
read mbox x || break
echo "$mbox"
/usr/sbin/squatter -s "$mbox"
done <<!
$(/usr/sbin/ctl_mboxlist -d)
!
# End
The script must be run as user cyrus, try:
su cyrus -c ./run_squatter
If these problems can be solved (kmail should not hang, Debian
should add some cyrus21 docu) users will become quite happy as
searches now are really fast! Nice kmail feature, Thanks!
-- System Information:
Debian Release: testing/unstable
APT prefers testing
APT policy: (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-14-amd
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Versions of packages kmail depends on:
ii kdebase-kio-plugins 4:3.5.2-2+b1 core I/O slaves for KDE
ii kdelibs4c2a 4:3.5.2-2+b1 core libraries for all KDE applica
ii kdepim-kio-plugins 4:3.5.2-1+b2 KDE pim I/O Slaves
ii libart-2.0-2 2.3.17-1 Library of functions for 2D graphi
ii libaudio2 1.7-9 The Network Audio System (NAS). (s
ii libc6 2.3.6-7 GNU C Library: Shared libraries
ii libfontconfig1 2.3.2-5.1 generic font configuration library
ii libfreetype6 2.2.1-2 FreeType 2 font engine, shared lib
ii libgcc1 1:4.1.0-4 GCC support library
ii libice6 6.9.0.dfsg.1-6 Inter-Client Exchange library
ii libidn11 0.5.18-2 GNU libidn library, implementation
ii libjpeg62 6b-13 The Independent JPEG Group's JPEG
ii libkcal2b 4:3.5.2-1+b2 KDE calendaring library
ii libkdepim1a 4:3.5.2-1+b2 KDE PIM library
ii libkleopatra1 4:3.5.2-1+b2 KDE GnuPG interface libraries
ii libkmime2 4:3.5.2-1+b2 KDE MIME interface library
ii libkpimidentities1 4:3.5.2-1+b2 KDE PIM user identity information
ii libksieve0 4:3.5.2-1+b2 KDE mail/news message filtering li
ii libmimelib1c2a 4:3.5.2-1+b2 KDE mime library
ii libpng12-0 1.2.8rel-5.1 PNG library - runtime
ii libqt3-mt 3:3.3.6-2 Qt GUI Library (Threaded runtime v
ii libsm6 6.9.0.dfsg.1-6 X Window System Session Management
ii libstdc++6 4.1.0-4 The GNU Standard C++ Library v3
ii libx11-6 6.9.0.dfsg.1-6 X Window System protocol client li
ii libxcursor1 1.1.3-1 X cursor management library
ii libxext6 6.9.0.dfsg.1-6 X Window System miscellaneous exte
ii libxft2 2.1.8.2-5.1 FreeType-based font drawing librar
ii libxi6 6.9.0.dfsg.1-6 X Window System Input extension li
ii libxinerama1 6.9.0.dfsg.1-6 X Window System multi-head display
ii libxrandr2 6.9.0.dfsg.1-6 X Window System Resize, Rotate and
ii libxrender1 1:0.9.0.2-1 X Rendering Extension client libra
ii libxt6 6.9.0.dfsg.1-6 X Toolkit Intrinsics
ii perl 5.8.8-4 Larry Wall's Practical Extraction
ii zlib1g 1:1.2.3-11 compression library - runtime
Versions of packages kmail recommends:
ii kdebase-kio-plugins 4:3.5.2-2+b1 core I/O slaves for KDE
ii kdepim-kio-plugins 4:3.5.2-1+b2 KDE pim I/O Slaves
ii procmail 3.22-16 Versatile e-mail processor
-- no debconf information
Reply to: