summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/mda.c
AgeCommit message (Expand)Author
2017-11-21no need to check the sending process in imsg handlers when there is noEric Faurot
2017-07-31handle empty output correctly in mda_getlastline()Gilles Chehade
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_error() accessor to avoid dereferencing the io struct directly.Eric 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-16pass the user pointer as parameter to the io callback instead of havingEric Faurot
2016-09-01zap dead codeEric Faurot
2016-05-22start work on improving the log format, this is work in progress but it'llGilles Chehade
2016-03-25Nuke session_socket_blockmode() and session_socket_linger(). UseKenneth R Westerback
2016-02-02Check imsg data size before use.Sunil Nimmagadda
2016-01-08Add missing space in "Delivered-to:%s\n" header.Christopher Zimmermann
2015-12-14Wrap long lines.Sunil Nimmagadda
2015-11-30handle "mda command too long" as a tempfailGilles Chehade
2015-11-30While delivering to lmtp or mda, accept optional "as user" parameterSunil Nimmagadda
2015-10-27add a rcpt-to parameter to be able to use the original (probably expanded)Joerg Jung
2015-10-26avoid a potential double freeJonathan Gray
2015-10-11Convert some fgetln to getline.Sunil Nimmagadda
2015-01-20use <limits.h> comprehensively. For now try to push <> includes toTheo de Raadt
2015-01-05some third-party mda require a prepended From separator line, so remove theGilles Chehade
2014-07-08fix typos.Igor Sobrado
2014-04-30when using maildir, do not create automatically create folders to match tagGilles Chehade
2014-04-19(void) cast snprintf calls that cannot truncate or for which earlier checksGilles Chehade
2014-04-19add missing checks to strlcpy() when copying envelope "destination" bufferGilles Chehade
2014-04-04Merge the mda, mta and smtp processes into a single unprivilegedEric Faurot
2014-02-04Add support for DSN and Enhanced Status CodeEric Faurot
2014-02-04internal improvements and cleanupsEric Faurot
2013-12-26bcopy -> memmoveEric Faurot
2013-11-28unsigned char casts for ctypeEric Faurot
2013-11-20Rework the mda and scheduler to use the holdq mechanism instead ofEric Faurot
2013-10-28bzero() some structs before using them, to be safe.Eric Faurot
2013-10-27Create the control socket in the parent process to abort early ifEric Faurot
2013-10-26%i -> %d in format stringsEric Faurot
2013-07-19scheduler improvements:Eric 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-04-12replace MAX_LINE_SIZE and SMTP_LINE_MAX with SMTPD_MAXLINESIZE forEric Faurot
2013-02-05- handle getaddrinfo() error as LKA_TEMPFAILGilles Chehade
2013-02-05Spelling fixes: retreive -> retrieve. ok gillesNicholas Marriott
2013-01-31update mda to use a smaller struct mda_envelope internally.Eric Faurot
2013-01-28log sender address as "<>" when delivering bouncesEric Faurot
2013-01-26Sync with our smtpd repo:Gilles Chehade
2012-11-12Cleanups and improvements:Eric Faurot
2012-11-02Consistency and robustness improvements in mda:Eric Faurot
2012-10-25Make the mda request the message fd from the queue when needed, instead ofEric Faurot
2012-10-17rename field msg -> evp.Eric Faurot
2012-10-14As discussed with gilles@, actually impose the per-user limit regardlessEric Faurot
2012-10-14Limit the number of per-user mda (external program) deliveries that can beEric Faurot