OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: virtual_alias_maps: rewriting outbound

From: Chris McKeever (techjedigmail.com)
Date: Wed Jul 05 2006 - 14:13:05 CDT


On 7/3/06, mouss <usebsdfree.fr> wrote:
> Chris McKeever wrote:
> >> What's in this regex map? if you ave a wildcard, that's your problem.
> >>
> >
> > phew -- alright, I got my handle around the bounce invalid and the
> > SMTP level invalid. Everything is working on that front (less the
> > first.last rewrite). It turned out a line by line recode of the
> > main.conf cleared some bugger out.
> >
> > so, now I am rejecting directly off the LDAP.
> >
> > back to the virtual_alias_map - outside of scripting a
> > firstname.lastname lookup table
> > is there anyway to do regex prior to an LDAP lookup? I cant seem to
> > find anything about advanced LDAP lookups
>
> why would you do a regex? do it directly in ldap. you're not using any
> regex "capacity" here. you're just using
> foodomain => bardomain
> where bar=function(foo) and domain is one of yours. the only thing is
> you need to make sure this only returns a result if bardomain exists. I
> see no regex here. These are just "alternate" mailbox addresses.

ok - that would work, I havent come across any LDAP function references ..
I will do some digging, if anyone knows a direct link/howto please
post it...or even a quick
example

finding a function that would work in LDAP as you described
bar=function(foo) would be perfect!! good suggestion, now I have to find it!

Chris

>
>

--
----------------------------------
please respond to the list .. if you need to contact me direct
cgmckeever is the account
prupref.com is the domain

<A href="http://www.prupref.com">Simply Chicago Real Estate</A>