Re: [Exim] smartuser & faking lookups (perl, database, queri…

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Philip Hazel
Dátum:  
Címzett: Paul Makepeace
CC: exim-users
Tárgy: Re: [Exim] smartuser & faking lookups (perl, database, queries)
On Tue, 17 Jul 2001, Paul Makepeace wrote:

> I'm using Oracle rather than MySQL as a database and have implemented


I've been sent a native Oracle interface, and am currently trying to
test it for Exim 4. (Just by the way.)

> virtual_localuser:
> driver = smartuser
> new_address = ${perl{virtual_user}{localuser}{$local_part}{$domain}}
> transport = virtual_localdelivery
>
> ..breaks if the query returns, say, "paulm". One workaround is if it's
> found is to add the domain back in in the perl subroutine but I was
> wondering if there is a better way of doing this, or not to use
> smartuser/new_address at all.


I think adding the domain back in the Perl is the simplest/easiest.

-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.