Re: [exim] Spammers ignoring MX

Top Page
Delete this message
Reply to this message
Author: Marc Perkel
Date:  
To: Mike Sprague
CC: exim-users
Subject: Re: [exim] Spammers ignoring MX


Mike Sprague wrote:
> Grant Peel wrote:
>
>> Hi all,
>>
>> I have a number of domains that the MX is set to an outside
>> spamfiltering server. These domains are still getting spam that is
>> being sent directly to our servers, thus bypassing the spamfiltering.
>>
>>
>> Now in order for use to accept email from the spamfiltering service,
>> I need to accept mail for that domain.
>>
>> Is there a was to tell the mailserver to only accept mail for those
>> domains that comes from specific hosts?
>>
>> -Grant
>>
>
> You can do something like this in the ACLs. I do it in the check_rcpt ACL:
>
> require
>   message     = only accept messages from certain servers
>   hosts       = 192.168.1.25

>
> Put the IP(s) of your spamfiltering service instead of 192.168.1.25 and
> it will only accept messages from them.
>
> Thanks,
> mikeS
>
>


Or it could be

hosts = *.spamfilteringservice.com

If the service has correct RDNS. Or you could get the service to forward
your good mail on an alternate port.