[exim] Rewrite using encapsulated ldap query

Top Page
Delete this message
Reply to this message
Author: Klaus Ethgen
Date:  
To: exim-users
Subject: [exim] Rewrite using encapsulated ldap query
Hello,

I have to do some rewriting using the ip address of the sending host
(namely the envelope from). Now there is a object class ipHost in nis
schema that would fit well to that issue but to get the correct value
for the rewrite I have to do another query with the content of the
manager attribute (which can also be empty).

I (think ;-) I know how to implement that by using one lookup inside of
another. Butis that safe if the manager attribute is empty or if the
inner query fails?

Regards
   Klaus Ethgen
- -- 
Klaus Ethgen                              http://www.ethgen.ch/
pub  4096R/4E20AF1C 2011-05-16   Klaus Ethgen <Klaus@???>
Fingerprint: 85D4 CA42 952C 949B 1753  62B3 79D0 B06F 4E20 AF1C