summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/util.c
AgeCommit message (Expand)Author
2014-04-19(void) cast a strlcpy that cannot truncateGilles Chehade
2014-02-04extend allowed charset for email address, escape all potentially dangerous ones.Eric Faurot
2014-02-04add base64_encode/base64_decode helpersEric Faurot
2014-02-04get rid of fdlimit()Eric Faurot
2014-01-08ctype cleanup; ok gillesTheo de Raadt
2013-12-26bcopy -> memmoveEric Faurot
2013-11-28unsigned char casts for ctypeEric Faurot
2013-11-19Allow '*' in the user part of mailaddresses. By default, potentially dangerousEric Faurot
2013-10-29use "/etc/mail/mailname" instead of "/etc/mailname" and make it a define.Eric Faurot
2013-10-29randomize counter part of generated uidsEric Faurot
2013-10-27use log_* functions instead of err*/warn*Eric Faurot
2013-10-25local enqueuer improvements:Eric Faurot
2013-07-19add '!' in email addresses supported charsetEric Faurot
2013-07-19Introduce expand string modifiersEric Faurot
2013-07-19get rid of sa_set_port() and its awfully contorted implementationEric Faurot
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-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