Re: [exim] Routing Email between Exim4 and Exchange

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Jeb Barger
Data:  
Para: Craig Whitmore
CC: Exim-users
Assunto: Re: [exim] Routing Email between Exim4 and Exchange
Craig Whitmore wrote:
> ----- Original Message ----- From: "Jeb Barger" <jeb@???>
> To: <Exim-users@???>
> Sent: Friday, December 01, 2006 10:39 AM
> Subject: [exim] Routing Email between Exim4 and Exchange
>
>
>>
>> I'm sure this has been asked many times before, but I am stumped.
>>
>>
>
> I've just done this recently.. its a little bit of a hack .This is put
> before the local delivery.
>
> force_exchange:
>  condition                = ${lookup mysql {EXCHANGE_USER}{$value}}
>  debug_print              = "R: force_exchange for $local_part@$domain "
>  driver                   = manualroute
>  transport               = remote_smtp
>  route_list              = *  1.1.1.1
>  no_more

>
> EXCHANGE_USER is a mysql query which returns true if $local_part@$domain
> should be sent to the exchange server (1.1.1.1 = the ip address of the
> exchange server)
> Thanks
> Craig
>


Could I do this to change the mysql query to a file search?

condition = ${lookup{$local_part}lsearch{/etc/exim/forward}}

--
__________________________________
Jeb Barger | Reflex Security, Inc.

jeb.barger@???
office: +1.770.408.2034 x339
mobile: +1.404.200.4201

www.reflexsecurity.com
Reflex Security | Intrusion Prevention, Everywhere!