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

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Peter Thomassen
Dátum:  
Címzett: exim-users
Tárgy: Re: [exim] Routing: Accept mail from certain hosts
Tony,

Am Freitag, den 08.08.2008, 12:25 +0100 schrieb Tony Finch:
> > (If someone is further interested: The archive server shall not let any
> > mail in except that from that mail server, but it should of course be
> > able to forward local mail to me. Are there better ideas for realizing
> > this configuration?)
>
> I think your idea is fine, though I would be inclined to reverse it,
> i.e. so all email from outside is archived and local email is not.
>
> archive:
> driver = accept
> condition = ${if !match_ip{$sender_host_address}{:@[]} }
> ...


This would also cause any other mail that is sent to host at random be
archived. I don't want to run any spam checking techniques and all the
stuff; that is already done by the main machine. Therefore I want to
narrow the "mail-in chain" to mail from this trusted machine.

Thanks for your answer, I think it helped.

Greets,
Peter