Re: [exim] Looking for a exim rule to only accept mail from …

Top Page
Delete this message
Reply to this message
Author: Magnus Holmgren
Date:  
To: exim-users
CC: Nick Nelson
Subject: Re: [exim] Looking for a exim rule to only accept mail from certain IPs when destin for certain domains..
On Tuesday 20 February 2007 22:57, Nick Nelson wrote:
> There's certain domains where all mail would be relayed through another
> host, for these domains I do not want to accept mail from any IP that isn't
> listed in /etc/allowedips, the domains that relay through this host are
> listed in /etc/protecteddomains.
>
> Can anyone provide some insight on this?


This in a suitable place in your RCPT ACL should work:

  deny  domains = /etc/protecteddomains
        ! hosts = /etc/allowedips


-- 
Magnus Holmgren        holmgren@???
                       (No Cc of list mail needed, thanks)


"Exim is better at being younger, whereas sendmail is better for
Scrabble (50 point bonus for clearing your rack)" -- Dave Evans