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

Pàgina inicial
Delete this message
Reply to this message
Autor: Peter Thomassen
Data:  
A: exim-users
Assumpte: 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