Ich habe gelegentlich Probleme beim LDAP - Lookup von "kreativen" 
SPAM-Adressen:

exim paniclog /var/log/exim4/paniclog on balder.lan.taube has non-zero 
size, mail system might be broken. The last 10 lines are quoted below.

2009-12-01 07:57:40 1NFMg8-00015V-L3 Expansion of ${lookup ldap 
{user=cn=xxx,dc=lan,dc=taube pass=xxx 
ldap://balder.lan.taube/dc=lan,dc=taube?cn?sub?(|(mail=${quote_ldap_dn:$0}) 
(mozillaSecondEmail=${quote_ldap_dn:$0}))} {$value <$0>}fail} failed 
while rewriting: lookup of "user=cn=xxx,dc=lan,dc=taube pass=xxx 
ldap://balder.lan.taube/dc=lan,dc=taube?cn?sub?(|(mail=tycan%5C+t%40diputados.pan.org.mx)
 
(mozillaSecondEmail=tycan%5C+t%40diputados.pan.org.mx))" gave DEFER: 
ldap_search failed: -7, Bad search filter

quote_ldap_dn soll doch gerade das verhindern?

Wie sollte ich den Abfragestring richtig maskieren?

Die Rewrite-Regel lautet:
*      "${lookup ldap {user=cn=xxx,dc=lan,dc=taube pass=xxx \
 
ldap://balder.lan.taube/dc=lan,dc=taube?cn?sub?(|(mail=${quote_ldap_dn:$0}) 
(mozillaSecondEmail=${quote_ldap_dn:$0}))} \
              {$value <$0>}fail}" fw


_______________________________________________
Exim-users-de mailing list
[email protected]
http://lists.exim.org/mailman/listinfo/exim-users-de

Antwort per Email an