summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/scheduler.c
AgeCommit message (Expand)Author
2021-06-14add required headers for smtpd.h and remove unnecessary ones in other files.Eric Faurot
2021-05-26replaces calls to err(3)/errx(3) with fatal()/fatalx() from log.cEric Faurot
2018-12-30Delete unnecessary <libgen.h> #includesPhilip Guenther
2018-12-08Use correct RFC 3464 specified values for Action field in a DSN.Sunil Nimmagadda
2018-05-31remove 'where' parameter from all x*() functions in utils.c, it doesn'tGilles Chehade
2018-05-24switch smtpd to new grammarGilles Chehade
2017-01-09Stop accessing verbose and debug variables from log.c directly.Reyk Floeter
2016-09-08Streamline the daemon shutdown sequence.Eric Faurot
2016-09-04The smtpd processes are not expected to ever leave their event loop.Eric Faurot
2016-09-01remove noop functionEric Faurot
2016-05-28Implement the fork+exec pattern in smtpd.Eric Faurot
2015-12-28remove spaces after '!'Joerg Jung
2015-10-29Implement smtpctl discover <evpid|msgid>.Sunil Nimmagadda
2015-10-13pledge("stdio") the scheduler processGilles Chehade
2015-01-20use <limits.h> comprehensively. For now try to push <> includes toTheo de Raadt
2014-07-10Improve the scheduler, better and simpler.Eric Faurot
2014-07-08fix typos.Igor Sobrado
2014-05-20format string cleanup: change "%i" to "%d" and fix a few typosEric Faurot
2014-04-08use correct imsgEric Faurot
2014-04-04Merge the mda, mta and smtp processes into a single unprivilegedEric Faurot
2014-02-04internal improvements and cleanupsEric Faurot
2014-02-04get rid of fdlimit()Eric Faurot
2013-12-26bcopy -> memmoveEric Faurot
2013-12-05When a relay fails, let the scheduler update all envelopes in theEric Faurot
2013-11-30do not hardcode scheduler batch size, and reduce default limit to avoidEric Faurot
2013-11-20Rework the mda and scheduler to use the holdq mechanism instead ofEric Faurot
2013-11-19Add a limit on the number of inflight envelopes. The scheduler suspendsEric Faurot
2013-10-27Implement a feedback mechanism which allows the mta to "hold" envelopesEric Faurot
2013-10-27Create the control socket in the parent process to abort early ifEric Faurot
2013-10-25Improve reporting in smtpctl and a few fixes.Eric Faurot
2013-07-19Many MTA improvements:Eric 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-02-10When getting the next batch of envelope to schedule, use an array toEric Faurot
2013-01-31assorted fixes spotted by Coverity.Eric Faurot
2013-01-26Sync with our smtpd repo:Gilles Chehade
2012-11-20Allow "smtpctl show queue" to run in "online" mode if the smtpd serverEric Faurot
2012-11-12Cleanups and improvements:Eric Faurot
2012-11-02Make counters more informative in the scheduler:Eric Faurot
2012-09-16Factorize log_imsg() in imsg_dispatch() instead of in each imsg_callback()'sCharles Longeau
2012-09-11Rework the scheduler internals. Fix some scheduling loop issues andEric Faurot
2012-08-25- add myself to the copyright in control.c, i've done quite a few changesGilles Chehade
2012-08-25- introduce struct stat_valueGilles Chehade
2012-08-24When an smtp session fails and IMSG_QUEUE_REMOVE_MESSAGE is sent to theEric Faurot
2012-08-24add stat counter for the number of envelopes inflight.Eric Faurot
2012-08-21Re-enable loop detection, but in mta and mda this time.Eric Faurot
2012-08-20chroot scheduler in /var/empty instead of /var/spool/smtpd now that eric@ fix...Charles Longeau
2012-08-19fix smtpctl schedule-all and schedule-id <msgid>Charles Longeau