[opendmarc-users] Patch for test mode
Murray S. Kucherawy
msk at blackops.org
Thu Aug 2 09:34:36 PDT 2012
It's been reported that test mode is not producing useful results because
of the recent "IgnoreHosts" setting and its default. The attached patch
should fix that problem, and will appear in the next release.
-MSK
-------------- next part --------------
diff --git a/opendmarc/opendmarc.c b/opendmarc/opendmarc.c
index ffd2883..a575115 100644
--- a/opendmarc/opendmarc.c
+++ b/opendmarc/opendmarc.c
@@ -49,6 +49,7 @@
/* libopendmarc */
#include <dmarc.h>
+#include <opendmarc_strl.h>
/* opendmarc includes */
#include "opendmarc.h"
@@ -2878,7 +2879,7 @@ main(int argc, char **argv)
return EX_DATAERR;
}
}
- else
+ else if (!testmode)
{
dmarcf_addlist("127.0.0.1", &ignore);
}
More information about the opendmarc-users
mailing list