comparison src/dnsbl.cpp @ 233:5c3e9bf45bb5 stable-6-0-23

Add whitelisting by regex expression filtering. Add queueid to whitelist extension log message.
author Carl Byington <carl@five-ten-sg.com>
date Mon, 25 May 2009 11:14:32 -0700
parents 4d6bd04d93fa
children e6c66640f6f9
comparison
equal deleted inserted replaced
232:768ce0f23149 233:5c3e9bf45bb5
1049 return SMFIS_REJECT; 1049 return SMFIS_REJECT;
1050 } 1050 }
1051 // priv.mailaddr sending original message to loto 1051 // priv.mailaddr sending original message to loto
1052 CONTEXT &con = *(dc.find_context(loto)->find_context(priv.mailaddr)); 1052 CONTEXT &con = *(dc.find_context(loto)->find_context(priv.mailaddr));
1053 VERIFYP ver = con.find_verify(loto); 1053 VERIFYP ver = con.find_verify(loto);
1054 const char *fromvalue = con.find_from(priv.mailaddr, true); 1054 const char *fromvalue = con.find_from(priv.mailaddr, true, priv.queueid);
1055 // tell spam assassin and dccifd about this recipient 1055 // tell spam assassin and dccifd about this recipient
1056 if (priv.assassin) priv.assassin->mlfi_envrcpt(ctx, loto); 1056 if (priv.assassin) priv.assassin->mlfi_envrcpt(ctx, loto);
1057 if (priv.dccifd) priv.dccifd->mlfi_envrcpt(ctx, loto, con.get_grey() && !priv.authenticated); 1057 if (priv.dccifd) priv.dccifd->mlfi_envrcpt(ctx, loto, con.get_grey() && !priv.authenticated);
1058 // loto sending a reply back to priv.mailaddr 1058 // loto sending a reply back to priv.mailaddr
1059 CONTEXT &con2 = *(dc.find_context(priv.mailaddr)->find_context(loto)); 1059 CONTEXT &con2 = *(dc.find_context(priv.mailaddr)->find_context(loto));