summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/mda.c
AgeCommit message (Expand)Author
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
2009-12-14Impose sessions limit on the delivery sessions (mta and mda).Jacek Masiulaniec
2009-12-14Do non-blocking I/O when delivering locally over a pipe.Jacek Masiulaniec
2009-11-13Add logging of failed local deliveries.Jacek Masiulaniec
2009-11-11add missing headers needed by time()Charles Longeau
2009-09-23Plug memleak.Jacek Masiulaniec
2009-09-04Prepend Return-Path.Jacek Masiulaniec
2009-09-04Major mda update:Jacek Masiulaniec
2009-09-03imsg_get sets errno so use fatal instead of fatalx.Jacek Masiulaniec
2009-09-02Include mbox write errors in "show stats". Suggested by gilles.Jacek Masiulaniec
2009-09-02Do not lose mail when write(2) to mbox fails.Jacek Masiulaniec
2009-08-06This commit reworks the entire mailer daemon support to actually make itGilles Chehade
2009-06-07Change the way fds passed over a socket are retreived on the receiving side.Eric Faurot
2009-06-06Sync with relayd:Pierre-Yves Ritschard
2009-06-05make smtpd's imsg lib ready, just like relayd and ospfd.Pierre-Yves Ritschard
2009-06-03simplify struct batch; ok gilles@Jacek Masiulaniec
2009-06-01Fix EV_READ/EV_WRITE testing inside IMSG handlers. Based on similar changeJacek Masiulaniec
2009-05-24Parent process forks 3 types of processes, track them all in a single treeJacek Masiulaniec
2009-05-19Verify the amount of IMSG payload is exactly as expected; ok gilles@Jacek Masiulaniec
2009-05-14use the nitems() macro where appropriateEric Faurot
2009-04-28let mta, mda, and mfa become idle - no functional change; ok gilles@Jacek Masiulaniec
2009-04-21correct some fatal(x) calls and error stringsEric Faurot
2009-03-29turn some log_debugs into log_warns or even fatals; "looks ok" gilles@Jacek Masiulaniec
2009-03-23Fixed a leaking of a fd each time a file is delivered to a mbox, whichTobias Stoeckmann