21#ifndef G_SPLIT_FILTER_H
22#define G_SPLIT_FILTER_H
42 Filter::Type ,
const Filter::Config & ,
const std::string & spec ) ;
46 Result run(
const GStore::MessageId & ,
bool & , GStore::FileStore::State )
override ;
50 std::string forwardTo(
const std::string & )
const ;
51 static bool match(
const std::string & ,
const std::string & ,
bool raw ) ;
52 static void normalise( std::string & ,
bool raw ) ;
57 Filter::Config m_filter_config ;
A GSmtp::Filter base class for filters that run synchronously.
A concrete GSmtp::Filter class for message routing: if the message has recipients for multiple domain...
SplitFilter(GNet::EventState es, GStore::FileStore &, Filter::Type, const Filter::Config &, const std::string &spec)
Constructor.
A lightweight object containing an ExceptionHandler pointer, optional ExceptionSource pointer and opt...
A concrete implementation of the MessageStore interface dealing in paired flat files.
A somewhat opaque identifer for a GStore::MessageStore message id.
std::vector< std::string > StringArray
A std::vector of std::strings.
Low-level file-system operations for GStore::FileStore.