>Has anyone written a patch for Qmail 1.0.3 to reject mail if envelope sender
>domain can't be resolved?
Funny you should ask, not 15 minutes ago I upgraded to 1.0.3 using
such a patch. You want the patches from Jonathan Bradshaw mentioned
on www.qmail.org.
The patches do some other stuff as well, most of which is useful,
notably logging when qmail-smtpd rejects a mail attempt due to relay
or other rules. It also supports a cdb for a large badmailfrom
database if you want to try and get into spam filtering by MAIL FROM
address. (I don't, I just want the domain validation.)
When you test this, note that the rejection actually comes after the
RCPT TO, because he makes a special case of postmaster@ and abuse@ and
accepts mail to those even from bogus sender domains.
--
John R. Levine, IECC, POB 727, Trumansburg NY 14886 +1 607 387 6869
[EMAIL PROTECTED], Village Trustee and Sewer Commissioner, http://iecc.com/johnl,
Member, Provisional board, Coalition Against Unsolicited Commercial E-mail