[Dovecot] LDA directly to Maildir/cur

Anand Buddhdev arb at anand.org
Wed Sep 27 23:48:17 EEST 2006


Scott Murman wrote:

> i'm tired of dealing with buggy clients so i'm moving more processing
> into the server-side.  i configured procmail as LDA with maildir-style
> mailboxes.  i would like to simulate an automatic "mark as read"
> feature
> during procmail processing.  simplest way looks to be forcing delivery
> directly to Maildir/cur instead of Maildir/new, but i suspect this may
> screw up dovecot.  will this work?  is there another (better) method?

If you deliver directly to Maildir/cur, and make sure you set the 'S'
flag on the message, then to Dovecot, it will appear as if another
Maildir-aware client read the message. Dovecot should be able to handle
this scenario, and if it doesn't, then it needs to be fixed, because
Maildir was designed expressly with concurrent access as a feature.

-- 
Anand



More information about the dovecot mailing list