summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd
AgeCommit message (Expand)Author
2019-04-08fix parsing of datalines before passing them to filters, the | splitting isGilles Chehade
2019-03-31Avoid calling dup2(oldd, newd) when oldd == newd. In that case theYASUOKA Masahiko
2019-02-28bump smtpd versionEric Faurot
2019-02-20fix a regression in the 'hostnames' mapping to select hostname based on theGilles Chehade
2019-02-13(unsigned) means (unsigned int) which on ptrdiff_t or size_t or otherTheo de Raadt
2019-02-06in SMTP status, display rcpt address in errors happening at RCPT levelGilles Chehade
2019-01-30missed in previous revert, function not called anymoreGilles Chehade
2019-01-30revert previous commit, i wasn't happy with it and it probably came from aGilles Chehade
2019-01-30don't be too strict with .forward permissions, it's ok to process it if theGilles Chehade
2019-01-30Check ferror(3) on the right stream.Sunil Nimmagadda
2019-01-29strip \r from lmtp responsesGilles Chehade
2019-01-21While using buffered stdio over a socket, fflush(3) command beforeSunil Nimmagadda
2019-01-15Swap 'token' and 'id' place in filter protocol.Sunil Nimmagadda
2019-01-14correctly retrieve envelope strings. fixes mailq output.Eric Faurot
2019-01-10report errno in debug logs and other minor cleanups.Eric Faurot
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