summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/util.c
AgeCommit message (Expand)Author
2012-08-27don't call ckdir() on each mktmpfile() call.Charles Longeau
2012-08-26- define ZLIB_BUFFER_SIZE instead of hardcoding 8192Gilles Chehade
2012-08-25Add compress_backend, allowing compression of messages and envelopes in the q...Charles Longeau
2012-08-25- add myself to the copyright in control.c, i've done quite a few changesGilles Chehade
2012-08-19coding style: replace all occurences of u_int* with uint*Charles Longeau
2012-08-11make sure generated id is never 0.Eric Faurot
2012-08-08Improve the scheduler backend API.Eric Faurot
2012-08-07Implement a set of tree_* functions for storing arbitrary pointers in splayEric Faurot
2012-07-29- introduce xlowercase() and allow lowercase() to fail gracefullyGilles Chehade
2012-07-12add support for maildir tagging/folders.Charles Longeau
2012-07-11enable back = char in address localpart, that is sometimes used by mailing li...Charles Longeau
2012-07-11Don't respect RFC 5322, that allows some crazy characters in emailCharles Longeau
2012-07-10accept address literal for the recipient domain.Charles Longeau
2012-07-08- plug text_to_relayhost() in parse.y to support relay URLs.Gilles Chehade
2012-07-02Sleeping here is definitely not what we want to do. Use a cyclingEric Faurot
2012-05-29- introduce text_to_relayhost() which converts an url into a relayhost.Gilles Chehade
2012-05-23- introduce temp_inet_net_pton_ipv6() temporarily until we have AF_INET6Gilles Chehade
2012-05-13- cleanup parse.y by removing lots of code that should not have been there,Gilles Chehade
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