summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/smtp.c
AgeCommit message (Expand)Author
2010-05-19cleanup-only commit, removes unrequired includes, no functionnal changeGilles Chehade
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-20Kill *2400* lines of code by abstracting common bits of the imsg handlers.Jacek Masiulaniec
2010-01-03Implement "log verbose" and "log brief" to enable or disable verbose debugCharles Longeau
2009-12-14Set initial session limit so that IMSG_SMTP_ENQUEUE can be satisfied evenJacek Masiulaniec
2009-12-13Use safe fd limits in smtp, lka, queue, and control. Removes aJacek Masiulaniec
2009-11-08- make aliases expansion use a rb tree instead of a tail queue, the codeGilles Chehade
2009-10-25tag should also be copied from listener to message when the message isGilles Chehade
2009-09-18Remove useless Received line added at the /usr/sbin/sendmail stage, itJacek Masiulaniec
2009-09-03imsg_get sets errno so use fatal instead of fatalx.Jacek Masiulaniec
2009-08-06- change all occurences of T_DAEMON_BATCH,MESSAGE to T_BOUNCE_BATCH/MESSAGEGilles Chehade
2009-08-06This commit reworks the entire mailer daemon support to actually make itGilles Chehade
2009-06-07Change the way fds passed over a socket are retreived on the receiving side.Eric Faurot
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-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