[Dovecot] DoveCot IMAP and "inconsistent state" messages

Chris Richards gizmo at giz-works.com
Tue Apr 1 22:55:54 EEST 2008


Chris Richards wrote:
> Ok, As I read this, basically you're saying that I need to append the 
> / to my delivery dirs?  Or that I need to append the / and only 
> deliver to Maildir, instead of Maildir/new?
>
> Here's my .procmailrc
> # .procmailrc
> # routes incoming mail to appropriate destinations
> PATH=/usr/bin:/usr/sbin:/bin:/sbin
> MAILDIR=$HOME/.Maildir # all mailboxes live here
> DEFAULT=$MAILDIR/new/ # This is where incoming mail goes
> LOGFILE=$HOME/.procmail_log
> DELIVER="/usr/lib/dovecot/deliver"
> SHELL=/bin/sh
> :0:
> * ^X-Spam-Flag: YESS
> * ^X-Spam-Level: \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*
> $MAILDIR/.Spam/new/
>
> I changed the .procmailrc to append the / to the dir.  Is that all I 
> need to do?
>
> Thanks,
> Chris
>
Never mind.  I've figured this out.  The above configuratioon seems to 
do Bad Things to mail delivery.  I've change my config to the following, 
and things seem to be working:

# .procmailrc
# routes incoming mail to appropriate destinations
PATH=/usr/bin:/usr/sbin:/bin:/sbin
MAILDIR=$HOME/.Maildir # all mailboxes live here
DEFAULT=$MAILDIR/new/ # This is where incoming mail goes
LOGFILE=$HOME/.procmail_log
DELIVER="/usr/lib/dovecot/deliver"
SHELL=/bin/sh
:0:
* ^X-Spam-Flag: YESS
* ^X-Spam-Level: \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*
$MAILDIR/.Spam/new/

Thanks,
Chris



More information about the dovecot mailing list