summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/mda.c
AgeCommit message (Expand)Author
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
2012-08-21Re-enable loop detection, but in mta and mda this time.Eric Faurot
2012-08-19coding style: replace all occurences of u_int* with uint*Charles Longeau
2012-08-09Improve the message flows to completely isolate operations on theEric Faurot
2012-01-13Stop using envelope->status to report delivery outcome to theEric Faurot
2012-01-12use mbox backend for mbox delivery.Eric Faurot
2011-12-18- use envelope_set_errormsg() where possible.Eric Faurot
2011-12-13- introduce delivery backend API (delivery.c)Gilles Chehade
2011-11-14when receiving an unexpected imsg, print its name.Charles Longeau
2011-10-27Use PRI{x,d}64 in format strings instead of %llx, %lld or %qd to print {u_,}i...Charles Longeau
2011-10-23fsqueue no longer stores envelopes by dumping the structure, instead use aGilles Chehade
2011-10-09show messages sent between processes in debug modeEric Faurot
2011-08-29cast all printed time_t to long long int, and change format string accordingly.Charles Longeau
2011-08-29add missing header needed by signal()Charles Longeau
2011-08-26add missing header needed by time()Charles Longeau
2011-05-16murder struct path and make sure smtpd uses simpler structures that do notGilles Chehade