OpenBSD/src FlXZ7JE — usr.sbin/smtpd util.c smtpd.h
res_hnok() is too lenient wrt to acceptable domain name in mail addresses. replace it with a valid_domainname() check that implements something closer to RFC 5321, but still usable in real-life. ok gilles@ millert@
Version | Delta | File | |
---|---|---|---|
1.145 | +35 | -10 | usr.sbin/smtpd/util.c |
1.632 | +2 | -1 | usr.sbin/smtpd/smtpd.h |
+37 | -11 | 2 files |