summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/runner.c
AgeCommit message (Expand)Author
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
2009-01-27first bricks of enqueue code which allows smtpctl to submit mail to queueGilles Chehade
2009-01-08clear processing flags early so that there's never doubt whether theyJacek Masiulaniec
2009-01-06rework /queue traversal; ok gilles@Jacek Masiulaniec
2009-01-06make file update in queue_update_envelope atomic; ok gilles@Jacek Masiulaniec
2009-01-04- smtp can now pause/resume the accepting of incoming messagesGilles Chehade
2009-01-04- remove runstates global, we don't need it actually.Gilles Chehade
2009-01-04make sure runner resets scheduling related flags on envelopes when theGilles Chehade
2009-01-04- runner is now capable of pausing/resuming the scheduling of deliveriesGilles Chehade
2009-01-04remove unnecessary "messagep->retry == 255" expiry condition; ok gilles@Jacek Masiulaniec
2009-01-04kill F_MESSAGE_EXPIRED; ok gilles@Jacek Masiulaniec
2009-01-04fix bug where runner would expire message that is being delivered,Jacek Masiulaniec