Re: [Dovecot] repeat downloads of message headers in 1.0rc19
I reported this against rc7 and rc8, and still see it occasionally. (I'm running the rc8 that comes with Fedora 5).
It is always associated with this message in dovecot.log:
dovecot: Oct 23 19:26:17 Error: POP3(user@domain.tld): mbox sync: UID inserted in the middle of mailbox /var/mail/vhosts/domain.tld/user (12 > 4, seq=2, idx_msgs=5)
Once this happens, dovecot will refuse to clear out the mbox file when the user retrieves email via POP. Each time the user logs in to retrieve mail s/he gets everything in the mbox, which continues to grow. The only fix I've been able to find is to manually delete the mbox file.
I'm using postfix as the MTA.
Jim Garrison wrote:
I reported this against rc7 and rc8, and still see it occasionally. (I'm running the rc8 that comes with Fedora 5).
It is always associated with this message in dovecot.log:
dovecot: Oct 23 19:26:17 Error: POP3(user@domain.tld): mbox sync: UID inserted in the middle of mailbox /var/mail/vhosts/domain.tld/user (12 > 4, seq=2, idx_msgs=5)
This isn't the same issue, I think. I don't see my problem with rc18, and in rc19 there are no errors in the Dovecot log. My suspicion is the change in
http://www.dovecot.org/list/dovecot-cvs/2007-January/007505.html
but I've not worked out why yet :) The problem shows up when the INBOX is expunged, messages thought to be seen are suddenly unseen again.
Chris
-- --+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+- Christopher Wakelin, c.d.wakelin@reading.ac.uk IT Services Centre, The University of Reading, Tel: +44 (0)118 378 8439 Whiteknights, Reading, RG6 2AF, UK Fax: +44 (0)118 975 3094
On Mon, Jan 29, 2007 at 10:35:19PM +0000, Chris Wakelin wrote:
Jim Garrison wrote:
I reported this against rc7 and rc8, and still see it occasionally. (I'm running the rc8 that comes with Fedora 5).
It is always associated with this message in dovecot.log:
dovecot: Oct 23 19:26:17 Error: POP3(user@domain.tld): mbox sync: UID inserted in the middle of mailbox /var/mail/vhosts/domain.tld/user (12 > 4, seq=2, idx_msgs=5)
This isn't the same issue, I think. I don't see my problem with rc18, and in rc19 there are no errors in the Dovecot log. My suspicion is the change in
http://www.dovecot.org/list/dovecot-cvs/2007-January/007505.html
but I've not worked out why yet :) The problem shows up when the INBOX is expunged, messages thought to be seen are suddenly unseen again.
For what it's worth, we were seeing random messages going from seen to unseen in user's inboxes. It was very annoying and would sometimes always leave one message unseen no matter what you did, and other times would revert an entire mailbox back to being unseen.
Turns out that turning off lazy writes fixed the problem. Apparantely there is something broken in rc19 that fails to ever properly write out seen/unseen data when lazy writes are enabled.
-- Dean Brooks dean@iglou.com
Dean Brooks wrote:
For what it's worth, we were seeing random messages going from seen to unseen in user's inboxes. It was very annoying and would sometimes always leave one message unseen no matter what you did, and other times would revert an entire mailbox back to being unseen.
Turns out that turning off lazy writes fixed the problem. Apparantely there is something broken in rc19 that fails to ever properly write out seen/unseen data when lazy writes are enabled.
-- Dean Brooks dean@iglou.com
Yep, I'm using lazy writes (and mbox format)!
Chris
-- --+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+- Christopher Wakelin, c.d.wakelin@reading.ac.uk IT Services Centre, The University of Reading, Tel: +44 (0)118 378 8439 Whiteknights, Reading, RG6 2AF, UK Fax: +44 (0)118 975 3094
On Monday 29 January 2007 16:41, Dean Brooks wrote:
For what it's worth, we were seeing random messages going from seen to unseen in user's inboxes. It was very annoying and would sometimes always leave one message unseen no matter what you did, and other times would revert an entire mailbox back to being unseen.
Turns out that turning off lazy writes fixed the problem. Apparantely there is something broken in rc19 that fails to ever properly write out seen/unseen data when lazy writes are enabled.
#mbox_lazy_writes = yes
commented in my config, but I assume that lazy writes are the default.
Regards,
- Brian
On Mon, 2007-01-29 at 15:39 -0600, Jim Garrison wrote:
I reported this against rc7 and rc8, and still see it occasionally. (I'm running the rc8 that comes with Fedora 5).
It is always associated with this message in dovecot.log:
dovecot: Oct 23 19:26:17 Error: POP3(user@domain.tld): mbox sync: UID inserted in the middle of mailbox /var/mail/vhosts/domain.tld/user (12 > 4, seq=2, idx_msgs=5)
http://wiki.dovecot.org/MboxProblems
Is something besides Dovecot modifying the mbox?
Once this happens, dovecot will refuse to clear out the mbox file when the user retrieves email via POP. Each time the user logs in to retrieve mail s/he gets everything in the mbox, which continues to grow. The only fix I've been able to find is to manually delete the mbox file.
Do you mean the above error keeps coming back again and again? If so, please put the mbox in such state through http://dovecot.org/tools/mbox-anonymize.pl and send the anonymized mbox, dovecot.index and dovecot.index.log files to me.
If the error doesn't appear again but the user still gets all the mails again, there's something else weird going on..
On Mon, 2007-01-29 at 15:39 -0600, Jim Garrison wrote:
dovecot: Oct 23 19:26:17 Error: POP3(user@domain.tld): mbox sync: UID inserted in the middle of mailbox /var/mail/vhosts/domain.tld/user (12
4, seq=2, idx_msgs=5)
Or have you tried this with rc20 or later? I think some bugs in rc19 could have also caused this..
participants (5)
-
Brian G. Peterson
-
Chris Wakelin
-
Dean Brooks
-
Jim Garrison
-
Timo Sirainen