If you're trying to do this without reading, you can't read the sieve rules.
If you only want to prevent the delivery process from reading Maildir
data (messages) and don't mind when it reads dovecot-uidlist, one
possible solution may be moving dovecot-uidlist (and others) out of the
Maildir. For example:
mail_location =
maildir:/somewhere/mailboxes:INDEX=/somewhere/else/index/:CONTROL=/somewhere/else/control/
(It's written by heart, so check syntax and adapt for your setup before
using)
Also you'll need to move index and control data to new location before
switching this on. I'm not sure if that can be done without downtime.
Jouko Nikula wrote:
I would like to use sieve plugin for server side filtering and I've
understood that LMTP/LDA is required for this.
On Wed, Apr 2, 2014 at 5:48 PM, Tom Hendrikx<[email protected]> wrote:
On 04/02/2014 12:27 PM, Jouko Nikula wrote:
Hello all,
Is there a way to use LMTP (or LDA) so that maildir index and
dovecot-uidlist are not updated?
My setup is such that mail delivery sees user's maildir as write only.
This
setup works well when using postfix for mail delivery, but when I try to
switch to dovecot LMTP the lmtp process wants to read the dovecot-uidlist
and fails on insufficient privileges. Is there a way around this without
exposing the maildir and mail home for read access?
Regards,
Jouko Nikula
When indexes cannot be updated upon delivery, there is no real benefit
in using dovecot's delivery mechanisms. So you could just simply let
postfix deliver the messages.
Tom