summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/aliases.c
AgeCommit message (Expand)Author
2015-11-30teach aliases expansion how to deal with user+tagGilles Chehade
2015-10-27aliases_virtual_check() has been unneeded for a whileGilles Chehade
2015-01-20use <limits.h> comprehensively. For now try to push <> includes toTheo de Raadt
2014-07-08Update the table API: lookup functions can take an optional parametersEric 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-04-01'#' starts a comment, not a line continuation.Tobias Stoeckmann
2013-02-14- smtpctl trace expand, enables tracing of aliases expansionGilles Chehade
2013-01-31assorted fixes spotted by Coverity.Eric Faurot
2013-01-26Sync with our smtpd repo:Gilles Chehade
2012-11-12Cleanups and improvements:Eric Faurot
2012-10-13Make map_lookup() and make_compare() set errno on failure to distinguishEric Faurot
2012-09-21Do not pass the username to forwards_get() which does not have to care aboutEric Faurot
2012-09-21wrap expandtree into a "struct expand".Eric Faurot
2012-09-20constify parameters that are supposed to be const.Eric Faurot
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-09-19Remove aliases_exists() and aliases_virtual_exists(). The correspondingEric Faurot
2012-09-19start cleaning the expansion code:Eric Faurot
2012-09-18a few cleanups:Eric Faurot
2012-07-29- introduce xlowercase() and allow lowercase() to fail gracefullyGilles Chehade
2012-04-21i got the previous fix wrong, /etc/mail/aliases should use SMTPD_USERGilles Chehade
2012-04-15when using aliases, the *real* delivery user is not set on expand nodesGilles Chehade
2012-03-07- remove some map_find() calls that are no longer needed, they are followedGilles Chehade
2011-10-11fix parsing of :include: aliasesGilles Chehade
2011-05-16murder struct path and make sure smtpd uses simpler structures that do notGilles Chehade
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 unused headersGilles Chehade
2010-11-28a bit of .h cleanups, no functionnal changeGilles Chehade
2010-11-24we can't accept up to MAX_LOCALPART_SIZE (128 bytes) for the user partGilles 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
2010-05-19cleanup-only commit, removes unrequired includes, no functionnal changeGilles Chehade
2010-04-27initial work at fixing aliases support:Gilles Chehade
2009-11-09now that we don't keep an expand_node in memory for each expansion result,Gilles Chehade
2009-11-09- add a reference count and flags to struct expand_nodeGilles Chehade
2009-11-08add an alias_to_expand_node() function and use it in aliases.cGilles Chehade
2009-11-08move expansion code to new expand.c to clearly separate it from aliasesGilles Chehade
2009-11-08rework a bit expansion and data structures involved in the expansion so weGilles Chehade
2009-11-08- make aliases expansion use a rb tree instead of a tail queue, the codeGilles Chehade
2009-11-03this commit removes the hardcoded special "aliases" map and brings supportGilles Chehade
2009-11-03- remove a useless member of struct condGilles Chehade
2009-11-03Improve error logging.Jacek Masiulaniec
2009-10-12trim ending whitespaces in aliases files otherwhise makemap will fail toGilles Chehade
2009-10-12- fix a null deref which could happen after a couple iterations of theGilles Chehade
2009-10-11implement proper virtual domains instead of faking them on top of primaryGilles Chehade
2009-08-08import some changes from portable smtpd to reduce the delta between both.Gilles Chehade