summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/runner.c
AgeCommit message (Expand)Author
2010-05-19cleanup-only commit, removes unrequired includes, no functionnal changeGilles Chehade
2010-04-22Fix a case of runner trying to send imsg directly to smtp process insteadJacek Masiulaniec
2010-04-22- kill the runner_imsg_compose wrapper to reduce indirectionJacek 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-21Fix logic error just like the one in previous revision.Jacek Masiulaniec
2010-04-20Fix crash that could happen when attempting ``smtpctl remove'' whileJacek Masiulaniec
2010-04-20Kill *2400* lines of code by abstracting common bits of the imsg handlers.Jacek Masiulaniec
2010-04-19Simplify local delivery codepath: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-14Tweak the logic behind setting the fd limits so that smtpd is less likelyJacek Masiulaniec
2009-12-14Control maximum number of bounce sessions similarly to how the mta and mdaJacek Masiulaniec
2009-12-14Impose sessions limit on the delivery sessions (mta and mda).Jacek Masiulaniec
2009-12-13Use safe fd limits in smtp, lka, queue, and control. Removes aJacek Masiulaniec
2009-11-08rework a bit expansion and data structures involved in the expansion so weGilles Chehade
2009-11-08- make aliases expansion use a rb tree instead of a tail queue, the codeGilles Chehade
2009-11-03Improve error logging.Jacek Masiulaniec
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-04Fix scheduling of bounces that could not be delivered.Jacek Masiulaniec
2009-09-04Fix scheduling of bounce messages.Jacek Masiulaniec
2009-09-04Fix a crash when messagep->batch_id is read from disk and used longJacek Masiulaniec
2009-09-03imsg_get sets errno so use fatal instead of fatalx.Jacek Masiulaniec
2009-08-27Implement client side of the SMTP protocol in a library-like module.Jacek Masiulaniec
2009-08-11call reset_flags in bounce_session failure code path.Jacek Masiulaniec
2009-08-11do not repeat flag resetting code, introduce reset_flags().Jacek Masiulaniec
2009-08-08import some changes from portable smtpd to reduce the delta between both.Gilles Chehade
2009-08-06- change all occurences of T_DAEMON_BATCH,MESSAGE to T_BOUNCE_BATCH/MESSAGEGilles Chehade
2009-08-06replace X-OpenSMPTD-Loop with Delivered-ToGilles Chehade
2009-08-06when a message in queue expires, generate a bounce before we remove itGilles Chehade
2009-08-06- introduce message_set_errormsg() to set the error description that willGilles Chehade
2009-08-06This commit reworks the entire mailer daemon support to actually make itGilles Chehade
2009-07-28introduce daemon_record_message() and needed glue in queue_shared.c toGilles Chehade
2009-06-29since upper-bound is not a power of two here, use arc4random_uniformMartynas Venckus
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-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-05-10assert copyright; ok gilles@Jacek Masiulaniec
2009-04-21small corrections to log_warns and fatalsJacek Masiulaniec
2009-04-21Make /usr/sbin/sendmail not fail due to smtpd being down.Jacek Masiulaniec
2009-04-21correct some fatal(x) calls and error stringsEric Faurot
2009-04-18correct function name in fatalJacek Masiulaniec
2009-04-12When runner_check_loop() detects a mail loop, remove the envelope. This isGilles Chehade
2009-03-29turn some log_debugs into log_warns or even fatals; "looks ok" gilles@Jacek Masiulaniec