Re: How to detect out-of-sync condition
13 Mar
2015
13 Mar
'15
12:35 a.m.
Cliff Hayes <chayes@afo.net> writes:
Perhaps what you ought to look for is how are they getting out of sync in the first place. Assuming your webmail is a IMAP/POP client, I would look at ways that your user's INBOX can be modified out of Dovecot's sight. For example, does your LDA use dovecot's lda/lmtp, or do your users run mail clients that directly manipulate mailbox files, or do you use procmail/mail filters?
By closing off other avenues other than dovecot imap/pop/lda/etc., the indices will stay sync'd.
If you really have to do manual resyncing, comparing index/mailbox mtimes might be one way to do it.
Joseph Tam <jtam.home@gmail.com>
3701
Age (days ago)
3701
Last active (days ago)
0 comments
1 participants
participants (1)
-
Joseph Tam