summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/util.c
AgeCommit message (Expand)Author
2013-04-12replace MAX_LINE_SIZE and SMTP_LINE_MAX with SMTPD_MAXLINESIZE forEric Faurot
2013-02-05- handle getaddrinfo() error as LKA_TEMPFAILGilles Chehade
2013-01-31assorted fixes spotted by Coverity.Eric Faurot
2013-01-26Sync with our smtpd repo:Gilles Chehade
2012-11-23knfEric Faurot
2012-11-12Cleanups and improvements:Eric Faurot
2012-10-10teach smtpctl how to display envelopes and messages using their id.Gilles Chehade
2012-10-07convert iobuf_queue()'s to iobuf_fqueue(). (idea from gilles@)Charles Longeau
2012-10-04change to from=<...>, to=<...> instead of to=<...> for loggingTodd T. Fries
2012-09-26Stop using the delivery_data union (field "to") in delivery_mda.Eric Faurot
2012-09-26log final user and method used for local deliveries.Eric Faurot
2012-09-25need inttypes.hEric Faurot
2012-09-21Add a log_envelope() function that log envelope status in a uniform way.Eric Faurot
2012-09-21Move ruleset_match() prototype to smtpd.h and make the envelope const.Eric Faurot
2012-09-20constify parameters that are supposed to be const.Eric Faurot
2012-09-18- add xmemdup() helper.Eric Faurot
2012-09-16replace BSD-licensed mkdir_p() with ISC-licensed mkdirs(), this allows usGilles Chehade
2012-09-15When enqueueing from the local socket, the input address is faked as "::1".Eric Faurot
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