On Wed, 2020-09-02 at 15:44 +0530, KADAM, SIDDHESH wrote: > Hi Folks, > > Using spamassassin is there any way of trigger email notification to > specific ID, if email body matches with list of pattern. > You can put anything you care write or install to downstream from SA to scan messages and take action depending on its content: this can do anything you want or can imagine.
As an example of what can be done, I use a C program to quarantine any message with a positive SA score and pass everything else to Postfix for delivery. I also wrote a Perl logwatch script to summarise whats in quarantine each night, a PHP script to let me use a web browser inspect quarantined spam and a shell script, run as a cron job, to delete quarantined messages after 7 days. Martin