I'd like to provide additional information about this problem:
$ grep -v '^ *#' /etc/dovecot/dovecot.conf |grep -v '^ *$' protocols = imap imaps pop3 pop3s ssl_cert_file = /etc/postfix/cert.pem ssl_key_file = /etc/postfix/key.pem default_mail_env = maildir:/home/%u/.imap lock_method = fcntl protocol imap { } protocol pop3 { pop3_uidl_format = %08Xu%08Xv } protocol lda { postmaster_address = postmaster@localhost.localdomain } auth default { mechanisms = plain passdb pam { } userdb passwd { } user = root } plugin { }
I've tried with lock_method=flock with the same results.
Thunderbird easily copy/move multiple messages from dovecot's folders to local mail folders and from local mail folders to dovecot's, so I have now workaround for this dovecot's problem.
-- Sergey Ivanov.
Sergey Ivanov wrote:
Hi, I'm trying to use dovecot-1.0.rc7.
Before I've used dovecot-1.0 from nightly cvs build of August 08, 2006. It worked perfectly, on Linux 64-bit, you can see spec and patches at http://www.sisyphus.ru/srpm/dovecot/
When I tried to upgrade to rc7 and to recent nightly cvs builds with the same configuration and patches (provided necessary adaptations), it builds O.K, but can not move messages from folder to folder.
I've tried the following mail clients: thunderbird-1.5.0.7, evolution-2.0.2, sylpheed-claws-2.0 and KMail-1.7.1 (all from Centos-4.4). KMail refuses to copy (or to move) multiple selected messages, saying:" Error while copying messages.Connection to Server Closed Unexpectedly ...". Evolution is not able to open folders at 3-rd level (like dovecot/2006/09), or it is so slow that I was not able to test moving/copying messages in it. Sylpheed-claws died whan I tried this message copying. Thunderbird tries to move infinetly in a loop, filling the dovecot's log with lines:
Sep 28 12:56:25 alt64 dovecot: imap-login: Login: user=<seriv>, method=plain, rip=66.80.117.2, lip=192.168.10.8, TLS Sep 28 12:56:25 alt64 dovecot: IMAP(seriv): file mail-cache-transaction.c: line 709 (mail_cache_add): assertion failed: (fixed_size == (unsigned int)-1 || fixed_size == data_size) Sep 28 12:56:25 alt64 dovecot: child 25177 (imap) killed with signal 6 Sep 28 12:56:25 alt64 dovecot: imap-login: Login: user=<seriv>, method=plain, rip=66.80.117.2, lip=192.168.10.8, TLS Sep 28 12:56:25 alt64 dovecot: IMAP(seriv): file mail-cache-transaction.c: line 709 (mail_cache_add): assertion failed: (fixed_size == (unsigned int)-1 || fixed_size == data_size) Sep 28 12:56:25 alt64 dovecot: child 25183 (imap) killed with signal 6
(approximitely 2 cicles per second).
And when I reinstalled back the previously worked version of dovecot, the problem remains.