hello,
i am using dovecot 1.0.rc15-1~bpo1 (from backports.org) on an debian sarge machine as lda imapd and pop3d with postfix 2.1.5-9.
sometimes docvecot lda cannot write an mail to an existing mbox-file and the logfiles fills up with:
deliver(user1@domain.tld): "2007-04-22 23:17:32 "Error: Cached message offset 6937844 is invalid for mbox file /home/vmail/domain.tld/user1 deliver(user1@domain.tld): "2007-04-22 23:17:32 "Error: Cached message offset 6937844 is invalid for mbox file /home/vmail/domain.tld/user1 deliver(user1@domain.tld): "2007-04-22 23:17:32 "Error: Cached message offset 6937844 is invalid for mbox file /home/vmail/domain.tld/user1 deliver(user1@domain.tld): "2007-04-22 23:17:32 "Error: Cached message offset 6937844 is invalid for mbox file /home/vmail/domain.tld/user1
40 lines from this per second and will never stop! i need to stop postfix and dovecot, kill -9 the deliver-process, fix the mbox (unlock it with mutt) and start dovecot and postfix again. then the mail will be deliverd without errors.
some minutes to hours later i got the same problem with a random user and domain.
my configs:
/etc/postfix/main.cf: : virtual_mailbox_domains = /etc/postfix/virtual_domains virtual_mailbox_base = /home/vmail virtual_mailbox_maps = hash:/etc/postfix/virtual_boxes virtual_alias_maps = hash:/etc/postfix/virtual_user virtual_minimum_uid = 100 virtual_uid_maps = static:1005 virtual_gid_maps = static:1005 virtual_transport = dovecot dovecot_destination_recipient_limit = 1 :
/etc/postfix/master.cf: : # dovecot lda # ============================================================================== # service type private unpriv chroot wakeup maxproc # command + args # (yes) (yes) (yes) (never) (100) # ============================================================================== dovecot unix - n n - - pipe flags=DRhu user=vmail:vmail argv=/usr/lib/dovecot/deliver -d ${recipient}
the dovecot.conf is attached, the mailuser-file looks like:
user1@domain.tld:password:1005:1005::/home/vmail/domain.tld
can someone help?
thanks a lot.
regards thomas
-- thomas balsfulland tbals@ctrl-c.de zwischen mut und dummheit liegt nur ein grat der sich durch das vorbereitetsein unterscheidet
As far as I can remember, there were a bunch of mbox-related fixes somewhere around RC25 - RC30. You may try 1.0.0 stable.
Láďa
-----Original Message----- From: dovecot-bounces@dovecot.org [mailto:dovecot-bounces@dovecot.org] On Behalf Of Thomas Balsfulland Sent: Sunday, April 22, 2007 11:53 PM To: dovecot@dovecot.org Subject: [Dovecot] lda reports a lot of errors
hello,
i am using dovecot 1.0.rc15-1~bpo1 (from backports.org) on an debian sarge machine as lda imapd and pop3d with postfix 2.1.5-9.
sometimes docvecot lda cannot write an mail to an existing mbox-file and the logfiles fills up with:
On Sun, 2007-04-22 at 23:53 +0200, Thomas Balsfulland wrote:
hello,
i am using dovecot 1.0.rc15-1~bpo1 (from backports.org) on an debian sarge machine as lda imapd and pop3d with postfix 2.1.5-9.
sometimes docvecot lda cannot write an mail to an existing mbox-file and the logfiles fills up with:
deliver(user1@domain.tld): "2007-04-22 23:17:32 "Error: Cached message offset 6937844 is invalid for mbox file /home/vmail/domain.tld/user1
You seem to be using maildir++ quota with mboxes. Does that actually work? I never intended it to work at least. :)
Anyway there have been a lot of mbox fixes since rc15. Also there has been one mbox+quota fix after v1.0: http://dovecot.org/list/dovecot-cvs/2007-April/008722.html
With v1.0 + the above patch this invalid mbox offset error should never happen anymore.
40 lines from this per second and will never stop!
I'm not sure why it would do infinite looping though, although I do remember fixing one such problem with mboxes at some point.
participants (3)
-
Láďa
-
Thomas Balsfulland
-
Timo Sirainen