|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Re: feature comments
Subject: Re: feature comments
From: Jason Hoos (jhoos
thwack.net)
Date: Tue Jan 11 2000 - 02:09:15 CST
- Next message: Sean Rima: "Host and sending to non standard SMTP port"
- Previous message: Alex Samonte: "feature comments"
- In reply to: Alex Samonte: "feature comments"
- Reply: Jason Hoos: "Re: feature comments"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> I've been meaning to do a patch for postfix to accomplish some
> things that I had implemented on a sendmail + ldap based combo about 2
years
> back.
>
> I'm looking to answer a few questions:
>
> 1) Is there already a way to do this that I haven't considered?
There was a patch a while back to the PCRE maps that would allow you to do a
secondary map lookup from a PCRE map hit. I haven't tried it, but it looks
like it would allow you to do something like match against a regexp like
/page-([^\
]+)\
whatever.com/ and then take the $1 substring (the stuff in
the parens) and do a map lookup (LDAP in your case) on that. It might be
worth playing with to see if it'll do what you want.
The patch was by Thomas Quinot, in a message titled "Map Lookups in PCRE
substring replacements". I'll forward you a copy off-list (I still have it
in my mailbox someplace).
Jason Hoos
jhoos
thwack.net
- Next message: Sean Rima: "Host and sending to non standard SMTP port"
- Previous message: Alex Samonte: "feature comments"
- In reply to: Alex Samonte: "feature comments"
- Reply: Jason Hoos: "Re: feature comments"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
This archive was generated by hypermail 2b27 : Tue Jan 11 2000 - 02:15:53 CST