On 2013-12-10, Tony Primerano <[email protected]> wrote:
> On Tue, Dec 10, 2013 at 6:03 AM, Jasen Betts <[email protected]> wrote:
>
>> On 2013-12-10, Tony Primerano <[email protected]> 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}

That sounds good. some installations might want to do checks against
the $sender_host_address, or possibly something even wierder, as well.

> Am I on the right track here?

yeah, try that.

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

yeah, that should work.



-- 
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/

Reply via email to