From f49b45792ddf76c3b763f4b3eb7c29985d50e55a Mon Sep 17 00:00:00 2001 From: Thor Harald Johansen Date: Sat, 6 Jun 2020 14:29:10 +0200 Subject: [PATCH] Turn on some debugging since smtpd is nice about it --- src/bogofilter-smtpd.cpp | 2 +- src/protocol/protocol.cpp | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/bogofilter-smtpd.cpp b/src/bogofilter-smtpd.cpp index 57bd50e..7eafd09 100644 --- a/src/bogofilter-smtpd.cpp +++ b/src/bogofilter-smtpd.cpp @@ -8,7 +8,7 @@ #include #include -const bool debug = false; +const bool debug = true; using namespace std; diff --git a/src/protocol/protocol.cpp b/src/protocol/protocol.cpp index bb599cb..2684f52 100644 --- a/src/protocol/protocol.cpp +++ b/src/protocol/protocol.cpp @@ -1,3 +1,6 @@ +// OpenSMTPD filter protocol documentation: +// https://man7.org/linux/man-pages/man7/smtpd-filters.7.html + #include #include @@ -8,10 +11,7 @@ using namespace std; using namespace util; -// OpenSMTPD filter protocol documentation: -// https://man7.org/linux/man-pages/man7/smtpd-filters.7.html - -const bool debug = true; +const bool debug = false; namespace protocol { void protocol_t::set_handlers(const handler_map_t handlers) {