summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/lka.c
AgeCommit message (Expand)Author
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
2009-10-07currently both mfa and lka perform ruleset matching for their own purposes.Gilles Chehade
2009-10-07since the bounce code rewrite, we no longer need to perform ruleset matchGilles Chehade
2009-09-03imsg_get sets errno so use fatal instead of fatalx.Jacek Masiulaniec
2009-08-08import some changes from portable smtpd to reduce the delta between both.Gilles Chehade
2009-08-07we were linking to libkeynote to use kn_base64_encode/decode, but honestlyGilles Chehade
2009-06-07Change the way fds passed over a socket are retreived on the receiving side.Eric Faurot
2009-06-06Sync with relayd:Pierre-Yves Ritschard
2009-06-05make smtpd's imsg lib ready, just like relayd and ospfd.Pierre-Yves Ritschard
2009-06-03Improve error checking for the secrets encoding function; ok gilles@Jacek Masiulaniec
2009-06-01yet another cleanup in mfa/lka, don't roll their own loops to release mapsGilles Chehade
2009-06-01add new file ruleset.c with code related to the ruleset matching, and killGilles Chehade
2009-06-01propagate the recipient domain through aliases expansion, this fixes a bugGilles Chehade
2009-06-01No need for save_getpwuid and such functions which call endpwent.Theo de Raadt
2009-06-01Fix EV_READ/EV_WRITE testing inside IMSG handlers. Based on similar changeJacek Masiulaniec