CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2009/02/17 17:17:39
Modified files:
usr.sbin/smtpd : smtp.c smtp_session.c
Log message:
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.