summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/mda.c
AgeCommit message (Expand)Author
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
2011-05-01the smtpd env is meant to be global, so do not pass it all around.Eric Faurot
2011-04-17cleanups, cosmethic changes, functions that should be static are now staticGilles Chehade
2011-04-17a structure describing an envelope should be called struct envelope, notGilles Chehade
2011-04-15kill message_id and message_uidGilles Chehade
2010-11-28remove all unused headersGilles Chehade
2010-11-28a bit of .h cleanups, no functionnal changeGilles Chehade
2010-10-09backout the "new" queue code commited 4 months ago. it has many good ideas,Gilles Chehade
2010-06-02check event_dispatch() return valueCharles Longeau
2010-06-01new queue, again; gcc2 compile tested by deraadtJacek Masiulaniec
2010-06-01New queue doesn't compile on gcc2, back out. Spotted by deraadt@Jacek Masiulaniec
2010-05-31Rewrite entire queue code.Jacek Masiulaniec
2010-05-26Rename some imsg bits to make namespace collisions less likely buf toNicholas Marriott
2010-04-21Runner process is just a helper for queue, so tear down its imsgJacek Masiulaniec
2010-04-21Remove unusable ifdef DEBUG code.Jacek Masiulaniec
2010-04-20Use correct type for ``mda_id'', ie. match with type used in imsg header.Jacek Masiulaniec
2010-04-20Kill *2400* lines of code by abstracting common bits of the imsg handlers.Jacek Masiulaniec
2010-04-19Use larger buffer for mda output.Jacek Masiulaniec
2010-04-19Simplify local delivery codepath:Jacek Masiulaniec
2010-03-03tweak mda.c rev. 1.36: eliminate risk of busy waiting for socketJacek Masiulaniec
2010-03-01mda_event() assumed the mbox fp to be a file when it could be a pipe, doGilles Chehade
2010-01-03Implement "log verbose" and "log brief" to enable or disable verbose debugCharles Longeau