diff src/context.cpp @ 330:b5b93a7e1e6d

ignore envelope-from based whitelisting if we have a dkim requirement for that domain
author Carl Byington <carl@five-ten-sg.com>
date Mon, 19 Dec 2016 12:05:06 -0800
parents c9932c4d8053
children 9800776436b9
line wrap: on
line diff
--- a/src/context.cpp	Mon Dec 19 08:29:16 2016 -0800
+++ b/src/context.cpp	Mon Dec 19 12:05:06 2016 -0800
@@ -1100,10 +1100,12 @@
 
 
 void CONTEXT::log(const char *queueid, const char *msg, const char *v) {
+    if (debug_syslog > 1) {
     char buf[maxlen];
     snprintf(buf, maxlen, msg, v);
     my_syslog(queueid, buf);
 }
+}
 
 
 bool CONTEXT::acceptable_content(recorder &memory, int score, int bulk, const char *queueid, string_set &signers, const char *from, string& msg) {