summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/smtp.c
AgeCommit message (Expand)Author
2011-05-16murder struct path and make sure smtpd uses simpler structures that do notGilles Chehade
2011-05-01the smtpd env is meant to be global, so do not pass it all around.Eric Faurot
2011-04-17cleanups, cosmethic changes, functions that should be static are now staticGilles Chehade
2011-04-17a structure describing an envelope should be called struct envelope, notGilles Chehade
2011-04-15kill message_id and message_uidGilles Chehade
2011-03-15let smtpd use user-provided Diffie-Hellman parameters for ephemeral keyGilles Chehade
2011-03-09smtpctl show stats displays inet4/inet6 repartition for incoming sessionsGilles Chehade
2010-11-28remove all unused headersGilles Chehade
2010-11-28a bit of .h cleanups, no functionnal changeGilles Chehade
2010-11-24add *maxactive statsTodd T. Fries
2010-10-09backout the "new" queue code commited 4 months ago. it has many good ideas,Gilles Chehade
2010-06-02check event_dispatch() return valueCharles Longeau
2010-06-01new queue, again; gcc2 compile tested by deraadtJacek Masiulaniec
2010-06-01New queue doesn't compile on gcc2, back out. Spotted by deraadt@Jacek Masiulaniec
2010-05-31Rewrite entire queue code.Jacek Masiulaniec
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