Mercurial > dnsbl
diff src/dnsbl.cpp @ 172:d3189495ec68 stable-6-0-7
don't do generic rdns filtering on whitelisted recipients
author | carl |
---|---|
date | Thu, 30 Aug 2007 18:50:00 -0700 |
parents | 6bac960af6b4 |
children | 83fe0be032c1 |
line wrap: on
line diff
--- a/src/dnsbl.cpp Thu Aug 30 14:40:03 2007 -0700 +++ b/src/dnsbl.cpp Thu Aug 30 18:50:00 2007 -0700 @@ -1039,6 +1039,7 @@ smfi_setreply(ctx, "550", "5.7.1", buf); return SMFIS_REJECT; } + if (st == oksofar) { char *msg = con.generic_match(priv.client_name); if (msg) { // reject the recipient based on generic reverse dns @@ -1047,6 +1048,7 @@ smfi_setreply(ctx, "550", "5.7.1", buf); return SMFIS_REJECT; } + } if (st == black) { // reject the recipient based on blacklisting either from or to smfi_setreply(ctx, "550", "5.7.1", "no such user");