amsoft2001

Registered
Dec 17, 2007
2
0
51
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
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,201
363
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.
 

amsoft2001

Registered
Dec 17, 2007
2
0
51
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
 

ThinIce

Well-Known Member
Apr 27, 2006
352
9
168
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

Actually, my domain does send spam

Oh, well in that case, we kindly request that you stop doing so from your Gmail account!
 
Last edited: