summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd
AgeCommit message (Expand)Author
2019-07-03snprintf/vsnprintf return < 0 on error, rather than -1.Theo de Raadt
2019-07-02Replace mkstemp/fdopen/unlink dances with tmpfile.Martijn van Duren
2019-07-01The proceed reply doesn't have a parameter, resulting in subsequent filtersMartijn van Duren
2019-06-28When system calls indicate an error they return -1, not some arbitraryTheo de Raadt
2019-06-28switch timestamps to use timevals in filters like we do in reportingGilles Chehade
2019-06-28mkstemp() returns -1 on failureTheo de Raadt
2019-06-27Move the check wether line is NULL above further accesses of it.Matthias Kilian
2019-06-27Allow filters to log information through stderr. This simplifies andMartijn van Duren
2019-06-26reject DATA containing <CR> that's not part of <CRLF> line terminatorsGilles Chehade
2019-06-24rename wait queuesGilles Chehade
2019-06-14simplify the runq interface:Eric Faurot
2019-06-13extend the resolver interface to delegate res_query() calls to the lka.Eric Faurot
2019-06-12change "ssl" to "tls" in various identifiers.Eric Faurot
2019-06-05assume RSA_METHOD is opaque and only access members through setters/gettersGilles Chehade
2019-06-05a long long time ago, in a galaxy quite close actually, reyk@ introduced anGilles Chehade
2019-05-24switch from having automatic EVP_CIPHER_CTX variables to allocating themGilles Chehade
2019-05-24ERR_R_SSL_LIB is defined to ERR_LIB_SSL which works for both LibreSSL andGilles Chehade
2019-05-24assume X509_STORE_CTX is opaque, don't access ->error but use theGilles Chehade
2019-05-24mechanical change to dynamically allocate rsae_methodGilles Chehade
2019-05-24fix typo in fatal message to -> tooGilles Chehade
2019-05-24remove useless check, it's never been and will never be hitGilles Chehade
2019-05-21Use malloc_ and calloc_conceal() to allocate memory for sensitive,Otto Moerbeek
2019-05-20rev 1.219 of the file was a fix to an LMTP issue that was misunderstood. weGilles Chehade
2019-05-15do not use CRLF when passing data lines to filters.Eric Faurot
2019-05-15normalize newlines when reading the messageEric Faurot
2019-05-14fix typos in log messagesEric Faurot
2019-05-02Give filter programmers a more friendlier error message when returning aMartijn van Duren
2019-04-08remove unused declarationsEric Faurot
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