summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/smtp_session.c
AgeCommit message (Expand)Author
2013-05-24sync with OpenSMTPD 5.3.2Eric Faurot
2013-04-12replace MAX_LINE_SIZE and SMTP_LINE_MAX with SMTPD_MAXLINESIZE forEric Faurot
2013-02-21do not send disconnect event to the mfa if connect event was not sent.Eric Faurot
2013-02-16only use local hostname in Received lines if listener has not overriden it,Gilles Chehade
2013-02-15terminate session instead of fatal() if getsockname() fails.Eric Faurot
2013-02-05- handle getaddrinfo() error as LKA_TEMPFAILGilles Chehade
2013-01-26Sync with our smtpd repo:Gilles Chehade
2012-11-23knfEric Faurot
2012-11-12Cleanups and improvements:Eric Faurot
2012-11-02Add a "kick counter" that gets incremented on each command, to detectEric Faurot
2012-10-28Limit the number of messages that can be enqueued on a single SMTPEric Faurot
2012-10-11- ssize_t -> size_tGilles Chehade
2012-10-09- allow a listen statement to impose tls on its clients;Gilles Chehade
2012-10-07convert iobuf_queue()'s to iobuf_fqueue(). (idea from gilles@)Charles Longeau
2012-09-14Remove s_ssl from the smtp session since it is duplicated in the io struct.Eric Faurot
2012-08-25- introduce struct stat_valueGilles Chehade
2012-08-24When an smtp session fails and IMSG_QUEUE_REMOVE_MESSAGE is sent to theEric Faurot
2012-08-19coding style: replace all occurences of u_int* with uint*Charles Longeau
2012-08-18- introduce stat_backend, an API for pluggable statistic backendsGilles Chehade
2012-08-18Disallow empty domain/address sent after HELO/EHLO command.Charles Longeau
2012-08-10Move mta and smtp specific defines into their own files.Eric Faurot
2012-05-08fix and re-enable connect notification to the mfa.Eric Faurot
2012-01-29For some reason, all recipients are rejected if the msg field is notEric Faurot
2012-01-29disable connection filter hook for now. fixes smtps.Eric Faurot
2012-01-29Rewrite io code in smtp and mta using the iobuf/ioev interface to haveEric Faurot
2012-01-27that log_debug is no longer neededGilles Chehade
2012-01-26in session_read_data() do NOT enable back read event otherwise it willGilles Chehade
2012-01-26Do not call session_respond() AND session_imsg() from the same handler asGilles Chehade
2012-01-21in session_error(), do not call session_destroy() when the F_WRITEONLYGilles Chehade
2012-01-18Add new filters callbacks for:Charles Longeau
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