summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/lka_session.c
AgeCommit message (Expand)Author
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
2014-04-30when using maildir, do not create automatically create folders to match tagGilles Chehade
2014-04-19when receiving mail for user+tag@ and maildir is setup, we create a .tagGilles Chehade
2014-04-04Merge the mda, mta and smtp processes into a single unprivilegedEric Faurot
2014-02-28The user.directory expansion is not supposed to be escaped.Eric Faurot
2014-02-04extend allowed charset for email address, escape all potentially dangerous ones.Eric Faurot
2013-12-26bcopy -> memmoveEric Faurot
2013-11-19Allow '*' in the user part of mailaddresses. By default, potentially dangerousEric Faurot
2013-11-06Much much improved config parser and related changes.Eric Faurot
2013-10-28bzero() some structs before using them, to be safe.Eric Faurot
2013-10-26%i -> %d in format stringsEric Faurot
2013-07-19Introduce expand string modifiersEric Faurot
2013-05-24sync with OpenSMTPD 5.3.2Eric Faurot
2013-02-14- smtpctl trace expand, enables tracing of aliases expansionGilles Chehade
2013-02-05- handle getaddrinfo() error as LKA_TEMPFAILGilles Chehade
2013-01-31assorted fixes spotted by Coverity.Eric Faurot
2013-01-28- introduce 'smtpctl trace lookup' to trace lookup processGilles Chehade
2013-01-26Sync with our smtpd repo:Gilles Chehade
2012-11-27missing initialization.Eric Faurot
2012-11-12Cleanups and improvements:Eric Faurot
2012-10-16Prevent a possible buffer overflow in lka_expand_format() that can leadEric Faurot
2012-10-14substitute wrong comas into semicolonsCharles Longeau
2012-10-13missing headerGilles Chehade
2012-10-13in aliases expansion, we can avoid requesting parent for ~user/.forward, ifGilles Chehade
2012-10-13Make map_lookup() and make_compare() set errno on failure to distinguishEric Faurot
2012-10-11- replace "from all" and "for all" with "from any" and "for any"Gilles Chehade
2012-10-10For each alias node, mark if it has been expanded from an alias map orEric Faurot
2012-10-09make "relay ... as ..." work again. It's been zapped by mistake.Eric Faurot
2012-10-03we reintroduced a bug that was fixed 2 years ago with the aliases rewrite:Gilles Chehade
2012-10-03- add a EXPAND_DEPTH define for ... expansion depthGilles Chehade
2012-09-30- add decision to the rule so that we can actually perform a reject matchGilles Chehade
2012-09-29finally remove rule member from struct envelope.Eric Faurot
2012-09-27clarify the alias expansion code.Eric Faurot
2012-09-26Stop using the delivery_data union (field "to") in delivery_mda.Eric Faurot
2012-09-24spaces -> tabsEric 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-21move struct lka_session definition in lka_session.cEric Faurot
2012-09-21Move ruleset_match() prototype to smtpd.h and make the envelope const.Eric Faurot
2012-09-19Remove aliases_exists() and aliases_virtual_exists(). The correspondingEric Faurot
2012-09-19start cleaning the expansion code:Eric Faurot
2012-09-18make use of expandtree_free_nodes() in lka_session_destroy().Eric Faurot
2012-09-18- add xmemdup() helper.Eric Faurot
2012-09-18simple lka cleanups:Eric Faurot
2012-09-18remove C_NET. it's not used and there is no plan for it at the moment.Eric Faurot
2012-09-17Fix format expansion in smtpd.conf, it has confused a lot of people and itGilles Chehade
2012-08-21Allow smtpd to work as a backup MX, relaying only to MXs with higherEric Faurot
2012-08-19coding style: replace all occurences of u_int* with uint*Charles Longeau
2012-08-09Improve the message flows to completely isolate operations on theEric Faurot