summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/table.c
AgeCommit message (Expand)Author
2019-01-10report errno in debug logs and other minor cleanups.Eric Faurot
2018-12-28introduce table_dump() and tweak formatEric Faurot
2018-12-28simplify codeEric Faurot
2018-12-28remove the tag workaround for table_create() and table_find(),Eric Faurot
2018-12-28remove unused members in struct tableEric Faurot
2018-12-27table_fetch() always expect a valid dst pointer.Eric Faurot
2018-12-27introduce dump() and add() table methods, only implemented for static tables.Eric Faurot
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-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-23Simplify the table backend interface: lookup results are returnedEric Faurot
2018-12-21since we already support regex lookups in tables for builtin filters, let'sGilles Chehade
2018-11-02add REG_NOSUB to flags in regcompileGilles Chehade
2018-11-01introduce K_REGEX table type and table_regex_match(), unused for nowGilles Chehade
2018-06-16rework the table API so that it takes a struct smtpd * context in parameterGilles Chehade
2018-05-31remove 'where' parameter from all x*() functions in utils.c, it doesn'tGilles Chehade
2018-05-29missing caseEric Faurot
2018-05-29no need to parse and dump the relayhost in the lookup process.Eric Faurot
2018-05-28zero memory before calling text_to_relayhost()Eric Faurot
2018-05-24switch smtpd to new grammarGilles Chehade
2017-05-01in function used for tracing, display unknown lookup types as "???"Gilles Chehade
2016-01-04switch to /usr/local/libexec when looking for -extras and drop loop iteratingJoerg Jung
2015-12-28remove spaces after '!'Joerg Jung
2015-11-30when looking up tables, start in /usr/local/libexec before /usr/libexec, soGilles Chehade
2015-11-23allow table API to lookup for mailaddr mappingsGilles Chehade
2015-01-20use <limits.h> comprehensively. For now try to push <> includes toTheo de Raadt
2015-01-14recipient and sender lists now support the user+TAG notation, allowingGilles Chehade
2014-07-08Update the table API: lookup functions can take an optional parametersEric Faurot
2014-05-09stop casting sizeof to intTed Unangst
2014-04-19these snprintf() calls can't possibly truncate because they copy data fromGilles Chehade
2014-04-19(void) cast strlcat() and snprintf() that cannot truncateGilles Chehade
2013-12-26bcopy -> memmoveEric Faurot
2013-11-28allow subdomain matching in mailaddr tablesEric Faurot
2013-11-18change dict_poproot() prototype: do not take key placeholder parameter asEric Faurot
2013-10-28accept credentials formated as "<user> <passwd>"Eric Faurot
2013-10-27fix parsing of inet6 addresses when prefixed with "IPv6:"Eric Faurot
2013-10-26%i -> %d in format stringsEric Faurot
2013-07-20Update ldap and sqlite table backends and provide them as external backends.Eric Faurot
2013-07-19Add a table_proc backend for delegating table lookups to anotherEric Faurot
2013-06-03lowercase the key when adding an entry to a static table, since theEric Faurot
2013-05-24sync with OpenSMTPD 5.3.2Eric Faurot
2013-02-05unbreak broken smtpctl table updateGilles Chehade
2013-02-05- handle getaddrinfo() error as LKA_TEMPFAILGilles Chehade
2013-01-26Sync with our smtpd repo:Gilles Chehade