On 2008-04-28 at 12:48 +0200, Johann Spies wrote:
> On Sun, Apr 20, 2008 at 01:29:37AM -0700, Phil Pennock wrote:
> > How about:
> > 
> > active_directory_user:
> >   driver = manualroute
> >   domains = mrc.ac.za
> >   local_parts = dbm;/tmp/ad.db
> >   transport = remote_smtp
> >   route_data = 172.18.5.18
> > 
> > ?
> > 
> > See also "9.3 Single-key lookup types" for an explanation of "dbm" vs
> > "dbmnz".
> 
> Thanks.  I have replaced 'local_parts' in your example above with
> address_data because there are full email addressess in that  .db.
> 
> It seems to be working OK. 

Uhm, "address_data" is NOT a pre-condition.  It's used to set
$address_data, for passing arbitrary data down to Transports or on to
subsequent Routers.  I think that you might just be lucky so far.

Perhaps you want:

  condition = ${if match_address [EMAIL PROTECTED];/tmp/ad.db}}

Regards,
-Phil

-- 
## List details at http://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