summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/runner.c
AgeCommit message (Expand)Author
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
2008-12-27log_warn -> log_warnxJacek Masiulaniec
2008-12-27cleanup; ok gilles@Jacek Masiulaniec
2008-12-27Merge hash() and queue_message_hash() into one func, queue_hash(). Fix callersJacek Masiulaniec
2008-12-19- smtpd handled mbox locking failures as "regular" temporary failures whichGilles Chehade
2008-12-17Introduce /purge, where all msgs scheduled for deletion are put byJacek Masiulaniec
2008-12-13IMSG_* namespace cleanup.Jacek Masiulaniec
2008-12-11- snprintf -> bsnprintfGilles Chehade
2008-12-11- fix a bug that would cause the runner to hit a fatal() when running outGilles Chehade
2008-12-07- getaddrinfo() uses negative values for its error defines, our use of anGilles Chehade