Mercurial > dnsbl
comparison src/dnsbl.cpp @ 182:2b06183b9b25
embedded dcc filtering
author | carl |
---|---|
date | Sat, 06 Oct 2007 17:10:13 -0700 |
parents | cb5c0d7ec451 |
children | 505283ab296c |
comparison
equal
deleted
inserted
replaced
181:cb5c0d7ec451 | 182:2b06183b9b25 |
---|---|
1011 CONTEXT &con = *(dc.find_context(loto)->find_context(priv.mailaddr)); | 1011 CONTEXT &con = *(dc.find_context(loto)->find_context(priv.mailaddr)); |
1012 VERIFYP ver = con.find_verify(loto); | 1012 VERIFYP ver = con.find_verify(loto); |
1013 char *fromvalue = con.find_from(priv.mailaddr, true); | 1013 char *fromvalue = con.find_from(priv.mailaddr, true); |
1014 // tell spam assassin and dccifd about this recipient | 1014 // tell spam assassin and dccifd about this recipient |
1015 if (priv.assassin) priv.assassin->mlfi_envrcpt(ctx, loto); | 1015 if (priv.assassin) priv.assassin->mlfi_envrcpt(ctx, loto); |
1016 if (priv.dccifd) priv.dccifd->mlfi_envrcpt(loto, con.get_grey()); | 1016 if (priv.dccifd) priv.dccifd->mlfi_envrcpt(ctx, loto, con.get_grey() && !priv.authenticated); |
1017 // loto sending a reply back to priv.mailaddr | 1017 // loto sending a reply back to priv.mailaddr |
1018 CONTEXT &con2 = *(dc.find_context(priv.mailaddr)->find_context(loto)); | 1018 CONTEXT &con2 = *(dc.find_context(priv.mailaddr)->find_context(loto)); |
1019 char *replyvalue = con2.find_from(loto); | 1019 char *replyvalue = con2.find_from(loto); |
1020 if (debug_syslog > 1) { | 1020 if (debug_syslog > 1) { |
1021 char buf[maxlen]; | 1021 char buf[maxlen]; |