summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/smtp.c
AgeCommit message (Expand)Author
2018-07-25Implement a generic interface to forward resolver queries to the lkaEric Faurot
2018-06-18split smtp_accept() in two parts: the accept part, the session init part,Gilles Chehade
2017-11-21no need to check the sending process in imsg handlers when there is noEric Faurot
2017-05-22- filters are currently broken, do not allow using them until we're doneGilles Chehade
2016-03-25Nuke session_socket_blockmode() and session_socket_linger(). UseKenneth R Westerback
2016-02-13handle enqueuer socket as a regular listener that can be configured withGilles Chehade
2016-02-13remove some noop leftover code from an earlier cleanupGilles Chehade
2016-01-08adjust a debug message to use decimal instead of hexJoerg Jung
2015-12-28remove spaces after '!'Joerg Jung
2015-12-13refactor a bit to move the SNI handling away from smtp_session into smtpGilles Chehade
2015-12-12allow overriding the default cipher-suiteGilles Chehade
2015-12-12add bits so local enqueuer can run filters when they are enabledGilles Chehade
2015-12-12Implement senders map.Sunil Nimmagadda
2015-12-12display CA name in log debugGilles Chehade
2015-12-11fix a logic error in smtp_can_accept() which caused smtpd to accept lessGilles Chehade
2015-11-30mechanical rename of some IMSG constantsGilles Chehade
2015-01-20use <limits.h> comprehensively. For now try to push <> includes toTheo de Raadt
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers whereTheo de Raadt
2014-11-05stop prepending the user id in local enqueuing Received lineGilles Chehade
2014-10-12local host is not "localhost", local host is env->sc_hostnameGilles Chehade
2014-07-08remove dead code. these imsgs are handled in pony.c.Eric Faurot
2014-07-08fix typos.Igor Sobrado
2014-04-29Implement RSA privilege separation for OpenSMTPD, based on my previousReyk Floeter
2014-04-19(cast) void two strlcpy() and a snprintf() that cannot truncateGilles Chehade
2014-04-09Zap the mfa process. It is not currently doing anything, and content filteringEric Faurot
2014-04-04Merge the mda, mta and smtp processes into a single unprivilegedEric Faurot
2014-02-04pki code cleanupEric Faurot
2014-02-04get rid of fdlimit()Eric Faurot
2013-12-05missing initEric Faurot
2013-11-06Much much improved config parser and related changes.Eric Faurot
2013-10-27Make the filter infrastructure move forward.Eric Faurot
2013-10-27Create the control socket in the parent process to abort early ifEric Faurot
2013-07-19Get rid of env->sc_pw and env->sc_pwqueue. Early queue initializationEric Faurot
2013-07-19Remove useless sc_pid from struct smtpd.Eric Faurot
2013-05-24sync with OpenSMTPD 5.3.2Eric Faurot
2013-03-11handle ECONNABORTED errors from accept(). In many code blocks they can beTheo de Raadt
2013-01-26Sync with our smtpd repo:Gilles Chehade
2012-11-23knfEric Faurot
2012-11-12Cleanups and improvements:Eric Faurot
2012-10-07convert iobuf_queue()'s to iobuf_fqueue(). (idea from gilles@)Charles Longeau
2012-10-03don't try to cope with iobuf_init() failure, make it fatal() instead.Charles Longeau
2012-10-02check iobuf_init() return value.Charles Longeau
2012-09-29use xstrdup() helperCharles Longeau
2012-09-19Remove DF_ENQUEUE flag. It is mostly unused and logically broken.Eric Faurot
2012-09-17increment the session counter when a session is created.Eric Faurot
2012-09-17fix pastoEric Faurot
2012-09-16we need to ensure we have at least two descriptors per-client accepted, orGilles Chehade
2012-09-16Factorize log_imsg() in imsg_dispatch() instead of in each imsg_callback()'sCharles Longeau
2012-09-15When enqueueing from the local socket, the input address is faked as "::1".Eric Faurot
2012-09-14Check limits before allocating the session.Eric Faurot