[Dovecot] Double Emails

Chris Wakelin c.d.wakelin at reading.ac.uk
Tue Jul 19 19:13:18 EEST 2005


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


More information about the dovecot mailing list