Craig Whitmore wrote:
> ----- Original Message ----- From: "Jeb Barger" <[EMAIL PROTECTED]>
> To: <[email protected]>
> 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 [EMAIL PROTECTED] "
>  driver                   = manualroute
>  transport               = remote_smtp
>  route_list              = *  1.1.1.1
>  no_more
> 
> EXCHANGE_USER is a mysql query which returns true if [EMAIL PROTECTED]
> 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.

[EMAIL PROTECTED]
office: +1.770.408.2034 x339
mobile: +1.404.200.4201

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

-- 
## List details at http://www.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://www.exim.org/eximwiki/

Reply via email to