|
E-MailRelay
|
A Filter class that passes the body of a message file to a remote process over the network and optionally stores the response back into the file. More...
#include <gspamfilter.h>
Inheritance diagram for GSmtp::SpamFilter:Public Member Functions | |
| SpamFilter (GNet::ExceptionHandler &, bool server_side, const std::string &server_location, bool read_only, bool always_pass, unsigned int connection_timeout, unsigned int response_timeout) | |
| Constructor. | |
| virtual | ~SpamFilter () |
| Destructor. | |
| virtual std::string | id () const override |
| Override from from GSmtp::Filter. | |
| virtual bool | simple () const override |
| Override from from GSmtp::Filter. | |
| virtual G::Slot::Signal1< int > & | doneSignal () override |
| Override from from GSmtp::Filter. | |
| virtual void | start (const std::string &path) override |
| Override from from GSmtp::Filter. | |
| virtual void | cancel () override |
| Override from from GSmtp::Filter. | |
| virtual bool | abandoned () const override |
| Override from from GSmtp::Filter. | |
| virtual std::string | response () const override |
| Override from from GSmtp::Filter. | |
| virtual std::string | reason () const override |
| Override from from GSmtp::Filter. | |
| virtual bool | special () const override |
| Override from from GSmtp::Filter. | |
Public Member Functions inherited from GSmtp::Filter | |
| virtual | ~Filter () |
| Destructor. | |
| std::string | str (bool server_side) const |
| Returns a diagnostic string for logging. | |
Additional Inherited Members | |
Public Types inherited from GSmtp::Filter | |
| enum | Result { f_ok = 0, f_abandon = 1, f_fail = 2 } |
A Filter class that passes the body of a message file to a remote process over the network and optionally stores the response back into the file.
It parses the response's "Spam:" header to determine the overall pass/fail result, or it can optionally always pass.
Definition at line 41 of file gspamfilter.h.
1.8.9.1