Package: courier-imap-ssl Version: 4.4.0-2 Severity: normal I use courier-imap on a central system to store my mail in Maildir directories (which IIRC is its native format), and synchronize my systems using offlineimap.
Lately, I've noticed that it takes a really, really long time to synchronize my mail. This seems to be due to the size of my spam mailbox, currently weighing in at some 45,000 messages. Each new message that gets uploaded to the server takes something like 20 seconds (going by an unscientific estimate). In contrast, mutt can read the whole directory in a few minutes. I also see slowness, although less severe, when synchronizing middling-sized mailboxes (a few thousand messages). If I strace the imapd process, I see that it's reading lots of directory entries: there are many pages of getdents(9, /* 49 entries */, 4096) = 4096 getdents(9, /* 48 entries */, 4096) = 4020 getdents(9, /* 48 entries */, 4096) = 4036 (...) It almost looks like imapd stats the entire directory every time it adds a new message. That would certainly explain what I'm seeing. Daniel -- System Information: Debian Release: lenny/sid APT prefers testing APT policy: (500, 'testing') Architecture: i386 (i686) Kernel: Linux 2.6.26-1-686 (SMP w/1 CPU core) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages courier-imap-ssl depends on: ii courier-imap 4.4.0-2 Courier mail server - IMAP server ii courier-ssl 0.60.0-2 Courier mail server - SSL/TLS Supp ii openssl 0.9.8g-13 Secure Socket Layer (SSL) binary a courier-imap-ssl recommends no packages. Versions of packages courier-imap-ssl suggests: ii courier-doc 0.60.0-2 Courier mail server - additional d ii evolution [imap-client] 2.22.3.1-1 groupware suite with mail client a ii kmail [imap-client] 4:3.5.9-5 KDE Email client ii mutt [imap-client] 1.5.18-4 text-based mailreader supporting M -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

