esf_skip_hosts not working?

amphora

Verified User
Joined
Feb 21, 2013
Messages
56
Hi,

For some domains on my box I use a third party spamfilter. (SpamExperts). I set MX records to their servers and they forward all non spam mail to my box. But that means SPF checks on my box fails for those domains since mail is coming from the SpamExperts servers. So I want to disable SPF checks on my box for SOME domains (NOT all). Easiest way to accomplish this seems to be to add the SpamExperts hosts to /etc/virtual/esf_skip_hosts so I added delivery.antispamcloud.com to it (that host has all ip addresses). Now I do see a lot of this so the mechanism seems to work:
Code:
[root@vps03 exim]# grep esf_skip_hosts mainlog
2015-12-20 11:03:25 skipped via esf_skip_hosts
2015-12-20 14:29:59 skipped via esf_skip_hosts
But still a lot of this too:
Code:
2015-12-23 13:36:13 H=mx22.antispamcloud.com [199.115.117.7] X=TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256 CV=no rejected MAIL <[email protected]>: SPF: 199.115.117.7 is not allowed to send mail from xxxxxx.nl: Please see http://www.openspf.org/Why?id=aaa%40xxxxxx.nl&ip=199.115.117.7&receiver=vps03.amphora.nl : Reason: mechanism
199.115.117.7 is one of the ip's in delivery.antispamcloud.com so easy spam fighter should skip the check?
 
I could really use some help with this... Anyone?
Basically I need to whitelist some ip's for SPF but either I'm doing something wrong or it's just not working as intended.
 
Back
Top