Re: [exim] route mail based on source

Top Page
Delete this message
Reply to this message
Author: Tony Primerano
Date:  
To: exim-users
Subject: Re: [exim] route mail based on source
On Tue, Dec 10, 2013 at 6:03 AM, Jasen Betts <jasen@???> wrote:

> On 2013-12-10, Tony Primerano <tony.primerano@???> wrote:
> > accidentally responded to Jason instead of the list.. trying again. :-)
>
> >
> > What would that router condition look like? Sorry, I'm new to exim.
>
> what does a "local user" look like, what do I measure to determine if
> local or not?
>
> > Can you point me to the document that talks about adding conditionals and
> > what variable should I be checking?
>
> that depends on what a local user is.
>
> it'll go something like
>
> conditon=${if ..... }
>


I suspect a non-null sender_host_authenticated is what I need.

condition=${if def:sender_host_authenticated}

Am I on the right track here?

send_authd_users_to_google:

driver = dnslookup
domains = +local_domains
condition=${if def:sender_host_authenticated}
transport = remote_smtp



> it's the ..... that I can't give you.
>
>
> There's no need for an else clause the next router will pick it up it
> this one drops out.
>
> Read the spec, chapter 3 is a good introduction on how exim operates,
> and chapter 11 has all the variables...
>
>
> --
> For a good time: install ntp
>
> --
> ## List details at https://lists.exim.org/mailman/listinfo/exim-users
> ## Exim details at http://www.exim.org/
> ## Please use the Wiki with this list - http://wiki.exim.org/
>