summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/aliases.c
AgeCommit message (Expand)Author
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
2009-05-13log dbopen and db->get errors; based on diff from Daniel Ouellet.Jacek Masiulaniec
2009-04-24Make aliases case-insensitive, issue reported by Daniel Ouelett; ok gilles@Jacek Masiulaniec
2009-01-30o remove useless `if'sOleg Safiullin
2009-01-28add a struct path to struct message so that we can keep track of the RCPTGilles Chehade
2009-01-07- when performing aliases expansion, do not forget to set an action to eachGilles Chehade
2009-01-01remove unnecessary includes; ok gilles@Jacek Masiulaniec
2008-12-13Declare alias_parse in smtpd.h, and fix callers that pass it wrongJacek Masiulaniec
2008-12-11- snprintf -> bsnprintfGilles Chehade
2008-12-10That the "aliases" and "virtual" maps satisfy m_src == S_DB is checkedJacek Masiulaniec
2008-12-05- more err/errx -> fatal/fatalx, warn/warnx -> log_warn/log_warnxGilles Chehade
2008-12-05- err -> fatal(), old diff from Jacek Masiulaniec <jacekm@dobremiasto.net>Gilles Chehade
2008-11-25- move prototypes to smtpd.hGilles Chehade
2008-11-17- fix error message in aliases_virtual_exist()Gilles Chehade
2008-11-10- define MAX_LINE_SIZE which is the maximum length of a line we allow fromGilles Chehade
2008-11-10last character in line is at len - 1. ok gillesTed Unangst
2008-11-10- snprintf() can return -1, make sure every call is checked properlyGilles Chehade
2008-11-05add a few missing id tags; there are a bunch of files, and developersIgor Sobrado
2008-11-01smtpd is a smtp server implementation for OpenBSD. It is a work in progressGilles Chehade