summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/smtp_session.c
AgeCommit message (Expand)Author
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
2016-07-29log ip addresses as well in authentication phaseGiovanni Bechis
2016-07-22Create a smtp transaction context on a session only for the duration ofEric Faurot
2016-07-02remove misleading comment. it's not true anymore.Eric Faurot
2016-07-02datain counter is part of the transaction stateEric Faurot
2016-07-02set the msgid on the transactionEric Faurot
2016-07-01always refer to the helo string stored on the sessionEric Faurot
2016-07-01flag the local socket listener as local.Eric Faurot
2016-06-29Explicitely enclose SMTP transactions between BEGIN and COMMIT/ROLLBACKEric Faurot
2016-06-23move transaction-specific states from struct smtp_session to struct smtp_txEric Faurot
2016-06-17Also add missing date or message-id when listening on the submit portOtto Moerbeek
2016-06-15properly reset the transaction when a filter rejects a message.Eric Faurot
2016-06-15'Received' header violates RFC when receiving a TLS session, rework formatGilles Chehade
2016-06-08quote space-containing values in smtpd logs or they become hard to parseGilles Chehade
2016-05-22start work on improving the log format, this is work in progress but it'llGilles Chehade
2016-05-16fix logic in error code path of smtp state machine that can lead to anGilles Chehade
2016-05-08The "loop detected" message should not print the errno string.Todd C. Miller
2016-03-25Nuke session_socket_blockmode() and session_socket_linger(). UseKenneth R Westerback
2016-02-05use SMTPD_NAME defineJoerg Jung
2016-02-04Make code more readable by putting the message parsing logic in a single place.Eric Faurot
2016-02-03Add helpers function to talk to the queue. Make the code simpler.Eric Faurot
2016-02-03tell filters to rollback the current transaction if MAIL or EOM failsEric Faurot
2015-12-28remove spaces after '!'Joerg Jung
2015-12-14remove trailing whitespaceJoerg Jung
2015-12-13refactor smtp_session to plug into the filters infrastructureGilles Chehade
2015-12-13remove prototype to now unused function + pass fallback hint to lkaGilles Chehade
2015-12-13refactor a bit to move the SNI handling away from smtp_session into smtpGilles Chehade
2015-12-12remove CA from pki and no longer allow specifying a CA with 'pki' keyword.Gilles Chehade
2015-12-12when using senders map to restrict email address a user may use in SMTPGilles Chehade
2015-12-12add the plumbing for masqueradingGilles Chehade
2015-12-12rename enum valueGilles Chehade
2015-12-12remove whitespacesGilles Chehade
2015-12-12do not limit smtp session username to LOGIN_NAME_MAX it could be a virtualGilles Chehade
2015-12-12remove redundant checkGilles Chehade