summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/queue.c
AgeCommit message (Expand)Author
2009-12-13Use safe fd limits in smtp, lka, queue, and control. Removes aJacek Masiulaniec
2009-11-08- make aliases expansion use a rb tree instead of a tail queue, the codeGilles Chehade
2009-11-01fix a couple log_info()s,Gilles Chehade
2009-10-12- fix a null deref which could happen after a couple iterations of theGilles Chehade
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-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-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-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-21correct some fatal(x) calls and error stringsEric Faurot
2009-04-18remove dead code; made possible by previous commit.Jacek Masiulaniec
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-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