summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/lka.c
AgeCommit message (Expand)Author
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
2009-11-05- move a couple prototypes in smtpd.hGilles Chehade
2009-11-03teach makemap how to build a set, which is a map containing only keys.Gilles 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-03Don't need regex.h and remove two declarations that are now in smtpd.h.Nicholas Marriott
2009-10-25fix the aliases resolution path so that smtpd does not accidentally skipGilles Chehade
2009-10-19currently, smtpd is capable of having multiple listeners with differentGilles Chehade
2009-10-18actually, we want to resolve C_ALL and C_NET, we just don't want to do itGilles Chehade
2009-10-18do not attempt to resolve aliases for C_ALL and C_NET destinationsGilles Chehade
2009-10-16as of now, "accept for all deliver to mbox" is a valid syntax, sadly lka isGilles 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