Re: [Exim] (how could i) use Maildir and address redirect/re…

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: jvanasco
Fecha:  
A: Geraint A Edwards
Cc: exim-users
Asunto: Re: [Exim] (how could i) use Maildir and address redirect/rewrite interchangably
I feared that would be the answer - i was hoping someone would chime in
some snazzy response like:

if data is an email address (regex test):
driver = redirect
else data is a maildir:
driver = appendfile

and i could do a single ldap query, instead of chaining two.

oh well. its probably too obscure a feature to warrant it being there
in the first place. :(


On Wednesday, August 27, 2003, at 05:57 PM, Geraint A Edwards wrote:

> jvanasco@??? said
>         (on Wed, Aug 27, 2003 at 03:00:16PM -0400):
>> virtuals_delivery:
>>   driver                        = appendfile
>>   hide directory      = LDAP LOOKUP WHICH RETURNS A DIRECTORY
>>   maildir_format

>>
>> I would *love* to be able to have an email address in ldap, instead of
>> a maildir, that I could deliver messages to instead
>
> You need a router like the following:
>
> ldap_redirect_router:
>     driver        = redirect
>     hide data    = LDAP LOOKUP WHICH RETURNS AN ADDRESS

>
> --
> Geraint A. Edwards (aka "Gedge") gedge@??? http://serf.org/gedge/
>
> --
>
> ## List details at http://www.exim.org/mailman/listinfo/exim-users
> Exim details at http://www.exim.org/ ##
>