summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/lka_session.c
AgeCommit message (Expand)Author
2019-09-20teach smtpd how to do SRS so hosts that act as forwarders don't break SPF.Gilles Chehade
2018-12-28remove the tag workaround for table_create() and table_find(),Eric Faurot
2018-12-27extract subaddress from last resolved node, not from dest or rcpt addressGilles Chehade
2018-12-26reorder parameters for consistencyEric Faurot
2018-12-26get rid of the unused dict argument in table lookup and fetch api.Eric Faurot
2018-11-01log_warn() -> log_warnx() and only display warning that running commandsGilles Chehade
2018-07-25delivery to a filename should be in mbox format otherwise it will lack theGilles Chehade
2018-07-08when rejecting a recipient due to any kind of error related to .forward andGilles Chehade
2018-07-07make it more obvious that there was a problem with a .forward file:Gilles Chehade
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-05-24switch smtpd to new grammarGilles Chehade
2017-05-26move variables expansion out of lka_session into their own file, this is aGilles Chehade
2016-08-31allow overriding the subaddressing delimiter with subaddressing-delimiterGilles Chehade
2015-12-28remove spaces after '!'Joerg Jung
2015-12-14remove trailing whitespaceJoerg Jung
2015-11-30replace a fatalx() with a graceful failureGilles Chehade
2015-11-30While delivering to lmtp or mda, accept optional "as user" parameterSunil Nimmagadda
2015-11-30remove mailaddr_to_username(), no longer neededGilles Chehade
2015-11-30teach aliases expansion how to deal with user+tagGilles Chehade
2015-10-28remove old check on username length that simply makes no sense nowadaysGilles Chehade
2015-10-28aliases support resolving to maildir:/pathGilles Chehade
2015-10-06fix snprintf() error checking in token expansion code, these can't possiblyGilles Chehade
2015-10-02fix a stack-based buffer overflow in the token expansion code of the lookupGilles 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
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