diff src/context.cpp @ 455:48cfa55cd73b

add unsigned_black for enforcement of dmarc policy
author Carl Byington <carl@five-ten-sg.com>
date Tue, 05 Jun 2018 09:24:29 -0700
parents 8393ce4658cc
children ad05c61d6372
line wrap: on
line diff
--- a/src/context.cpp	Mon Jun 04 19:13:28 2018 -0700
+++ b/src/context.cpp	Tue Jun 05 09:24:29 2018 -0700
@@ -1319,6 +1319,9 @@
 
         DKIMP dk = find_dkim_from(from);
         if (dk) {
+            char buf[maxlen];
+            snprintf(buf, sizeof(buf), "context %s found dkim from %s action %s", name, from, dk->action);
+            my_syslog(queueid, buf);
             const char *st = dk->action;
             bool dmarc = false;
             for (string_set::iterator s=signers.begin(); s!=signers.end(); s++) {