Block email body content

diegola

New Member
Nov 14, 2019
6
0
1
38
In the section of "What objects", I'm able to add Match fields according to subject and from, I'm able to block those types of content, but my doubt is, how can I block the content of an email, according to the body, what is the value that I need to put in the field value to do that

1581356834096.png
 
can I block the content of an email, according to the body,
This does not work via GUI - because it is usually very expensive to do so (an email can contain many MB of content - the individual headers are comparatively short).

Most of the time blocking based on a some 'word' or 'phrase' also leads to many false positives - which is why we discourage that use.

If you really need this - check the reference documentation on adding a custom spamassassin rule:
https://pmg.proxmox.com/pmg-docs/pmg-admin-guide.html#_custom_spamassassin_configuration

I hope this helps!