RE: [exim] enabling reverse lookup in exim

Startseite
Nachricht löschen
Nachricht beantworten
Autor: RPraveenKumar
Datum:  
To: ph10
CC: exim-users
Betreff: RE: [exim] enabling reverse lookup in exim
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?

[root@redhat8 root]# sendmail -bh 210.212.219.72

**** SMTP testing session as if from host 210.212.219.72
**** but without any ident (RFC 1413) callback.
**** This is not for real!

>>> host in host_lookup? yes (matched "*")
>>> looking up host name for 210.212.219.72
>>> IP address lookup failed: h_errno=1

LOG: no host name found for IP address 210.212.219.72
>>> host in host_reject_connection? no (option unset)
>>> host in sender_unqualified_hosts? no (option unset)
>>> host in recipient_unqualified_hosts? no (option unset)
>>> host in helo_verify_hosts? no (option unset)
>>> host in helo_try_verify_hosts? no (option unset)
>>> host in helo_accept_junk_hosts? no (option unset)

220 idrbt.ac.in ESMTP Exim 4.14 Wed, 27 Oct 2004 17:07:38 +0530
mail from:rpraveen@sdfrtewrfafa
250 OK
rcpt to:rpraveen@???
>>> using ACL "acl_check_rcpt"
>>> processing "accept"
>>> check hosts = :
>>> host in ":"? no (end of list)
>>> accept: condition test failed
>>> processing "deny"
>>> check local_parts = ^.*[@%!/|] : ^\\.
>>> rpraveen in "^.*[@%!/|] : ^\."? no (end of list)
>>> deny: condition test failed
>>> processing "deny"
>>> check sender_domains = +relay_to_domains
>>> sdfrtewrfafa in "/home/exim/relay-domains.txt"? no (end of list)
>>> sdfrtewrfafa in "+relay_to_domains"? no (end of list)
>>> deny: condition test failed
>>> processing "accept"
>>> check local_parts = postmaster
>>> rpraveen in "postmaster"? no (end of list)
>>> accept: condition test failed
>>> processing "accept"
>>> check domains = +local_domains
>>> idrbt.ac.in in ""? no (end of list)
>>> idrbt.ac.in in "+local_domains"? no (end of list)
>>> accept: condition test failed
>>> processing "accept"
>>> check domains = +relay_to_domains
>>> idrbt.ac.in in "/home/exim/relay-domains.txt"? yes (matched "idrbt.ac.in" in /home/exim/relay-domains.txt)
>>> idrbt.ac.in in "+relay_to_domains"? yes (matched "+relay_to_domains")
>>> accept: condition test succeeded

250 Accepted


Awaiting for your reply

Thanks
R.Praveen Kumar


-----Original Message-----
From: Philip Hazel [mailto:ph10@cus.cam.ac.uk]
Sent: Wednesday, October 27, 2004 2:29 PM
To: RPraveenKumar
Cc: exim-users@???
Subject: Re: [exim] enabling reverse lookup in exim


On Wed, 27 Oct 2004, RPraveenKumar wrote:

>             I want to enable the reverse lookup in my mail server,
>             Presently I am using exim-4.14 I already enabled host
>             lookup=*


> Is there any required more or how to test my mail server is working
> with reverse lookup.


1. Look at the logs. Check that host names are NOT given in parentheses.

2. Run tests with -bh and perhaps -d as well. See if you can see the
lookups happening.

-- 
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