summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/control.c
AgeCommit message (Expand)Author
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-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-20Kill *2400* lines of code by abstracting common bits of the imsg handlers.Jacek Masiulaniec
2010-01-10- teach runner how to remove a message from queue given a message id/uidGilles Chehade
2010-01-03Implement "log verbose" and "log brief" to enable or disable verbose debugCharles Longeau
2009-12-23Implementation of RFC 2920 PIPELINING extension, client side only for now.Jacek Masiulaniec
2009-12-13Use safe fd limits in smtp, lka, queue, and control. Removes aJacek Masiulaniec
2009-12-02log_warn() consistency.Michael Knudsen
2009-11-26fix copy & paste error: IMSG_MTA_RESUME --> IMSG_MDA_RESUMECharles Longeau
2009-11-23In "smtpd; smtpd;" the second instance would fatal quickly, but it wouldJacek Masiulaniec
2009-10-25smtpctl reload is work in progress, do not expose it and make sure smtpd'sGilles Chehade
2009-09-18Remove useless Received line added at the /usr/sbin/sendmail stage, itJacek Masiulaniec
2009-09-15Extend SMTP client_* API to support SSL+AUTH, and use it in the mtaJacek Masiulaniec
2009-09-03imsg_get sets errno so use fatal instead of fatalx.Jacek Masiulaniec
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-01Fix EV_READ/EV_WRITE testing inside IMSG handlers. Based on similar changeJacek Masiulaniec
2009-05-25Disallow submission using /usr/sbin/sendmail while the server isJacek Masiulaniec
2009-05-24Parent process forks 3 types of processes, track them all in a single treeJacek Masiulaniec
2009-05-24Instead of keeping stats private to each process, and querying everyJacek Masiulaniec
2009-05-20previous commit to add reload support was missing some code, this diffsGilles Chehade
2009-05-20first step towards configuration reload in smtpd, smtpctl reload will parseGilles Chehade
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-05-09fix rare memleak; ok gilles@Jacek Masiulaniec
2009-04-21correct some fatal(x) calls and error stringsEric Faurot
2009-04-16Total rewrite of the sendmail interface. Adds support for -t, -v,Jacek Masiulaniec
2009-03-29turn some log_debugs into log_warns or even fatals; "looks ok" gilles@Jacek Masiulaniec
2009-03-18previous commit removed "else" conditionGilles Chehade
2009-03-08when operating in enqueue mode, it was easy to make smtpctl fatal() byGilles Chehade
2009-03-01deny regular users to run "smtpctl show stats" and "smtpctl schedule";Jacek Masiulaniec
2009-02-25NULL pointer dereferenceGilles Chehade
2009-02-24teach smtpctl's parser how to deal with parameters that are not necessarilyGilles Chehade
2009-02-22add missing headersCharles Longeau
2009-02-22replace MAX* constants by sizeof where possibleOleg Safiullin
2009-02-17imsg_init depends on ibuf being calloc'd. fix few places where mallocJacek Masiulaniec
2009-02-15New config.c that allows for process cloning. Done by pyr@ forJacek Masiulaniec
2009-01-29Implement "smtpctl show stats"; ok gilles@Jacek Masiulaniec
2009-01-27instead of relying on socket permissions to allow or disallow imsg's thatGilles Chehade
2009-01-27first bricks of enqueue code which allows smtpctl to submit mail to queueGilles Chehade
2009-01-27the data member of ibuf was not set to the environment in control_accept()Gilles Chehade
2009-01-04- smtp can now pause/resume the accepting of incoming messagesGilles Chehade
2009-01-04- runner is now capable of pausing/resuming the scheduling of deliveriesGilles Chehade
2009-01-01remove unnecessary includes; ok gilles@Jacek Masiulaniec
2008-12-05- last part of the new queue code: the runner process (unprivileged andGilles Chehade