Gnu sieve vs Dovecot sieve-filter - sieve-filter extremely slow at lda (writing emails to local mbox files)

Zenaan Harkness zen at freedbms.net
Thu Sep 12 14:21:20 EEST 2019


Oh, one last bit for now regarding pipeing:

Given my current sieve-filter command:

MLOC="mail_location=mbox:~/mail:INBOX=~/mail/Inbox:INDEX=:UTF-8:VOLATILEDIR=/tmp/dovecot-volatile/%2.256Nu/%u:SUBSCRIPTIONS=dovecot_subscriptions"
SCRIPT=~/etc/email/sieve.rc

sieve-filter -veWD -c $SIEVE_CONF -o $MLOC $SCRIPT emails-incoming

I can imagine trying to do a pipe as suggested, like follows:

cat ~/mail/emails-incoming | sieve-filter -veW -c $SIEVE_CONF -o $MLOC $SCRIPT

But, I see no suggestion in the sieve-filter man page that this would
work. ISTM that sieve-filter just is not designed to work in a local
mbox email environment.


More information about the dovecot mailing list