21#ifndef G_SMTP_SPAM_FILTER_H
22#define G_SMTP_SPAM_FILTER_H
45 bool read_only ,
bool always_pass ,
unsigned int connection_timeout ,
46 unsigned int response_timeout ) ;
53 std::string id()
const override ;
54 bool simple()
const override ;
56 void start(
const MessageId & )
override ;
57 void cancel()
override ;
58 bool abandoned()
const override ;
59 std::string response()
const override ;
60 std::string reason()
const override ;
61 bool special()
const override ;
66 void operator=(
const SpamFilter & ) = delete ;
70 void clientEvent(
const std::string & ,
const std::string & ,
const std::string & ) ;
71 void clientDeleted(
const std::string & ) ;
81 unsigned int m_connection_timeout ;
82 unsigned int m_response_timeout ;
A smart pointer class for GNet::Client.
A tuple containing an ExceptionHandler interface pointer and a bound 'exception source' pointer.
A class that represents the remote target for out-going client connections.
A concrete implementation of the MessageStore interface dealing in paired flat files.
An interface for processing a message file through a filter.
A somewhat opaque identifer for a MessageStore message.
A Filter class that passes the body of a message file to a remote process over the network and option...
~SpamFilter() override
Destructor.
SpamFilter(GNet::ExceptionSink, FileStore &, const std::string &server_location, bool read_only, bool always_pass, unsigned int connection_timeout, unsigned int response_timeout)
Constructor.
SMTP and message-store classes.