Hans Sandsdalen <[EMAIL PROTECTED]> wrote:
>
> I want to block incomming mail from unknown hosts, ie
> those with no reverse dns entry. How do I do this?
Bad idea. All kinds of local or remote DNS failures can prevent you from
resolving a remote hosts's DNS entries. However...
> As I understand the -p parameter to tcpserver should fix this, but
> it will not... (?)
You misunderstand. tcpserver, in paranoid mode, will simply remove the
environment variable TCPREMOTEHOST if its forward and reverse DNS do not
match.
Note that if you wrap qmail-smtpd to refuse connections where TCPREMOTEHOST
is not set, you will block mail from hosts which have a reverse DNS entry
that does not match any of their forward entries.
Charles
--
-----------------------------------------------------------------------
Charles Cazabon <[EMAIL PROTECTED]>
GPL'ed software available at: http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
-----------------------------------------------------------------------