Match Field

conrad

Member
Nov 20, 2008
110
0
16
I know it is not the right way to catch spam, but i want to add a
rule to block messages with eg v1agra in it.

I added a rule:
Match Field body=.*viagra

isn't this the way to do that. Test mails i sent never get blocked.
Match Fieldbody=.*viagra
 
I know it is not the right way to catch spam, but i want to add a
rule to block messages with eg v1agra in it.

I added a rule:
Match Field body=.*viagra

isn't this the way to do that. Test mails i sent never get blocked.
Match Fieldbody=.*viagra

this is will no work. you need a custom spamassassin rule (see admin doku) to analyze the mail body.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!