Exim - Script for Remove Messages from Queue - Based on body of message

Hello,

I need any script to remove messages from my queue based on body (any word) of messages. My servers receive many SPAMs from different senders but with the same content. I don´t like include the filter in /etc/antivirus.exim because it, many times, cause the lost of legitims messages.

Where I find one script to check the body of message, after this message stop in queue, and remove it if find the exact string? Always I see scripts based on header - senders - of messages (using command "exim -bp").

Thanks for any information.

Regards,
Minotauro.

 

 

 

 

Top