Search entire message text in the rule selection.
-
- New user
- Posts: 20
- Joined: 2017-04-27 17:11
Search entire message text in the rule selection.
When I want to add a new entry to a rule I have only a few options as to where Hmail looks for the offending text. Is it possible to search the whole .eml source instead of making multiple entries to the rule. I know there is a "custom header field" box but how do I tell it to search everything.
Re: Search entire message text in the rule selection.
Custom header rule only checks the message headers
You can't search full email text using rules
You can't search full email text using rules
Just 'cause I link to a page and say little else doesn't mean I am not being nice.
https://www.hmailserver.com/documentation
https://www.hmailserver.com/documentation
-
- New user
- Posts: 20
- Joined: 2017-04-27 17:11
Re: Search entire message text in the rule selection.
Okay. Thank you.
Re: Search entire message text in the rule selection.
In this case, can someone explain - what gives the "BODY" tag in the rules?
Re: Search entire message text in the rule selection.
'Body' is plain text, and may or may not, include the contents of the email
Some emails are 'HTML text'
But yes, that is a good find.
I missed that
Some emails are 'HTML text'
But yes, that is a good find.
I missed that
Just 'cause I link to a page and say little else doesn't mean I am not being nice.
https://www.hmailserver.com/documentation
https://www.hmailserver.com/documentation
Re: Search entire message text in the rule selection.
U Sure?
As listed in docs hereBody - The Body of the email message. This includes both the plain text body and the HTML body.
CIDR to RegEx: d-fault.nl/CIDRtoRegEx
DNS Lookup: d-fault.nl/DNSTools
DNSBL Lookup: d-fault.nl/DNSBLLookup
GEOIP Lookup: d-fault.nl/GeoipLookup
DNS Lookup: d-fault.nl/DNSTools
DNSBL Lookup: d-fault.nl/DNSBLLookup
GEOIP Lookup: d-fault.nl/GeoipLookup
Re: Search entire message text in the rule selection.
Well there you go
Just 'cause I link to a page and say little else doesn't mean I am not being nice.
https://www.hmailserver.com/documentation
https://www.hmailserver.com/documentation
Re: Search entire message text in the rule selection.
rules work with body too, for sure.
however i'm not sure if HMS first decodes base64 and then performs a search, like SA or ASSP do it. i think not.
so only text and/or some HTML bodies are good for rules.
depending on traffic volume and average message size it may not be wise to use body rules though.
however i'm not sure if HMS first decodes base64 and then performs a search, like SA or ASSP do it. i think not.
so only text and/or some HTML bodies are good for rules.
depending on traffic volume and average message size it may not be wise to use body rules though.
Katip
--
HMS 5.7.0 x64, MariaDB 10.4.10 x64, SA 3.4.2, ClamAV 0.101.2 + SaneS
--
HMS 5.7.0 x64, MariaDB 10.4.10 x64, SA 3.4.2, ClamAV 0.101.2 + SaneS