On Thu, 28 Aug 2003 jvanasco@??? wrote:
>
> 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. :(
virtuals_delivery:
driver = redirect
hide data = LDAP LOOKUP WHICH RETURNS A DIRECTORY(or address)
directory_transport = address_directory
That should be able to handle addresses or directories - add a couple more
*_transports and it can handle pipe and file, too. Proabably need user
and group set, too. But that's basically it.
--John
>
>
> 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/ ##
> >
>
>
> --
>
> ## List details at http://www.exim.org/mailman/listinfo/exim-users Exim details at http://www.exim.org/ ##
>
>
>