36 const std::string & identifier ,
unsigned int timeout ,
bool compatible )
39 if( p.first.empty() || p.first ==
"exit" )
43 else if( p.first ==
"net" )
45 return new NetworkVerifier( exception_handler , p.second , timeout , timeout , compatible ) ;
A Verifier that runs an executable.
The standard internal Verifier that accepts all mailbox names.
A Verifier that talks to a remote verifier over the network.
Result tuple for GSmtp::FactoryParser::parse().
static Verifier * newVerifier(GNet::ExceptionHandler &, const std::string &identifier, unsigned int timeout, bool compatible)
Returns a Verifier on the heap.
static std::string check(const std::string &identifier, bool allow_spam)
Parses and checks an identifier.
An asynchronous interface that verifies recipient 'to' addresses.
An abstract interface for handling exceptions thrown out of event-loop callbacks (socket events...
static Result parse(const std::string &identifier, bool allow_spam)
Parses an identifier like "/usr/bin/foo" or "net:127.0.0.1:99" returning the type and the specificati...
A Path object represents a file system path.
static std::string check(const std::string &identifier)
Checks an identifier.