summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd
AgeCommit message (Expand)Author
2019-01-05we assumed that there was no such thing as an "mda session" so the logsGilles Chehade
2019-01-05revert this change, it was committed by accidentGilles Chehade
2019-01-05introduce smtp 'timeout' reporting event to notify filters that a timeoutGilles Chehade
2019-01-05move the DATA bytes accounting a bit earlier so that we don't have to dealGilles Chehade
2019-01-03be less verbose on resolver "errors", only log_warnx() real errors and notGilles Chehade
2019-01-03do not strip dot-escaping when sending to filters, dot-escape is removed onGilles Chehade
2018-12-30Delete unnecessary <libgen.h> #includesPhilip Guenther
2018-12-28introduce table_dump() and tweak formatEric Faurot
2018-12-28type static tables on the fly when the first element is addedEric Faurot
2018-12-28simplify codeEric Faurot
2018-12-28zap unused codeEric Faurot
2018-12-28remove the tag workaround for table_create() and table_find(),Eric Faurot
2018-12-28rename smtp_session's hostname field to rdns, to make it clear what itGilles Chehade
2018-12-28remove unused members in struct tableEric Faurot
2018-12-28fix logging of list entriesEric Faurot
2018-12-28use private data structure for managing static table contentEric Faurot
2018-12-28move the smtp_mailaddr() calls _before_ filters indirection as filters MUSTGilles Chehade
2018-12-27remove unused fileEric Faurot
2018-12-27extract subaddress from last resolved node, not from dest or rcpt addressGilles Chehade
2018-12-27table_fetch() always expect a valid dst pointer.Eric Faurot
2018-12-27move the iterator variable in the private handle.Eric Faurot
2018-12-27introduce dump() and add() table methods, only implemented for static tables.Eric Faurot
2018-12-27remove dead code, we will only support ramstat stat backendGilles Chehade
2018-12-27pass the table pointer to the lookup()/fecth() methodsEric Faurot
2018-12-27change the close() method to take the table pointerEric Faurot
2018-12-27Make the backend open method return an int to report success.Eric Faurot
2018-12-26reorder parameters for consistencyEric Faurot
2018-12-26simplify codeEric Faurot
2018-12-26introduce a table_match() function to check for a key in a tableEric Faurot
2018-12-26get rid of the unused dict argument in table lookup and fetch api.Eric Faurot
2018-12-26move the table backend name in the backend struct.Eric Faurot
2018-12-26when passing message to filters, do not worry yet about handling DATAGilles Chehade
2018-12-23remove dead codeEric Faurot
2018-12-23the tree_* and dict_* api's in smtpd can be used standalone, do not haveGilles Chehade
2018-12-23Simplify the table backend interface: lookup results are returnedEric Faurot
2018-12-23when a filter chain is only used once, no need to create a named chain, itGilles Chehade
2018-12-23when passing mail-from parameter to filters, pass the '<' '>' free versionGilles Chehade
2018-12-23simplify builtinsGilles Chehade
2018-12-23revive filters tracing (-T filters) to make it easier understand what isGilles Chehade
2018-12-22introduce 'rcpt-to' builtin filter, can only be used on 'rcpt-to' hookGilles Chehade
2018-12-22introduce 'mail-from' builtin filter, can be applied on the 'mail-from',Gilles Chehade
2018-12-22introduce 'helo' builtin filter, can be used on any hook but 'connect'Gilles Chehade
2018-12-22remove lka_filter_response() which is no longer used, and reshuffle a bitGilles Chehade
2018-12-22simplify filter_protocol / filter_protocol_next by factoring codeGilles Chehade
2018-12-22simplify filter_data() and filter_data_next() by factoring logicGilles Chehade
2018-12-22tree_xget() -> tree_get()Gilles Chehade
2018-12-22reuse existing tokens for builtin filter names to avoid creating too manyGilles Chehade
2018-12-22introduce new matching criteria 'from rdns' to match sessions based on rDNSGilles Chehade
2018-12-22remove spaceGilles Chehade
2018-12-21since we already support regex lookups in tables for builtin filters, let'sGilles Chehade