[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Exim accepting mail from specific hosts



Configuring Exim to do this would seem like a bad idea, in that your machine then has to accept a connection to determine if you do in fact even want to accept the mail. Ideally you would get the MX record for your domain pointing to your providers mail server (with perhaps a backup MX pointing to yours. That way under normal conditions mail will be routed through your providers mail servers unless they are down, and if they are down it will be routed to you. This will probably require some configuration changes on your providers servers but nothing major (just a routing line in a config file).

The other option would be to firewall off port 25 for inbound traffic unless it came from your providers mail server, although this is much less elegant

Dave

Adam Dawes wrote:
Hi,

I've implemented a spam service where a provider is filtering all my domain's mail before it hits my server. I want to lock down my mail server so it only accepts mail from those machines to prevent spammers from mailing directly to my host and doing directory harvests.

What do I need to stick in my exim.conf to accept mail from just those hosts that will be processing my mail?

thanks,
Adam






Reply to: