summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/makemap.c
AgeCommit message (Expand)Author
2018-07-03unbreak newaliases.mortimer
2018-06-16rework the table API so that it takes a struct smtpd * context in parameterGilles Chehade
2018-05-31remove 'where' parameter from all x*() functions in utils.c, it doesn'tGilles Chehade
2018-04-26sync log.h with other daemonsEric Faurot
2017-07-27smtpctl(8): Use an int to determine mode instead of __progname.Sunil Nimmagadda
2017-01-09smtpd joins the 7 other daemons that share the same log.c file.Reyk Floeter
2016-03-17Last parameter to execl[e]() functions *must* be cast to a pointer.Kenneth R Westerback
2016-02-13remove support for 'dbm' which is really 'recno' from our makemap, it can'tGilles Chehade
2016-02-12Cleanup getopt(3) mis-use in sendmail compat code.Sunil Nimmagadda
2016-02-10when creating a db map, we use a temporary file to work on and atomicallyGilles Chehade
2015-12-28remove spaces after '!'Joerg Jung
2015-12-15Sync the DB file once when done with fsync(), not on each write with O_SYNC.Philip Guenther
2015-12-13Move some variables local to makemap().Sunil Nimmagadda
2015-12-11Add -U option like the sendmail makemap, for dumping DB files back to textPhilip Guenther
2015-12-07Merge makemap(8) into smtpctl(8).Sunil Nimmagadda
2015-10-26Fix makemap(8) for values containing a '#'.Sunil Nimmagadda
2015-10-17makemap shout strip initial and trailing whitespaces using strip()Gilles Chehade
2015-10-12do not umask() [with the wrong umask] around mkstemp() calls, no matterTheo de Raadt
2015-10-06fix values passed to umask(), they should be octal.Gilles Chehade
2015-01-20use <limits.h> comprehensively. For now try to push <> includes toTheo de Raadt
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