Jacek Masiulaniec a icrit :
CVSROOT:        /cvs
Module name:    src
Changes by:     jac...@cvs.openbsd.org  2009/05/27 10:51:26

Modified files:
usr.sbin/smtpd : parse.y
Log message:
temporary fix to a ruleset processing bug that stems from the fact
that the ip address/subnet parsing isn't done in the same way as
in other daemons.

fix by gilles@
To be more precise,

This commit fixes a bug where the ruleset processing loop would find
a mismatch for a rule that should match, leading to recipient reject
errors despite a configuration file stating the opposite.

If you ever had smtpd refuse to accept a recipient which was clearly
stated as allowed in smtpd.conf, or if you ever had smtpd deliver to
a mbox despite smtpd.conf stating maildir or relay, you ran into the
bug. Updating to -current should fix it.

This fix is correct (not a hack), but temporary because we will make
our parse.y reuse the code from other daemons instead of rolling our
own.

Gilles

Reply via email to