Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    Member
    Join Date
    Mar 2004
    Posts
    29

    Question how to stop exim from reverse lookup check for trusted IPs...

    Hello Guys,


    My client has been getting the following message in OE, while sending email:

    The message could not be sent because one of the recipients was rejected by the server. The rejected e-mail address was 'sales@example.com'. Subject 'hi', Account: 'SALES', Server: 'mail.example.net', Protocol: SMTP, Server Response: '550 Administrative prohibition', Port: 25, Secure(SSL): No, Server Error: 550, Error Number: 0x800CCC79

    The log shows this:

    2005-07-03 23:10:16 no IP address found for host adsl-156-1-178.bna.bellsouth.net (during SMTP connection from (EAGLE) [70.156.1.178])
    2005-07-03 23:10:16 H=(EAGLE) [70.156.1.178] F=<sales@example.net> rejected RCPT <sales@example.com>: host lookup failed for reverse lookup check (70.156.1.178 does not match any IP address for adsl-156-1-178.bna.bellsouth.net)


    Another client is getting the same error '550 Administrative prohibition' and his log shows this:

    2005-07-05 12:50:56 H=(notebook-pc.2nd_example.com) [202.52.215.125] F=<sales@2nd_example.com> rejected RCPT <info@customers_email.com>: host lookup failed for reverse lookup check (failed to find host name from IP address)


    I checked both of the my clients static IPs - assigned by their ISPs. The first one has no 'A' record defined in the PTR and the second one has no PTR. I think that is the reason why they can not send any emails. I'm using cPanel 10.2.0-C131 and CentOS 3.5 with EXIM 4.51.

    This issue can be resolved by unchecking the option "Verify the existance of email senders" from WHM by selecting the options of "Exim Configuration Editor".

    I tried the following setup in - '/etc/exim.conf' and restarted exim:

    Code:
    hostlist relay_hosts = lsearch;/etc/relayhosts : \
        localhost : 70.156.1.178 : 202.52.215.125
    It didn't work. I was wondering if there are any other solutions to fix this issue other than unchecking the option: "Verify the existance of email senders". Or how can I stop EXIM from checking reverse IP lookup for these two IPs?

    Thank you in advace for your cooperation...

  2. #2
    Member
    Join Date
    Nov 2003
    Posts
    87

    Default

    It looks like you've got reverse_host_lookup verification enabled somewhere in your RCPT ACL. You can either disable it or add
    !hosts = +relay_hosts as a condition.

  3. #3
    Member
    Join Date
    Mar 2004
    Posts
    29

    Default

    Hi nisse - thank you for your reply. I already have the setting "!hosts = +relay_hosts" in my setup and also have reverse lookup enabled (require verify = reverse_host_lookup). But I think that this issue is not related to these settings since I tried to disable the reverse lookup or even all the custom settings I made but the result is same. The irnoy is that the client can send email using another ISP. He can not send any email using his own ISP, who assigned him a static IP. And the IP has no PTR record. It is probably related to cPanel's reverse lookup check, which can be enabled through WHM. There has to be a way to disable reverse checking on these IPs or list these IPs as trusted. I still couldn't figure out how to do that. I hope that you can give me some lead on this...

  4. #4
    Member
    Join Date
    Nov 2003
    Posts
    87

    Default

    What happens if you comment out require verify = reverse_host_lookup?

  5. #5
    Member
    Join Date
    Mar 2004
    Posts
    29

    Default

    Quote Originally Posted by nisse
    What happens if you comment out require verify = reverse_host_lookup?

    Thanks for your reply. I already mentioned in my earlier post that I tried it and the result is same. I even tried it with exim default setup in the exim.conf file and commented out all the changes I made but the result is same. The client can only login - if I uncheck the option "Verify the existance of email senders" from WHM. Any idea how to keep this option enabled and make these IPs - trusted host?

Similar Threads & Tags
Similar threads

  1. failing a reverse dns lookup
    By curanow in forum cPanel and WHM Discussions
    Replies: 6
    Last Post: 04-26-2011, 02:17 AM
  2. How to set 'Reverse DNS Lookup'
    By ithurbon in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 03-16-2011, 01:50 AM
  3. help allowing specific domain to bypass reverse dns lookup in exim
    By sivadc in forum cPanel and WHM Discussions
    Replies: 8
    Last Post: 04-05-2005, 11:17 AM
  4. Reverse lookup and DNS ?'s
    By Networkologist in forum cPanel and WHM Discussions
    Replies: 9
    Last Post: 04-24-2003, 12:23 PM
  5. Reverse name lookup
    By secondwi in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 12-20-2001, 08:50 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube