Auteur: Peter Bowyer Datum: Aan: exim-users Onderwerp: Re: [exim] how ti distinguish local mail and smtp mail
On 12/01/07, Sander Smeenk <ssmeenk@???> wrote: > Quoting Marten Lehmann (lehmann@???):
>
> > how can I distinguish if a mail has been send locally or if it has been
> > received by smtp? Is there any variable reserved for it? I don't want to
> > add and remove header to transport information between ACLs, routers and
> > transports, that looks a bit ugly.
>
> You'd have to tell where you want to test for this condition, i bet the
> information is available anyhow...
$received_protocol might be a good place to start.