summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/mda.c
AgeCommit message (Expand)Author
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
2009-03-15the mda process no longer uses struct batch as its central structure toGilles Chehade
2009-03-10implement basic logging, needs more work; ok gilles@Jacek Masiulaniec
2009-02-22add missing headersCharles Longeau
2009-02-15New config.c that allows for process cloning. Done by pyr@ forJacek Masiulaniec
2009-01-27first bricks of enqueue code which allows smtpctl to submit mail to queueGilles Chehade
2009-01-01remove unnecessary includes; ok gilles@Jacek Masiulaniec
2008-12-13IMSG_* namespace cleanup.Jacek Masiulaniec
2008-12-05- more err/errx -> fatal/fatalx, warn/warnx -> log_warn/log_warnxGilles Chehade
2008-12-05- last part of the new queue code: the runner process (unprivileged andGilles Chehade
2008-11-05add a few missing id tags; there are a bunch of files, and developersIgor Sobrado