12 Sep
2019
12 Sep
'19
2:21 p.m.
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.