|
|
@ -1,3 +1,6 @@ |
|
|
|
|
|
|
|
// OpenSMTPD filter protocol documentation:
|
|
|
|
|
|
|
|
// https://man7.org/linux/man-pages/man7/smtpd-filters.7.html
|
|
|
|
|
|
|
|
|
|
|
|
#include <util.hpp> |
|
|
|
#include <util.hpp> |
|
|
|
|
|
|
|
|
|
|
|
#include <protocol/protocol.hpp> |
|
|
|
#include <protocol/protocol.hpp> |
|
|
@ -8,10 +11,7 @@ |
|
|
|
using namespace std; |
|
|
|
using namespace std; |
|
|
|
using namespace util; |
|
|
|
using namespace util; |
|
|
|
|
|
|
|
|
|
|
|
// OpenSMTPD filter protocol documentation:
|
|
|
|
const bool debug = false; |
|
|
|
// https://man7.org/linux/man-pages/man7/smtpd-filters.7.html
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const bool debug = true; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
namespace protocol { |
|
|
|
namespace protocol { |
|
|
|
void protocol_t::set_handlers(const handler_map_t handlers) { |
|
|
|
void protocol_t::set_handlers(const handler_map_t handlers) { |
|
|
|