summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/lka.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
2011-04-17a structure describing an envelope should be called struct envelope, notGilles Chehade
2010-11-29replace the fork-based-non-blocking-resolver-hack by shiny async resolverGilles Chehade
2010-11-28remove all unused headersGilles Chehade
2010-11-28a bit of .h cleanups, no functionnal changeGilles Chehade
2010-10-29smtpd no longer knows a map called "secrets" which holds credentials forGilles Chehade
2010-10-09backout the "new" queue code commited 4 months ago. it has many good ideas,Gilles Chehade
2010-09-20- fix a regression caused by latest commit (long story made short: do notGilles Chehade
2010-09-12oga@ spotted a bug in lka_expand() which caused it to miscalculate theGilles Chehade
2010-09-08add support for sender expansion in smtpd.conf:Gilles Chehade
2010-06-04Use correct imsg type in error reply.Jacek Masiulaniec
2010-06-02check event_dispatch() return valueCharles Longeau
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-06-01Don't interpret garbage on stack; problem seemingly exposed by myJacek Masiulaniec
2010-06-01Fix one case of not sending smtp session id on error.Jacek Masiulaniec
2010-05-31Rewrite entire queue code.Jacek Masiulaniec
2010-05-27when a rule has two conditions (ie: accept for { domain foo, domain bar } )Gilles Chehade
2010-04-27initial work at fixing aliases support:Gilles Chehade
2010-04-21introduce first map parser for maps of kind K_SECRETS !Gilles Chehade
2010-04-21map_lookup() takes an additionnal parameter of type enum map_kind whichGilles Chehade
2010-04-21Runner process is just a helper for queue, so tear down its imsgJacek Masiulaniec
2010-04-21Remove unusable ifdef DEBUG code.Jacek Masiulaniec
2010-04-20Kill *2400* lines of code by abstracting common bits of the imsg handlers.Jacek Masiulaniec
2010-02-17erf, previous fix to lka crash was still using the wrong define ...Gilles Chehade
2010-02-17the map api becomes backend-agnostic with initial support for db(3) andGilles Chehade
2010-02-17localpart of a struct path may legally exceed MAXLOGNAME, causing lka toGilles Chehade
2010-01-03Implement "log verbose" and "log brief" to enable or disable verbose debugCharles Longeau
2009-12-15Must aim better.Jacek Masiulaniec
2009-12-14Tweak the logic behind setting the fd limits so that smtpd is less likelyJacek Masiulaniec
2009-12-13Use safe fd limits in smtp, lka, queue, and control. Removes aJacek Masiulaniec
2009-11-13Log FQDN and IP of the server we handed mail to. As a bonus, don't delayJacek Masiulaniec
2009-11-10In relay case, avoid freeing garbage pointer by copying the required structJacek Masiulaniec
2009-11-10move format expansion to the right place, from gilles@Jacek Masiulaniec
2009-11-10sync code with comment, from gilles@Jacek Masiulaniec
2009-11-10- add comments to explain the logic in the aliases expansion loopGilles Chehade
2009-11-10pfff remove a comment i pasted to help me refactor code ;-)Gilles Chehade
2009-11-10more cleanup, let lka_resolve_path() request forward files and populateGilles Chehade
2009-11-10cosmethic changes, code reordering, no functionnal changeGilles Chehade
2009-11-10introduce lka_session_fail() which factors a small piece of code used inGilles Chehade
2009-11-09- add a reference count and flags to struct expand_nodeGilles Chehade
2009-11-09support the userpart+foobar@domainpart syntax which got wiped when i wroteGilles 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-08first commit of a serie to cleanup, simplify and improve aliases resolutionGilles Chehade
2009-11-05another log_debug() cleanupGilles Chehade
2009-11-05cleanup a bit the log_debug outputGilles Chehade
2009-11-05- introduce lka_session_destroy() which replaces the splay tree removal andGilles Chehade