Brian J. Murrell:
Checking application/pgp-signature: FAILURE
-- Start of PGP signed section.
> Hi.
>
> Using Postfix 2.10.1, I currently have spamassassin configured as a
> content filter with smtpd such as:
[post-queue filter, pipe-to-command plus sendmail injection]
> But it seems that that processes spam for/by the account that the e-
> mail is originally sent to, not where it finally gets delivered, say,
> after alias processing.
Indeed. alias processing happens in the local(8) delivery agent.
If you want to filter mail that late, you will need to use some
external program as mailbox_command. This program runs as the
recipient AND it delivers to the mailbox store.
> I'd like to have that spamassassin (spamc) process applied where
> ${user} is the final delivery user, after aliases have been processed.
>
> How can I modify my configuration to do such considering I use Cyrus
> IMAPD as my local delivery mechanism with it's lmtp delivery channel as
> such:
Use a mailbox transport that talks via SMTP or LMTP to amavisd-new.
Amavisd-new talks to spamassasin and delivers the result via LMTP
to Cyrus.
Wietse