On Mon, Feb 11, 2002 at 10:43:37AM +0100, Torgeir Veimo wrote:
> I'm wondering if someone have tried sending email to an qmail-ldap 
> server containg an ldap query, or more simply, an ldap group name?
> 
> I was thinking about the lines of having a special address receiving the 
> email, perform the query to find the recipients, and then handle bounces 
> automatically (just ignore them). It would look kindof like to: 
> mailer-(&(gender=M)(area=south wales))@mailerbox.com (but encoded so 
> that the address is RFC compliant).
> 
> Anyone done something similar?
> 
This will not work because qmail-ldap escapes the email address so that it
is impossible to inject other queries than qmail-ldap ones into the ldap
server. The only sollution is to use a program delivery which is attached
to a -catchall delivery and let the program do the lookup and the
additional logic. But if you start writing something like that why not
taking some mailinglist manager and rewrite the code so that it uses the
ldap db for the groups?


-- 
:wq Claudio

tail -23 QLDAPINSTALL

Reply via email to