Author: Peter Bowyer Date: To: exim users Subject: Re: [exim] Router conditional on source IP
On 04/10/05, Jason L Tibbitts III <tibbs@???> wrote: > In Exim 4.52, is there any way to have different routers used
> depending on whether the mail came from localhost or some remote IP?
>
> I need to make sure that system reports and such generated locally on
> a host are sent out for alias expansion and not delivered locally,
> while mail coming in from the network that has already undergone
> filtering and alias expansion is delivered normally.
You could test $sender_host_address in a router condition, such that
the router only triggers if the sender host is localhost...