On Wed, 29 Jan 2014, Noel Jones wrote:

I couldn't find a way to make Amavisd scan only for certain domains,
rather than whitelist. (Although I understand this is beyond the
scope of this list :))


Any kind of pre-queue per-domain filtering will need to be done
within the filter -- once the mail gets to postfix it's too late.

You should be able to define the amavisd-new bypass_spam_checks_maps
to something like "yahoo no, hotmail no, everyone else yes".


Many thanks Noel, I've managed to do this with the config (in case it helps anyone in future):

        @bypass_spam_checks_maps = ( [ "!.hotmail.com", "!.gmail.com", "." ] );

Doesn't seem to add too much latency to send times either.


Much appreciated,

Duncan

Reply via email to