Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email email@example.com
From: Gilles Chehade (gillescvs.openbsd.org)
Date: Tue Feb 17 2009 - 18:17:39 CST
Module name: src
Changes by: gillescvs.openbsd.org 2009/02/17 17:17:39
usr.sbin/smtpd : smtp.c smtp_session.c
smtp_accept() now requests from lka that it performs the hostname lookup
and inserts the session into the session tree. session_init() is called
only when we receive the resolution answer.
this fixes a race condition that would sometimes cause the hostname to
appear as "<unknown>" in headers just because dns was lagging, and it
unbreaks ssmtp support which suffered from th very same race condition.