You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by bu...@spamassassin.apache.org on 2021/02/28 16:17:03 UTC

[Bug 7875] AskDNS plugin does not correctly handle CNAMEs leading to TXTs

https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7875

Michael Grant <mg...@grant.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mgrant@grant.org

--- Comment #2 from Michael Grant <mg...@grant.org> ---
I also seem to have this problem if I use a DNAME record like this in db.local:

sendgrid-id     IN DNAME        sendgrid-id.LICENSEKEY.invaluement.com.
sendgrid-efd    IN DNAME        sendgrid-efd.LICENSEKEY.invaluement.com.

and in Esp.cf:

ifplugin Mail::SpamAssassin::Plugin::AskDNS

  askdns   RBL_SENDGRID_ID _SENDGRIDID_.sendgrid-id.localhost A 127.0.0.2
#  askdns   RBL_SENDGRID_ID
_SENDGRIDID_.sendgrid-id.<LICENSEKEY>.invaluement.com A 127.0.0.2
  describe RBL_SENDGRID_ID Sendgrid Id blacklist
  tflags   RBL_SENDGRID_ID net

  askdns   RBL_SENDGRID_DOM _SENDGRIDDOM_.sendgrid-efd.localhost A 127.0.0.2
#  askdns   RBL_SENDGRID_DOM
_SENDGRIDDOM_.sendgrid-efd.<LICENSEKEY>.invaluement.com A 127.0.0.2
  describe RBL_SENDGRID_DOM Sendgrid domain blacklist
  tflags   RBL_SENDGRID_DOM net

meta       RBL_SENDGRID (RBL_SENDGRID_ID || RBL_SENDGRID_DOM)
describe   RBL_SENDGRID Invaluement Sendgrid blacklist
score      RBL_SENDGRID 7.5

endif # Mail::SpamAssassin::Plugin::AskDNS

If I uncomment the dbg message on line 594, I absolutely see the 127.0.0.2
response, but it doesn't get picked up in the loop below.

-- 
You are receiving this mail because:
You are the assignee for the bug.