Scan content of mails

Hello all,

Currently we blacklist all sender domains of spam-senders. The issue is that they just change the domain where they send from and they can send again.

Is it possible to scan the content of the email? The subjects are always different, so that does not work.
The content of the mail always contains a specific string of words, so if we can filter on those words/strings it will help a lot.

With the "Match field" filter on field "content" does not work. Is there a way to filter this?


Kind regards
 
Is it possible to scan the content of the email?
You can create a custom spamassassin rule for this - see the reference documentation: https://pmg.proxmox.com/pmg-docs/pmg-admin-guide.html#_custom_spamassassin_configuration

Keep in mind that this can lead to many false positives in many cases.

With the "Match field" filter on field "content" does not work.

The fields in PMG's rule system mean headers of e-mail (e.g. 'Subject', 'From', 'To', 'CC', 'Received', ....)

I hope this helps!
 

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!