Hi all, I originally posted this on postfix's mailing list but then realized that this COULD be a pop3 server problem since that downloads and deletes mail. This has only been happening since I upgraded from .99 to 1.0-7 ... Our users have been reporting double messages in their inbox, as well as emails that they deleted a long time ago reappearing. The only thing in my maillog is a bunch of: mbox sync: UID inserted in the middle of mailbox /home/sdf/mail/Level3 (6293 > 3) Thats happening for IMAP folder and /var/mail/* mbox folders alike. I can't seem to figure out the problem, but we have at least 50 customers calling in today alone to complain about double messages. More are probably experiencing it and just not calling. Any ideas? Thanks! -Matt
Matt Juszczak wrote:> Hi all, > > I originally posted this on postfix's mailing list but then realized > that this COULD be a pop3 server problem since that downloads and > deletes mail. This has only been happening since I upgraded from .99 to > 1.0-7 ... >> Our users have been reporting double messages in their inbox, as well as > emails that they deleted a long time ago reappearing. The only thing in > my maillog is a bunch of: > > mbox sync: UID inserted in the middle of mailbox /home/sdf/mail/Level3 > (6293 > 3)Check your UIDL definition hasn't changed (pop3_uidl_format). I think in 0.99.x it was fixed to "%v.%u", and this is the also default in 1.0. (If the UIDL values change, then the clients will download the messages again.) See http://wiki.dovecot.org/moin.cgi/Migration and the dovecot-example.conf script for options and suggestions. Have you seen any "UIDVALIDITY changed" messages in the logs? I guess that would regenerate the UIDLs. Also see http://wiki.dovecot.org/moin.cgi/UpgradingDovecot It may be your index and cache files are corrupt and need fixing (by default they're in the root mail directory, ~/mail/.imap or ~/Maildir/.imap, I think, but can be overridden with the INDEX= option). See doc/mail-storages.txt and index.txt for details. Timo did suggest in the release notes for test78 that they should be deleted. Don't be put off by the ".imap" name, as they're also used by POP! Hope this helps, Chris -- --+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+- Christopher Wakelin, c.d.wakelin at 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 Tue, 2005-07-19 at 11:55 -0400, Matt Juszczak wrote:> Hi all, > > I originally posted this on postfix's mailing list but then realized > that this COULD be a pop3 server problem since that downloads and > deletes mail. This has only been happening since I upgraded from .99 to > 1.0-7 ... > > Our users have been reporting double messages in their inbox, as well as > emails that they deleted a long time ago reappearing. The only thing in > my maillog is a bunch of: > > mbox sync: UID inserted in the middle of mailbox /home/sdf/mail/Level3 > (6293 > 3)When that error happens, it recreates the message UIDs. Those UIDs are also used in POP3's UIDs, so if they change that could explain why the messages are downloaded again (for users who use "leave mail on server" option). What Dovecot version do you use? 1.0-7 doesn't exist, maybe 1.0-test78? Do you use NFS? Are there other software modifying mboxes than Dovecot and Postfix? -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20050722/face43e0/attachment-0001.bin>