Mercurial > dnsbl
diff src/dnsbl.cpp @ 323:a6de27b0a1e9
add dkim white/black listing
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Sat, 17 Dec 2016 18:03:59 -0800 |
parents | 9f8411f3919c |
children | 28b6e0d97c5b |
line wrap: on
line diff
--- a/src/dnsbl.cpp Sat Dec 17 17:04:52 2016 -0800 +++ b/src/dnsbl.cpp Sat Dec 17 18:03:59 2016 -0800 @@ -1582,6 +1582,9 @@ string_set alive; bool random = false; int limit = 0; + snprintf(buf, sizeof(buf), "acceptable content from %s signer %s", (priv.dkim_signer) ? priv.dkim_signer : token_asterisk, (priv.fromaddr) ? priv.fromaddr : token_asterisk); + my_syslog(&priv, buf); + for (context_map::iterator i=priv.env_to.begin(); i!=priv.env_to.end(); i++) { const char *rcpt = (*i).first; CONTEXT &con = *((*i).second);