On Fri, 29 Oct 2004, David Hiebert wrote:

> My second question/problem is the 3 commented out lines.  The man page for
> mimedefang-filter indicates that if an IP has no reverse dns, then
> $hostname is a duplicate of $hostip.  This then should make a real quick
> and easy check for no reverse, however the if statement (when not
> commented) never seems to be true.

My mistake, the man page is wrong.  If $hostip is 1.2.3.4 and has no
reverse DNS lookup, then $hostname is [1.2.3.4].  That is:

        if ($hostname eq "[$hostip]") {
                # You have no reverse DNS!!!!
        }

However, I question the wisdom of rejecting mail from machines with no
reverse DNS.  I'm not convinced it will block bad mail more often than
good.

--
David.
_______________________________________________
Visit http://www.mimedefang.org and http://www.canit.ca
MIMEDefang mailing list
[EMAIL PROTECTED]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang

Reply via email to