I would like to write a rule that checks if a header has a domain name that doesn't resolve.
For example this header:
List-Unsubscribe: <mailto:leave-abcefgh.1.2.3.4@mumble.aidemxwzlwt.bwbibibi.edu>
I want to extract the mumble.aidemxwzlwt.bwbibibi.edu and run it
through AskDNS and if I get an NXDOMAIN, I want to score it.
Is it possible to do this within a cf file?
I can easily extract the domain name with a regex. Is there a way to
save that value in a variable in a cf file such that I can then call
AskDNS?
For example this header:
List-Unsubscribe: <mailto:leave-abcefgh.1.2.3.4@mumble.aidemxwzlwt.bwbibibi.edu>
I want to extract the mumble.aidemxwzlwt.bwbibibi.edu and run it
through AskDNS and if I get an NXDOMAIN, I want to score it.
Is it possible to do this within a cf file?
I can easily extract the domain name with a regex. Is there a way to
save that value in a variable in a cf file such that I can then call
AskDNS?