summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/util.c
AgeCommit message (Expand)Author
2012-01-28remove even more annoying debug logsGilles Chehade
2012-01-12remove envelope_get_errormsg() and move envelope_set_errormsg()Eric Faurot
2012-01-11Simplify runner/queue by getting rid of Q_PURGE. Instead, let smtpdEric Faurot
2011-12-18remove unused headerCharles Longeau
2011-12-18- use envelope_set_errormsg() where possible.Eric Faurot
2011-12-11utility function for parsing and validating SMTP response linesEric Faurot
2011-11-16remove unused functionsEric Faurot
2011-11-14The spool and offline directories are backend-independent, so theyEric Faurot
2011-10-27Use PRI{x,d}64 in format strings instead of %llx, %lld or %qd to print {u_,}i...Charles Longeau
2011-10-23fsqueue no longer stores envelopes by dumping the structure, instead use aGilles Chehade
2011-05-17introduce new user_backend API for smtpd to lookup the users it wants toGilles Chehade
2011-05-16murder struct path and make sure smtpd uses simpler structures that do notGilles Chehade
2011-05-14int * -> socklen_t * in getsockopt() callGilles Chehade
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-15valid_message_id() and valid_message_uid() are no longer neededGilles Chehade
2011-04-15kill message_id and message_uidGilles Chehade
2011-03-29remove unused code now that reverse lookups are done through asr.Eric Faurot
2011-03-03fix ss_to_text() and ss_to_ptr() so IP addresses are logged correctlyGilles Chehade
2010-11-29replace the fork-based-non-blocking-resolver-hack by shiny async resolverGilles 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
2009-12-23Implementation of RFC 2920 PIPELINING extension, client side only for now.Jacek Masiulaniec
2009-12-14Tweak the logic behind setting the fd limits so that smtpd is less likelyJacek 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-11-08first commit of a serie to cleanup, simplify and improve aliases resolutionGilles Chehade
2009-09-15Extend SMTP client_* API to support SSL+AUTH, and use it in the mtaJacek Masiulaniec
2009-08-27getpwnam failure that results in setting errno could confuse theJacek Masiulaniec
2009-08-08missing castGilles Chehade
2009-08-08import some changes from portable smtpd to reduce the delta between both.Gilles Chehade
2009-08-06- introduce message_set_errormsg() to set the error description that willGilles Chehade
2009-06-01No need for save_getpwuid and such functions which call endpwent.Theo de Raadt
2009-05-10assert copyright; ok gilles@Jacek Masiulaniec
2009-04-24Make aliases case-insensitive, issue reported by Daniel Ouelett; ok gilles@Jacek Masiulaniec
2009-03-12Add new function time_to_text to correctly display the date.pea
2009-03-10ascribe copyright to code taken from OpenSSH, pointed out by deraadtJacek Masiulaniec
2009-03-09run external mda directly, not via sh -c; this steals addargs() APIJacek Masiulaniec
2009-03-01- Refuse delivery to mbox that is a symlink, pipe, chardev, etc. etc.Jacek Masiulaniec
2009-02-24teach smtpctl's parser how to deal with parameters that are not necessarilyGilles Chehade
2009-02-23add valid_message_id() and valid_message_uid() which test that a message idGilles Chehade
2009-02-22put repeated inet_ntop calls into new func ss_to_text, which usesJacek Masiulaniec
2009-02-22replace MAX* constants by sizeof where possibleOleg Safiullin
2009-02-18- add basic syntax checking to mfaJacek Masiulaniec
2009-01-28in safe_fclose, ensure file is closed upon return, and additionallyJacek Masiulaniec
2009-01-27first bricks of enqueue code which allows smtpctl to submit mail to queueGilles Chehade
2009-01-27err, actually session_set_path was moved to utils.c because it was used byGilles Chehade