changeset 344:891281cb6d3d

send the original recipient address to the verify server, not the srs/pvrs unwrapped version
author Carl Byington <carl@five-ten-sg.com>
date Fri, 23 Dec 2016 08:17:18 -0800
parents d0d1391a57a0
children 9f328a0a1719
files src/dnsbl.cpp
diffstat 1 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/dnsbl.cpp	Fri Dec 23 07:23:54 2016 -0800
+++ b/src/dnsbl.cpp	Fri Dec 23 08:17:18 2016 -0800
@@ -1365,9 +1365,7 @@
 
     if (ver) {
         // try to verify this from/to pair of addresses even if it might be explicitly whitelisted
-        const char *loto = to_lower_string(rcptaddr);
-        bool rc = ver->ok(priv.queueid, priv.mailaddr, loto);
-        free((void*)loto);
+        bool rc = ver->ok(priv.queueid, priv.mailaddr, rcptaddr);
         if (!rc) {
             smfi_setreply(ctx, (char*)"550", (char*)"5.7.1", (char*)"no such user");
             return SMFIS_REJECT;