jbuce.diff (qmail 1.03, 12/11/98, "Birthday Edition"), as found from
ftpsearch.lycos.com has a minor typo, which results in all (non-relaying) mails
being allowed through, even if they're listed in badmailfrom, have no dns
entry, or are incorrectly formatted.
To correct the typo, change line 881 from
+ if (str_len(mailfrom) == 0) return 0;
to
+ if (str_len(mailfrom.s) == 0) return 0;
(initial tab inserted for clarity).
Otherwise, all mails will be considered as having a null return-path, and this
function (bmfcheck()) will return immediately, boding acceptance.
I searched through the archives and could find nothing relating to this
point.
ari
--
.------------------------Ari Edelkind--------------------------.
Unix Systems and Network Administrator [EMAIL PROTECTED]
Public Health Research Institute (212) Phone: 578 0822
New York, NY [USA] Fax : 576 8442
`--------------------------------------------------------------'