comparison src/dnsbl.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 6c1c2bd9fb54
children f5b394bec28c
comparison
equal deleted inserted replaced
464:428de28b34b7 465:79e944269c0b
1328 my_syslog(&priv, text); 1328 my_syslog(&priv, text);
1329 } 1329 }
1330 } 1330 }
1331 } 1331 }
1332 if (spamc != spamc_empty) { 1332 if (spamc != spamc_empty) {
1333 priv.assassin = new SpamAssassin(&priv, priv.ip, priv.helo, priv.mailaddr, priv.queueid); 1333 // SA needs original address to do proper SPF checking
1334 priv.assassin = new SpamAssassin(&priv, priv.ip, priv.helo, priv.origaddr, priv.queueid);
1334 } 1335 }
1335 if (dccifd_port) { 1336 if (dccifd_port) {
1336 priv.dccifd = new DccInterface(dccifd_port, &priv, priv.ip, priv.helo, priv.mailaddr); 1337 priv.dccifd = new DccInterface(dccifd_port, &priv, priv.ip, priv.helo, priv.mailaddr);
1337 } 1338 }
1338 if (priv.authenticated) { 1339 if (priv.authenticated) {