Arthur Dent <arthurdent.lon...@gmail.com> writes:

I get my mail from a variety of ISP and online email accounts using
fetchmail. I guess there's no change needed there?

That feeds into procmail. I think I will have to change the mail
procmail configuration file and ALL my procmail recipe rc files (I have
many) - which filter into several different mboxs?

As others have intimated, the use of procmail as your LDA is causing your
mailbox to become inconsistent with respect to your indices.  Procmail is
appending your messages to mailboxes, but is ignorant of the existence
of dovecot indices, and does not update them.  When your IMAP service
access those mailboxes, it detects this condition, and that's the log
messages you are seeing.

I think those messages are benign -- you can probably ignore it.
Dovecot will automatically rebuild them.

The alternative is to let dovecot's be responsible for message delivery:
it can then update the indices, and IMAP/POP will find consistent indices.

Try this at the end of procmailrc for regular delivery to the INBOX

        
################################################################################
        # Replace default action using dovecot-lda to maintains caches.
        
################################################################################
        :0 w
        | /location/of/dovecot-lda -d $USER

For for non-INBOX filtering, try something like

        :0 Hw
        *^Subject: TEST
        |/location/of/dovecot-lda -d $USER -m testbox

Joseph Tam <jtam.h...@gmail.com>

Reply via email to