changeset 325:28b6e0d97c5b

add dkim white/black listing
author Carl Byington <carl@five-ten-sg.com>
date Sat, 17 Dec 2016 21:59:23 -0800
parents b6f173ac5209
children 5e4b5540c8cc
files src/dnsbl.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/dnsbl.cpp	Sat Dec 17 18:53:22 2016 -0800
+++ b/src/dnsbl.cpp	Sat Dec 17 21:59:23 2016 -0800
@@ -1582,7 +1582,7 @@
         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);
+        snprintf(buf, sizeof(buf), "acceptable content from %s signer %s", (priv.fromaddr) ? priv.fromaddr : token_asterisk, (priv.dkim_signer) ? priv.dkim_signer : token_asterisk);
         my_syslog(&priv, buf);
 
         for (context_map::iterator i=priv.env_to.begin(); i!=priv.env_to.end(); i++) {