summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/smtp_session.c
AgeCommit message (Expand)Author
2018-08-31switch to improved incoming message parser:Eric Faurot
2018-07-25Implement a generic interface to forward resolver queries to the lkaEric Faurot
2018-07-08remove 'event=' from logs it doesn't carry any informationGilles Chehade
2018-06-18split smtp_accept() in two parts: the accept part, the session init part,Gilles Chehade
2018-05-31remove 'where' parameter from all x*() functions in utils.c, it doesn'tGilles Chehade
2018-05-10reorganize codeEric Faurot
2018-05-04fix use-after-freeEric Faurot
2018-04-29remove useless indirectionsEric Faurot
2018-04-29move "mail from" and "rcpt to" code into their own function.Eric Faurot
2018-04-28simplify codeEric Faurot
2018-04-28move code aroundEric Faurot
2018-04-28use the transaction as argument to the message parser.Eric Faurot
2018-04-28pass transaction instead of session to smtp_message_*() functions.Eric Faurot
2018-04-28move code around. no functional change.Eric Faurot
2018-04-28pass a struct smtp_tx pointer to functions that apply to SMTP transactions,Eric Faurot
2018-04-27factorize codeEric Faurot
2018-03-14Message-Id header is not added if sent over submission port because theGilles Chehade
2018-03-07rfc4954 provides more than one method to submit the same credentials and inGilles Chehade
2018-02-16bump max line length to 16K for incoming mail.Eric Faurot
2018-02-09isolate calls to the rfc2822 parser and handling of "." in smtp_dataline()Eric Faurot
2017-11-18merge the masquerade and missing domain header callbacks into one function.Eric Faurot
2017-10-20When adding a missing "Date" header, use the same timestamp as the "Received"Eric Faurot
2017-10-19remove useless initialisationEric Faurot
2017-09-08remove more filter-related cruftEric Faurot
2017-09-08use plain values for transaction error codes rather than a bitmask.Eric Faurot
2017-09-01more code cleanup after filter removalEric Faurot
2017-09-01the wait_filter_data session set is now pointlessEric Faurot
2017-08-30rename smtp_filter_fd() to smtp_message_fd() and cleanup code.Eric Faurot
2017-08-30rename functionEric Faurot
2017-08-30remove smtp_filter_*() indirections.Eric Faurot
2017-08-13bypass the filter code for incoming smtp sessions.Eric Faurot
2017-06-19fix descriptor leak in the smtp congestion mechanismGilles Chehade
2017-05-17Introduce more use of freezero(). Also, remove ptr conditionals beforeTheo de Raadt
2016-11-30hide internal io flags and rename IO_PAUSE_{IN,OUT} to IO_{IN,OUT}Eric Faurot
2016-11-30make struct io opaque:Eric Faurot
2016-11-24add an io_paused() function.Eric Faurot
2016-11-24add an io_fileno() accessorEric Faurot
2016-11-24add an io_ssl() accessorEric Faurot
2016-11-24add an io_error() accessor to avoid dereferencing the io struct directly.Eric Faurot
2016-11-24reset the io event when data is queued.Eric Faurot
2016-11-22Normalize the io input buffer internally when reinstalling the io event, soEric Faurot
2016-11-21replace calls to iobuf_*() functions with the corresponding io_*() wrappers.Eric Faurot
2016-11-20add dedicated functions to set fd and callback on a struct io.Eric Faurot
2016-11-18fix regression introduced in previous commitEric Faurot
2016-11-17remove IO_TLSVERIFIED which is not a io event, and inline necessary codeEric Faurot
2016-11-16pass the user pointer as parameter to the io callback instead of havingEric Faurot
2016-10-16Remove the "phase" state variable from the smtp session. Simply checkEric Faurot
2016-10-13A logic issue in smtpd's header parsing can cause SMTP sessions to hang.Gilles Chehade
2016-10-03fix smtp session logic bug that can lead to a server crash.Eric Faurot
2016-09-03log IP/hostname for all SMTP operations.Giovanni Bechis