Turn on some debugging since smtpd is nice about it

master
Thor 4 years ago
parent 7e3a3926ba
commit f49b45792d
  1. 2
      src/bogofilter-smtpd.cpp
  2. 8
      src/protocol/protocol.cpp

@ -8,7 +8,7 @@
#include <iostream>
#include <functional>
const bool debug = false;
const bool debug = true;
using namespace std;

@ -1,3 +1,6 @@
// OpenSMTPD filter protocol documentation:
// https://man7.org/linux/man-pages/man7/smtpd-filters.7.html
#include <util.hpp>
#include <protocol/protocol.hpp>
@ -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) {

Loading…
Cancel
Save