The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

trustedmailhosts

Discussion in 'E-mail Discussions' started by amsoft2001, Sep 4, 2013.

  1. amsoft2001

    amsoft2001 Registered

    Joined:
    Dec 17, 2007
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Hi,

    Due to blacklist of some yahoo server's IP, exim is rejecting mails from some yahoo and gmail accounts. We wanted to bypass black list checking for few common domains like yahoo.com, google.com and so on.

    We created a file /etc/trustedmailhosts and put the content as below

    yahoo.co.in
    yahoo.com
    google.com

    Still exim is rejecting mails saying IP is blacklisted in spamcop.

    How can we overcome this?

    Rakesh
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    You can whitelist IP addresses associated with those remote mail servers via the following option under the "RBLs" tab in "WHM Home » Service Configuration » Exim Configuration Manager":

    "Whitelist: IP addresses that should not be checked against RBLs"

    Note that this option should support CIDR notation, so you can whitelist the range of IP addresses used by Yahoo or Google for email.

    Thank you.
     
  3. amsoft2001

    amsoft2001 Registered

    Joined:
    Dec 17, 2007
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Hi Michael,

    Thanks for the detail :). But as you can understand, its almost impossible to have the IP RANGE of yahoo or google :) Why the trustedmailhosts are not working? We'll have to do it with the hostname, cannot do by IP.

    Regards
    Rakesh
     
  4. ThinIce

    ThinIce Well-Known Member

    Joined:
    Apr 27, 2006
    Messages:
    346
    Likes Received:
    7
    Trophy Points:
    18
    Location:
    Disillusioned in England
    cPanel Access Level:
    Root Administrator
    This is the way the underlying software works. If an organisation doesn't provide a list of it's outgoing mail server IPs it can't expect it's systems to be added to white lists.

    I'd point out that for google, the info is available here

    Email bounces because your IP address is blacklisted - Google Apps Help

    Edit: Worth reading simply for this bit at the bottom

     
    #4 ThinIce, Sep 5, 2013
    Last edited: Sep 5, 2013

Share This Page