summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/smtp_session.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-15kill message_id and message_uidGilles Chehade
2010-11-28remove all unused headersGilles Chehade
2010-11-28a bit of .h cleanups, no functionnal changeGilles Chehade
2010-10-09backout the "new" queue code commited 4 months ago. it has many good ideas,Gilles Chehade
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-04-24fix format stringCharles Longeau
2010-04-21my evbuffer_readln_crlf() hack can be killed now that nicm@ has brought usGilles Chehade
2010-04-19initial support for ENHANCEDSTATUSCODES, has been sitting in my tree forGilles Chehade
2010-04-19basic support for SIZE extension, has been sitting in my tree for a monthGilles Chehade
2009-12-31when separating command from parameters in smtp session, the parser triesGilles Chehade
2009-12-13Use safe fd limits in smtp, lka, queue, and control. Removes aJacek Masiulaniec
2009-11-16Kill dead code.Jacek Masiulaniec
2009-11-13Log all 4yz and 5yz replies that we send to our clients.Jacek Masiulaniec
2009-11-13Include recipient address in "Recipient rejected" reply.Jacek Masiulaniec
2009-11-05evbuffer_readline() assumes end of line to be \r, \n, \r\n, \n\r or \r\r.Gilles Chehade
2009-10-19currently, smtpd is capable of having multiple listeners with differentGilles Chehade
2009-10-06disallow AUTH once a session is in progress, this prevents a fatal fromGilles Chehade
2009-09-12Simplify line len checking: use one limit for all SMTP exchanges.Jacek Masiulaniec
2009-09-12fix a wrong computation in session_readline() where the length of line wasGilles Chehade
2009-09-12cmdlinetoolong stat was incremented at the wrong place, fixGilles Chehade
2009-09-12- fix a compile time warningGilles Chehade
2009-09-12replace a fwrite || fwrite construct with a fprintf which achieves the sameGilles Chehade
2009-09-01Log all 4yz/5yz responses we send when in debug mode; ok gilles@Jacek Masiulaniec
2009-08-12Fix unwanted rejects by parsing (and ignoring) AUTH=<...> MAILJacek Masiulaniec
2009-08-08import some changes from portable smtpd to reduce the delta between both.Gilles Chehade
2009-08-07smtp_session: ssl/ssl.h -> openssl/ssl.hGilles Chehade
2009-08-07we were linking to libkeynote to use kn_base64_encode/decode, but honestlyGilles Chehade
2009-08-06in smtp_session, fix logging so that when we accepted an empty envelope forGilles Chehade
2009-08-01when receiving characters with the most significant bit set over a sessionGilles Chehade
2009-07-19fix fwrite return code checking.Jacek Masiulaniec
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-01display ssl negociation information in the received line of incomingGilles Chehade
2009-05-31when entering mta_connect() reset session fd to -1Gilles Chehade
2009-05-30fix a bug where sessions_active counter, used to compute accept limits, wasGilles Chehade
2009-05-28Log the incoming message size; ok gilles@Jacek Masiulaniec
2009-05-28Log the "for <foo@bar.com>" part in the Received field; ok gilles@Jacek Masiulaniec
2009-05-27Insert Received: at receive time instead of delivery time; ok gilles@Jacek Masiulaniec
2009-05-27After a successful AUTH command completes, reject any further AUTH commands.Jacek Masiulaniec
2009-05-27request flood mitigation:Jacek Masiulaniec
2009-05-25Recent event masking scheme change turned the S_GREETED and S_HELO casesJacek Masiulaniec
2009-05-24Parent process shouldn't be base64-decoding untrusted strings, moveJacek Masiulaniec
2009-05-24Implement pipelining detection inside session_readline, makes the callingJacek Masiulaniec
2009-05-24Instead of keeping stats private to each process, and querying everyJacek Masiulaniec
2009-05-20Delay enabling of EV_READ until S_INIT (smtps) or S_TLS (starttls).Jacek Masiulaniec