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