summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/runner.c
AgeCommit message (Expand)Author
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
2009-03-22fix a bug in the resolution of forward files which would cause usernamesGilles Chehade
2009-03-18we can no longer create batches of MDA deliveries, so make sure runnerGilles Chehade
2009-03-15the mda process no longer uses struct batch as its central structure toGilles Chehade
2009-03-09add basic support for outgoing authentication (AUTH PLAIN over ssl) whichGilles Chehade
2009-02-24teach smtpctl's parser how to deal with parameters that are not necessarilyGilles Chehade
2009-02-22Fix race possible between runner and queue when starting up.Jacek Masiulaniec
2009-02-22replace MAX* constants by sizeof where possibleOleg Safiullin
2009-02-15New config.c that allows for process cloning. Done by pyr@ forJacek Masiulaniec
2009-02-14Initialize time_t now as necessary, fixes delivery rescheduling; ok gilles@Jacek 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-28relayhost flags were not properly copied to the relayhost array of theGilles Chehade
2009-01-28Make races between queue and runner impossible by implementing the policy:Jacek Masiulaniec
2009-01-28bring loop detection support. we handle this with a qmail-like approach whichGilles Chehade