Block email with "bounce" in from

Questions and answers about how to do stuff
Post Reply
sbergami
Posts: 29
Joined: 21 Dec 2016 17:08

Block email with "bounce" in from

Post by sbergami »

Hello,
i want to block email with the word "bounce" or "bounces" in the field "From"

I've found this thread
viewtopic.php?f=14&t=1284&p=4617&hilit=bounce#p4617

but I am not sure that the instructions are still correct, because I saw that now this type of instruction is stored in the /etc/MailScanner/rules or MCP folders. So I tried to create rules to be included as MCP but messages with "bounce" in from are not locked, their MCP score is equal to 0.

Thank you
Samuele
sbergami
Posts: 29
Joined: 21 Dec 2016 17:08

Re: Block email with "bounce" in from

Post by sbergami »

hello,
dont work with every messagges but block a good number of spam email


header BOUNCE_IN_HEADER ALL =~ /bounce/i
score BOUNCE_IN_HEADER 10
describe BOUNCE_IN_HEADER bounce keyword in from address

header BOUNCES_IN_HEADER ALL =~ /bounces/i
score BOUNCES_IN_HEADER 10
describe BOUNCES_IN_HEADER bounces keyword in from address
Post Reply