Postfix SpamAssasin skip mails from specfied email address

by Lukas Koza   Last Updated December 07, 2017 11:00 AM

I looking for solution my problem. I have internal mail delivered to postfix via DMA. Every this mail had spam score > 5. I don't want to fix this messages to get less spam score. I really want set "skip/ignore" some attribute / filter (somethink like this) to ignore checking this mail message.

It can be depended on FROM mail or other header.

What is the best way to do this?

smtp      inet  n       -       -       -       -       smtpd
    -o content_filter=spamassassin

spamassassin unix  -       n       n       -       -       pipe
   user=nobody argv=/usr/bin/spamc -f -e /usr/sbin/sendmail -oi -f ${sender} ${recipient}

Related Questions

SpamAssassin discards messages but it should not

Updated May 15, 2015 10:00 AM

How can I add warning message inside spam mails?

Updated January 16, 2018 04:00 AM

Execute script/program for outbound mail

Updated April 09, 2017 10:00 AM