Michael Boyiazis writes:
> I went through qmail-smtpd and added a bit of code to
> do a gethostbyaddr.
Why?
Tcpserver already does it for you.
> set to 'unknown'. Would it make sense to deny mail if
> either of these is 'unknown'. and/or set tcpserver
> option -p?
My personal experience is that the likelyhood of a given mail server
lacking a proper functioning forward and reverse IP address resolution is
directly proportional to the likelyhood of you receiving nothing but spam
or mailbombs from that server.
Chances are that if someone's not smart enough to implement DNS properly,
they're not smart enough to configure their mail server as well. YMMV.
--
Sam