On Tue, Nov 10, 2015 at 05:59:55PM -0800, Vicki Brown wrote:
> I'm sorry but that confused me even more.
>
> I useprocmail to filter content. That's all I've ever used it for.
> I send mail through Spamassassin, add some headers, and delete high-scoring
> spam. All in /etc/procmailrc.
>
> That's content filtering.
>
> That's not mail delivery.
>
> Dovecot is doing the delivery.
In Postfix a "content filter" is a term of art for software that
can act as an intermediate hop in message delivery, while preserving
envelope sender information, handling non-local recipients, etc.
The procmail program is not such a content filter. It is
architecturally ill-suited for processing mail that is not addressed
to a single local user account. Procmail is a local delivery agent,
that looks at message content, but it is not a "content filter".
To use procmail, you must use "mailbox_command" and avoid
"mailbox_transport". Procmail would then be responsible for
injecting the message into the (Dovecot) mailstore.
I'm afraid I won't be explaining this any further...
--
Viktor.