summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/smtp_session.c
AgeCommit message (Expand)Author
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
2009-05-20first step towards configuration reload in smtpd, smtpctl reload will parseGilles Chehade
2009-05-19Accept STARTTLS only after EHLO; ok gilles@Jacek Masiulaniec
2009-05-19- Don't advertise nor accept STARTTLS command when session is secure.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-14correct function name in fatalJacek Masiulaniec
2009-05-10use both read and write timeout arguments in the bufferevent_settimeoutJacek Masiulaniec
2009-05-10use rfc number 4954 in auth_plain handler name, rfc 4616 is impliedJacek Masiulaniec
2009-05-10assert copyright; ok gilles@Jacek Masiulaniec
2009-05-10RFC 4954 says the response to "AUTH PLAIN" must be "334 ", not "334";Jacek Masiulaniec
2009-05-09correct AUTH PLAIN rfc number, no functional change.Jacek Masiulaniec
2009-05-09give few states more meaningful names; ok gilles@Jacek Masiulaniec
2009-05-09fix function names in log_debugJacek Masiulaniec
2009-04-28don't use strlcpy before calling a function that uses strlcpyJacek Masiulaniec