summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/smtp.c
AgeCommit message (Expand)Author
2009-06-05make smtpd's imsg lib ready, just like relayd and ospfd.Pierre-Yves Ritschard
2009-06-02make env->sc_listeners and env->sc_ssl pointers, one step further towardGilles Chehade
2009-06-01Don't destroy listening socket when pause/resume request is received,Jacek Masiulaniec
2009-06-01Fix EV_READ/EV_WRITE testing inside IMSG handlers. Based on similar changeJacek Masiulaniec
2009-05-25merge smtp_listener_setup into its only caller; ok gilles@Jacek Masiulaniec
2009-05-24Parent process shouldn't be base64-decoding untrusted strings, moveJacek 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-20first step towards configuration reload in smtpd, smtpctl reload will parseGilles Chehade
2009-05-19Verify the amount of IMSG payload is exactly as expected; ok gilles@Jacek Masiulaniec
2009-05-18Complete rework of bufferevent event masking allowing for moreJacek Masiulaniec
2009-05-14use the nitems() macro where appropriateEric Faurot
2009-05-10assert copyright; ok gilles@Jacek Masiulaniec
2009-05-09fix function names in log_debugJacek Masiulaniec
2009-05-09- New API to handle all DNS query types (A, MX, PTR) asynchronously.Jacek Masiulaniec
2009-04-28fix a bug where client with unresolvable revdns is never greeted; ok gilles@Jacek Masiulaniec
2009-04-28make S_DATAREQUEST state similar to S_{MAIL,RCPT}REQUEST; ok gilles@Jacek Masiulaniec
2009-04-27fix unlikely fd leak; ok gilles@Jacek Masiulaniec
2009-04-24Enclose common imsg handling code in a function, which additionallyJacek Masiulaniec
2009-04-24use same timeout at each session state, and make use ofJacek Masiulaniec
2009-04-21correct some fatal(x) calls and error stringsEric Faurot
2009-04-20Rewrite smtp session timeouts; use evtimer_* from event(3) insteadJacek Masiulaniec
2009-04-16Total rewrite of the sendmail interface. Adds support for -t, -v,Jacek Masiulaniec
2009-04-09change syntax of the "listen on" and "relay via" directives:Jacek Masiulaniec
2009-03-29turn some log_debugs into log_warns or even fatals; "looks ok" gilles@Jacek Masiulaniec
2009-03-15since we are going to share code in smtp sessions and mta sessions, we needGilles Chehade
2009-03-15save 4 bytes per message by moving the datafp field of struct message toGilles Chehade
2009-02-23add missing headers needed by time()Charles Longeau
2009-02-22add missing headersCharles Longeau
2009-02-22replace MAX* constants by sizeof where possibleOleg Safiullin
2009-02-18previous commit was incomplete, this fixes ssmtpGilles Chehade
2009-02-18smtp_accept() now requests from lka that it performs the hostname lookupGilles Chehade
2009-02-17after a message has been commited to queue, do not incondtionnally clearGilles Chehade
2009-02-15New config.c that allows for process cloning. Done by pyr@ forJacek Masiulaniec
2009-01-30improve statistics for smtp process. not only collect the current sessionsGilles Chehade
2009-01-30clear the F_EVLOCK flag earlier to prevent the error event handler fromGilles Chehade
2009-01-30bump descriptors limit to the max and set the maximum connections count toGilles Chehade
2009-01-30fix a very annoying events masking issue which would cause a fatal() to beGilles Chehade
2009-01-29Implement "smtpctl show stats"; ok gilles@Jacek Masiulaniec
2009-01-28when pausing listeners, do not simply disable their events as newGilles Chehade
2009-01-04- smtp can now pause/resume the accepting of incoming messagesGilles Chehade
2009-01-04aliases/forwards expansion was not done correctly and a race couldGilles Chehade
2009-01-01remove unnecessary includes; ok gilles@Jacek Masiulaniec
2008-12-26parse.y doesn't allow listen backlog configuration, so "bzero default" is used.Jacek Masiulaniec
2008-12-22s->s_msg.session_hostname must hold resolved hostname as well; ok gilles@Jacek Masiulaniec
2008-12-21- missing prototype + smtp.c was misusing session_auth_pickup()Gilles Chehade
2008-12-21- AUTH PLAIN may receive credentials as a parameter to AUTH or on aGilles Chehade
2008-12-13IMSG_* namespace cleanup.Jacek Masiulaniec
2008-12-03- fix event masking issues in smtp process which could lead to a fatal() ifGilles Chehade
2008-11-24- not really a bug since we don't use other descriptor flags, but inGilles Chehade