On Sun, Feb 28, 2021 at 02:14:55PM +0000, Damian wrote: > I don't know about AskDNS, but this technique works with stock spamhaus rules > via spamhaustech. I have a local spamhaus.net zone with a DNAME record as > their nameservers block me anyway. > You could try with an invaluement.com zone at least temporarily as a > comparison to AskDNS.
As I said, it does work if I do this: askdns RBL_SENDGRID_ID _SENDGRIDID_.sendgrid-id.<LICENSEKEY>.invaluement.com A 127.0.0.2 But then, the LICENSEKEY gets embedded in the spamassassin report which I don't want. I've traced through the AskDNS plugin and it's definitely only looking at the first response that gets returned in this case. I also tried a regex submatch like: askdns RBL_SENDGRID_ID _SENDGRIDID_.sendgrid-id.localhost A /127.0.0.2/ and still not working. The AskDNS code which loops through the result only looks at the alias result that's returned.
signature.asc
Description: PGP signature