I've amavisd+spamassassin setup as a post-queue content-filter. If a message PASSes postscreen+smtpd_mumble_restrictions, it's handed off to amavisd+SA for content analysis.
Currently, amavisd is configured to 'D_DISCARD' mail that scores above a specified level. It works as intended. That DISCARD action is logged in the amavisd logs, but occurs silently from Postfix's perspective -- it's not notified, and does not log the message disposition in its log. My question is -- what's typical, good practice here? Should Postfix receive notice from amavisd for any particular reason? If so, in what form -- turning the amavisd action 'up' to a REJECT, and passing a 5xx/4xx to Postfix? I still do NOT want any notice or communication returned to the spammy sender -- the message has been accepted/queued and I want no further backscatter outside my network. I've perused http://www.postfix.org/BUILTIN_FILTER_README.html http://www.postfix.org/BACKSCATTER_README.html The focus of those appears to be limiting noise 'back out'; I'm interested, here, only in any recommended comms between the postfix master and its slaved content-filters.