changeset 352:f5a6740cabee

need to lowercase the domain extracted from the from header so it will match the keys in dkim_from
author Carl Byington <carl@five-ten-sg.com>
date Mon, 26 Dec 2016 12:30:08 -0800
parents d4be824a3870
children 6ef60389f44f
files src/dnsbl.cpp
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/dnsbl.cpp	Mon Dec 26 09:39:14 2016 -0800
+++ b/src/dnsbl.cpp	Mon Dec 26 12:30:08 2016 -0800
@@ -1532,7 +1532,7 @@
             int e1 = match[1].rm_eo;
             if (s1 != -1) {
                 value[e1] = '\0';
-                priv.fromaddr = strdup(value+s1);
+                priv.fromaddr = to_lower_string(value+s1, false);
             }
         }
     }