summaryrefslogtreecommitdiffstats
path: root/usr.sbin/smtpd/table_getpwnam.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* introduce dump() and add() table methods, only implemented for static tables.eric2018-12-271-1/+3
| | | | ok gilles@
* pass the table pointer to the lookup()/fecth() methodseric2018-12-271-3/+3
| | | | ok gilles@
* change the close() method to take the table pointereric2018-12-271-3/+3
| | | | ok gilles
* Make the backend open method return an int to report success.eric2018-12-271-4/+4
| | | | | | | The implementation is responsible for setting the handle pointer as needed. ok gilles@
* reorder parameters for consistencyeric2018-12-261-3/+3
|
* get rid of the unused dict argument in table lookup and fetch api.eric2018-12-261-3/+3
| | | | ok gilles@
* move the table backend name in the backend struct.eric2018-12-261-1/+2
| | | | | | remove unused function. ok gilles@
* Simplify the table backend interface: lookup results are returnederic2018-12-231-15/+11
| | | | | | as strings, and parsing is handled by the upper layer. ok gilles@
* use <limits.h> comprehensively. For now try to push <> includes toderaadt2015-01-201-1/+2
| | | | | | each .c file, and out of the .h files. To avoid overinclude. ok gilles, in principle. If this has been done right, -portable should become easier to maintain.
* Update the table API: lookup functions can take an optional parameterseric2014-07-081-3/+3
| | | | | | | dictionnary (currently not set). While there, add a helper for forking external backends, and remove unused table functions. ok gilles@
* sync with OpenSMTPD 5.3.2eric2013-05-241-27/+19
| | | | ok gilles@
* Sync with our smtpd repo:gilles2013-01-261-0/+126
* first bricks of ldap and sqlite support (not finished but both working) * new table API to replace map API, all lookups are done through tables * improved handling of temporary errors throughout the daemon * improved scheduler and mta logic: connection reuse, optimizes batches * improved queue: more tolerant to admin errors, new layout, less disk-IO * improved memory usage under high load * SSL certs/keys isolated to lookup process to avoid facing network * VIRTUAL support improved, fully virtual setups possible now * runtime tracing of processes through smtpctl trace * ssl_privsep.c sync-ed with relayd * ssl.c no longer contains smtpd specific interfaces * smtpd-specific ssl bits moved to ssl_smtpd.c * update mail address in copyright FLUSH YOUR QUEUE. FLUSH YOUR QUEUE. FLUSH YOUR QUEUE. FLUSH YOUR QUEUE. smtpd.conf(5) simplified, it will require adaptations ok eric@