changeset 348:8fe6d5120771

need to actually use the modified recipient in the verifier
author Carl Byington <carl@five-ten-sg.com>
date Fri, 23 Dec 2016 09:43:50 -0800
parents 65e1489a3a67
children 3c39051699bd
files src/dnsbl.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/dnsbl.cpp	Fri Dec 23 09:39:02 2016 -0800
+++ b/src/dnsbl.cpp	Fri Dec 23 09:43:50 2016 -0800
@@ -1369,7 +1369,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, false);
-        bool rc = ver->ok(priv.queueid, priv.mailaddr, rcptaddr);
+        bool rc = ver->ok(priv.queueid, priv.mailaddr, loto);
         free((void*)loto);
         if (!rc) {
             smfi_setreply(ctx, (char*)"550", (char*)"5.7.1", (char*)"no such user");