summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/smtp_session.c
AgeCommit message (Expand)Author
2012-01-13remove the status field from struct envelope, move it to the smtpEric Faurot
2012-01-12alter line contents before writing it, rather than after...Eric Faurot
2011-12-12add a session_enter_state() function to change the state of an smtpEric Faurot
2011-10-23fsqueue no longer stores envelopes by dumping the structure, instead use aGilles Chehade
2011-10-03- fix a segv caused by a deep recursion introduced with a recent quick-fixGilles Chehade
2011-09-28removing annoying debug logGilles Chehade
2011-09-12- introduce filtermask in struct smtpdGilles Chehade
2011-09-01Introduce a small set of functions to manage stat counters in aEric Faurot
2011-09-01- if no filter is setup, do not overwrite the data line with filtmsg bufferCharles Longeau
2011-08-31add support for per-line DATA callbacks, this allows filters to take theirGilles Chehade
2011-08-27initial support for a session-time filtering APIGilles Chehade
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