summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/makemap.c
AgeCommit message (Expand)Author
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers whereTheo de Raadt
2014-10-25newaliases / makemap should parse multi-line aliases entriesGilles Chehade
2014-07-08Update the table API: lookup functions can take an optional parametersEric Faurot
2013-12-26bcopy -> memmoveEric Faurot
2013-11-28unsigned char casts for ctypeEric Faurot
2013-10-29sort includesEric Faurot
2013-05-24sync with OpenSMTPD 5.3.2Eric Faurot
2013-03-29Prevent race conditions in db file handling.Tobias Stoeckmann
2013-01-31assorted fixes spotted by Coverity.Eric Faurot
2013-01-26Sync with our smtpd repo:Gilles Chehade
2012-11-23knfEric Faurot
2012-10-13when makemap is executed in sendmail mode, check if ".db" is part of theGilles Chehade
2012-10-08when building a db map, always lowercase the key before a lookup in makemapGilles Chehade
2012-10-07We need to provide a sendmail-like interface to makemap so that some toolsGilles Chehade
2012-09-27use xstrdup() helperCharles Longeau
2012-09-19expandnodes must be bzero()'d before parsing to be sure there is no bogusEric Faurot
2012-09-19rename variables for consistencyEric Faurot
2012-08-19coding style: replace all occurences of u_int* with uint*Charles Longeau
2012-07-29- introduce xlowercase() and allow lowercase() to fail gracefullyGilles Chehade
2011-05-16plug leak in make_aliases()Jasper Lievisse Adriaanse
2011-05-09fix segfault in newaliases after global env move.Eric Faurot
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
2010-11-28remove all unused headersGilles Chehade
2010-11-28a bit of .h cleanups, no functionnal changeGilles Chehade
2010-04-27initial work at fixing aliases support:Gilles Chehade
2010-04-21when creating a map, make sure we do not store a key/val separator at theGilles Chehade
2009-11-08rework a bit expansion and data structures involved in the expansion so weGilles Chehade
2009-11-03teach makemap how to build a set, which is a map containing only keys.Gilles Chehade
2009-10-17sort flags.Igor Sobrado
2009-10-12to support virtual domains properly, smtpd needed to have the domain storedGilles Chehade
2009-08-08import some changes from portable smtpd to reduce the delta between both.Gilles Chehade
2009-07-28slightly change how makemap parses its lines so that we consider #Gilles Chehade
2009-05-30It is now possible to specify a certificate to use when relaying to anotherGilles Chehade
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-19since maps may contain secrets, carry ownership and perms from source fileJacek Masiulaniec
2009-03-09Drop ALIAS_TEXT, plain maps got implemented in a different way; ok gilles@Jacek Masiulaniec
2009-03-06make_plain() deals with a c-string, val->size should contain the nul-byteGilles Chehade
2009-03-06fix a bug in the generation of plain maps which would cause the value notGilles Chehade
2009-02-22replace MAX* constants by sizeof where possibleOleg Safiullin
2009-02-17- flock input file while the database is being builtJacek Masiulaniec
2009-02-17make newaliases read aliases path from smtpd.conf; idea discussed withJacek Masiulaniec
2009-02-14Implement makemap -t and -o, for output type and dest resp.; ok gilles@Jacek Masiulaniec
2009-01-01remove unnecessary includes; ok gilles@Jacek Masiulaniec
2008-12-21Add more compile time checking; fix one warning reported by gcc.Jacek Masiulaniec
2008-12-18Don't err() on blank lines.Jacek Masiulaniec
2008-12-17Warn if empty map is being created; this catches at least usageJacek Masiulaniec
2008-12-17Merge newaliases into makemap.Jacek Masiulaniec
2008-12-13Declare alias_parse in smtpd.h, and fix callers that pass it wrongJacek Masiulaniec