Mercurial > dnsbl
diff src/context.cpp @ 465:79e944269c0b
SA needs original rfc5321 envelope from to do proper spf checking. Remove some debug code.
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Thu, 25 Apr 2019 09:35:53 -0700 |
parents | 428de28b34b7 |
children | f5b394bec28c |
line wrap: on
line diff
--- a/src/context.cpp Sun Mar 10 08:49:27 2019 -0700 +++ b/src/context.cpp Thu Apr 25 09:35:53 2019 -0700 @@ -1230,11 +1230,11 @@ if ((mask >= 14) && (mask <= 32)) { // microsoft has a /14 uint32_t low = (1 << (32-mask)) - 1; ipy &= low ^ 0xffffffff; - { - char buf[maxlen]; - snprintf(buf, maxlen, "ip=%08x, spf=%08x/%d, mask=%08x", ip, ipy, mask, low); - log(priv->queueid, "spf check %s", buf); - } + //{ + // char buf[maxlen]; + // snprintf(buf, maxlen, "ip=%08x, spf=%08x/%d, mask=%08x", ip, ipy, mask, low); + // log(priv->queueid, "spf check %s", buf); + //} if ((ipy <= ip) && (ip <= ipy + low)) { if (s) *s = '/'; log(priv->queueid, "match ip4:%s", p);