Re: Spam filtering only for specific email accounts
Paolo Ciucani wrote:
> Hi All,
> I need help to configure postfix to filter spam only for specific
> email accounts, i.e.: is there a manner to select which mail to scan
> on recipient basis?
you can do this in your filter if possible. this can be done in amavisd-new.
if you want to skip the content_filter in postfix, then you need to use
multiple postfix instances (run postfix multiple times, not just add
smtpd listeners in master.cf) and use transport_maps instead of
content_filter. multiple instances are needed because transport_maps are
global in an instance.
and no, check_recipient_access returning a FILTER statement does not
work as intended because of multi-recipient mail (only one content
filter is used for a message, even if it has multiple recipients...)