Re: [exim] Routing: Accept mail from certain hosts

Top Page
Delete this message
Reply to this message
Author: Peter Thomassen
Date:  
To: exim-users
Subject: Re: [exim] Routing: Accept mail from certain hosts
Am Freitag, den 08.08.2008, 12:25 +0100 schrieb Tony Finch:
> > Therefore, I want my "archive router" (that routes to a given Maildir)
> > to accept only mail from this special host. How can I do that?
>
> archive:
> driver = accept
> condition = ${if match_ip{$sender_host_address}{1.2.3.4:5.6.7.8} }
> ...


Is there any disadvantage in usinig match_domain together with
$sender_host_name, except that it doesn't work if the DNS is broken?

Thanks,
Peter