Page 1 of 2

From address whitlisting

Posted: 31 Oct 2013, 14:06
by ttremain
In Mailscanner Frontend (as both server, and account) I have a domain whitelisted, let's say I am using
*@xxx55.com

My customer (not hosting customer) sends from the address Frank@XXX55.com and gets rejected due
to his mailserver at bluehost being listed in the spamcop blacklist.

The bluehost mail servers are several boxes (or just one with several IPs in different ranges) so I cannot
whitelist by IP address.

Is the domain name in the whitelist case sensitive? Why would my client's emails be bouncing?

69.41.xxx.xxx does not like recipient.
Remote host said: 550-"JunkMail rejected - outbound-ss-395.fastdomain.com [74.220.199.110]:55677
550 is in an RBL, see Blocked - see http://www.spamcop.net/bl.shtml?74.220.199.110"
Giving up on 69.41.xxx.xxx.

Re: From address whitlisting

Posted: 31 Oct 2013, 16:40
by Sarah
Whitelisting a domain in MailScanner will have no effect on the spamcop issue. It is being rejected by exim. If his mail server's IP address is listed in spamcop you can either disable the spamcop RBL in the WHM exim configuration manager or try whitelisting his IP addresses there.

Re: From address whitlisting

Posted: 01 Nov 2013, 09:46
by ttremain
I was under the impression the whitelisting happened BEFORE the RBL listing. Not because I really thought about it, but because someone had suggested that the MSFE whitelisting would be the solution to this same problem a month or so ago.

I cannot whitelist the IP's sending for this address, because so far I've seen at least a dozen.

The web host my client uses, seems to get their outbound servers blacklisted a lot.

Re: From address whitlisting

Posted: 01 Nov 2013, 10:20
by Sarah
ttremain wrote: 69.41.xxx.xxx does not like recipient.
Remote host said: 550-"JunkMail rejected - outbound-ss-395.fastdomain.com [74.220.199.110]:55677
550 is in an RBL, see Blocked - see http://www.spamcop.net/bl.shtml?74.220.199.110"
Giving up on 69.41.xxx.xxx.
This is from exim. It's exim that is blocking the messages before it even gets to MailScanner. The only solution is to make a change in your exim configuration, by disabling the spamcop RBL if you are not able to whitelist the IPs because there are too many.

Re: From address whitlisting

Posted: 01 Nov 2013, 13:29
by sawbuck
Another option is to exempt the domain from all RBL checking without disabling Spamcop server wide.

Re: From address whitlisting

Posted: 01 Nov 2013, 15:19
by Sarah
sawbuck wrote:Another option is to exempt the domain from all RBL checking without disabling Spamcop server wide.
Out of interest and for the OP's benefit, how exactly would you do that?

Re: From address whitlisting

Posted: 01 Nov 2013, 15:36
by sawbuck
After pushing cPanel for a solution several months ago it is now simply a matter of adding the domain to /etc/skiprbldomains.

In order to confirm it is being included in current Exim versions the following command:

grep skiprbldomains /usr/local/cpanel/Cpanel/Exim/Config.pm should give this output:

$ACL_OPTS{'ACL_RBL_WHITELIST'} .= "\n\t\t!domains = +skip_rbl_domains" if -e '/etc/skiprbldomains';
push @CONFIG_OPTS, "domainlist skip_rbl_domains = lsearch;/etc/skiprbldomains" if -e '/etc/skiprbldomains';

Re: From address whitlisting

Posted: 01 Nov 2013, 16:05
by Sarah
Thanks! I did not know about that. :)

Re: From address whitlisting

Posted: 01 Nov 2013, 16:09
by sawbuck
Glad to be able to help out in some small measure after all you and Jonathan have done for me and the community at large.

Re: From address whitlisting

Posted: 03 Nov 2013, 01:15
by Sergio
Great sawbuck!
That is a good solution for MSFE, hope Sarah adds this on the next MailScanner update, so, all the domains added in MSFE white list could be added automatically to the skiprbldomains file.

Sergio