On Wed, 27 Oct 2004, RPraveenKumar wrote:
> thank you for your response i tested with sendmail -bh 210.212.219.72 where i got no host found
> but still it accepts the mail. How to block such kind of mails?
Ah. You did not say you wanted to *block* such hosts. You just said;
> > I want to enable the reverse lookup in my mail server,
> > Presently I am using exim-4.14 I already enabled host
> > lookup=*
There are often legitimate hosts that don't have reverse lookups, so you
may end up losing real email. But if you want to do it, you can use a
statement such as
deny condition = ${if eq{$sender_host_name}{}{yes}{no}}
message = "Host name lookup failed"
in a suitable ACL.
--
Philip Hazel University of Cambridge Computing Service,
ph10@??? Cambridge, England. Phone: +44 1223 334714.
Get the Exim 4 book: http://www.uit.co.uk/exim-book