Contributed by johan on from the you-got-mail dept.
Gilles Chehade (gilles@) commented on one of his own commits on the source-changes mailing list asking users of OpenSMTPD to submit information about any issues detected after the recent separation of virtual domains and aliases resolution code and instructions how to best make the transition.
Please see below for the comment:On Mon, Oct 12, 2009 at 04:34:37PM -0600, Gilles Chehade wrote: > CVSROOT: /cvs > Module name: src > Changes by: gilles@cvs.openbsd.org 2009/10/12 16:34:37 > > Modified files: > usr.sbin/smtpd : aliases.c lka.c mfa.c queue.c runner.c smtpd.h > > Log message: > - fix a null deref which could happen after a couple iterations of the > aliases/virtual domains resolution code. > > - fix a logic bug which caused virtual domains not to be correctly > handled after one iteration of the aliases resolution code. > > - introduce a few helper functions to help clean up and simplify the > lka code. > > - simplify the IS_EXT/IS_MAILBOX/IS_RELAY macros so they manipulate a > struct path * instead of the mess of dereferences we were passing them. > guys, this was commited to fix a couple issues that came after the virtual domains support was separated from the aliases resolution. the logic behind aliases resolution has changed a bit, i did quite a bit of cleanup, you really want to update smtpd and let jacek or me know of issues you run into. some structures have changed a bit, make sure to flush your queues and make clean before you update and rebuild. Gilles -- Gilles Chehade freelance developer/sysadmin/consultant
Please don't forget to update your setup and submit information about any issues to gilles@ and jacekm@.
(Comments are closed)
By Kami Petersen (kokamomi) kokamomi@gueststars.net on
Comments
By Gilles Chehade (gilles) on http://www.poolp.org/~gilles/
smtpd has a map API which, providing some glue code, abstracts backends for key/value kind of lookups.
currently auth doesn't use that API but uses getpwnam() calls, it's on my todo list of stuff to fix (probably in a few days) and then we only need to write the glue code to support other backends.
Gilles