summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/queue.c
AgeCommit message (Expand)Author
2009-03-29turn some log_debugs into log_warns or even fatals; "looks ok" gilles@Jacek Masiulaniec
2009-03-01In "smtpctl show stats", break queue.inserts into queue.inserts.remoteJacek Masiulaniec
2009-02-22add missing headersCharles Longeau
2009-02-20purge /enqueue at startup; ok gilles@Jacek 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-29Common queue walking code for smtpd and smtpctl. Kills majority of showqueue.c,Jacek Masiulaniec
2009-01-28Make races between queue and runner impossible by implementing the policy:Jacek Masiulaniec
2009-01-28move some functions from queue.c to queue_shared.c as they are not onlyGilles Chehade
2009-01-28add a struct path to struct message so that we can keep track of the RCPTGilles Chehade
2009-01-27first bricks of enqueue code which allows smtpctl to submit mail to queueGilles Chehade
2009-01-26move some queue related functions that are needed outside of smtpd to theGilles Chehade
2009-01-26we had a set of functions to deal specifically with incoming messages andGilles Chehade
2009-01-12more checks in queue_record_incoming_envelope; ok gilles@Jacek Masiulaniec
2009-01-06make file update in queue_update_envelope atomic; ok gilles@Jacek Masiulaniec
2009-01-04aliases/forwards expansion was not done correctly and a race couldGilles Chehade
2009-01-02fix T_DAEMON_MESSAGE notices delivery; ok gilles@Jacek Masiulaniec
2009-01-02cleanup queue_load_envelope; ok gilles@Jacek Masiulaniec
2009-01-01remove unnecessary includes; ok gilles@Jacek Masiulaniec
2008-12-31if mkdir/mkdtemp fails, fatal if errno != ENOSPC; ok gilles@Jacek Masiulaniec
2008-12-31rename may fail due to ENOSPC, make smtpd survive this condition; ok gilles@Jacek Masiulaniec
2008-12-31kill unnecessary function; ok gilles@Jacek Masiulaniec
2008-12-29Handle ENOSPC in queue_update_envelope; cleanup the code a bit; ok gilles@Jacek Masiulaniec
2008-12-27kill unused function; ok gilles@Jacek Masiulaniec
2008-12-27cleanup; ok gilles@Jacek Masiulaniec
2008-12-27Put common handler code in a function; ok chl@ gilles@Jacek Masiulaniec
2008-12-27Merge hash() and queue_message_hash() into one func, queue_hash(). Fix callersJacek Masiulaniec
2008-12-18Cleanup /incoming before handling each MAIL FROM.Jacek Masiulaniec
2008-12-17Introduce /purge, where all msgs scheduled for deletion are put byJacek Masiulaniec
2008-12-14Files under /incoming don't need flock(2)ing anymore.Jacek Masiulaniec
2008-12-14O_TRUNC is redundant if O_EXCL is specified.Jacek Masiulaniec
2008-12-14O_TRUNC is redundant if O_EXCL is specified.Jacek Masiulaniec
2008-12-14queue_create_incoming_layout must return 0 on failure, not -1.Jacek Masiulaniec
2008-12-13IMSG_* namespace cleanup.Jacek Masiulaniec
2008-12-11- last snprintf -> bsnprintfGilles Chehade
2008-12-11- snprintf -> bsnprintfGilles Chehade
2008-12-07Simplify queue_record_incoming_envelope.Jacek Masiulaniec
2008-12-06Make queue_delete_incoming_message not fatal on ENOENT condition.Jacek Masiulaniec
2008-12-06Don't include <err.h> where log.c API must be used.Jacek Masiulaniec
2008-12-05- last part of the new queue code: the runner process (unprivileged andGilles Chehade
2008-12-03- remove log_debug() that's no longer neededGilles Chehade
2008-12-03- fix event masking issues in smtp process which could lead to a fatal() ifGilles Chehade
2008-11-25- recent change in parse.y caused htons() to be called twice on the portGilles Chehade
2008-11-24- when using fread/fwrite, do not swap the size and nmemb arguments. noGilles Chehade
2008-11-17- remove some unused prototypesGilles Chehade
2008-11-17- queue_record_daemon() no longer used, remove definitionGilles Chehade
2008-11-17- replace uses of O_EXLOCK and O_EXLOCK|O_NONBLOCK with the correspondingGilles Chehade
2008-11-11- mistakenly removed this lockGilles Chehade
2008-11-11- introduce queue_init_submissions() which will sanitize the disk-basedGilles Chehade
2008-11-11- queue process no longer schedules messages which do not have flagGilles Chehade