CVSROOT: /cvs Module name: src Changes by: [email protected] 2009/01/04 10:45:58
Modified files:
usr.sbin/smtpd : lka.c mfa.c smtpd.h util.c
Log message:
When matching a recipient domain to a rule, do not use strcasecmp, but use
new hostname_match() function which recognizes * as a wildcard. We can now
do: accept for domain "*.example.org" to match all subdomains.
idea from Nicholas Marriott <[email protected]>, hostname_match()
from me in place of his fnmatch() calls.
ok jacekm@
