summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/mda.c
AgeCommit message (Expand)Author
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
2012-09-28Move mda_session to mda.c, and make it use a tree instead of a list,Eric Faurot
2012-09-27use xmalloc()/xcalloc() helpersCharles Longeau
2012-09-26Stop using the delivery_data union (field "to") in delivery_mda.Eric Faurot
2012-09-21Add a log_envelope() function that log envelope status in a uniform way.Eric Faurot
2012-09-20envelope type is necessarily D_MDA here.Eric Faurot
2012-09-16Factorize log_imsg() in imsg_dispatch() instead of in each imsg_callback()'sCharles Longeau
2012-08-25- introduce struct stat_valueGilles Chehade
2012-08-25use duration_to_text() when logging delay, for consistency.Eric Faurot