I suggest this patch to allow senders use any source address
they might have set in LDAP (the 'mail' attribute can have
multiple values!)
--- LDAPMemberships.py.orig 2004-04-01
12:31:54.000000000 +0200
+++ LDAPMemberships.py 2004-04-05 15:40:03.000000000 +0200
@@ -115,7 +115,9 @@ # mail is unique mail =
attrs['mail'][0].strip()
self.__members.append(mail)
-
self.__member_map[mail] = mail
+ # mail can have
multiple values
+ for secondarymail in
attrs['mail']:
+
self.__member_map[secondarymail.strip()] = mail if
attrs.has_key('mailalternateaddress'): malts =
attrs['mailalternateaddress'] for malt in
malts:
Logged In: YES
user_id=244001
I suggest this patch to allow senders use any source address
they might have set in LDAP (the 'mail' attribute can have
multiple values!)
--- LDAPMemberships .py.orig 2004-04-01
# mail is unique
mail = mail'][ 0].strip( )
12:31:54.000000000 +0200
+++ LDAPMemberships.py 2004-04-05 15:40:03.000000000 +0200
@@ -115,7 +115,9 @@
attrs['
self.__ members. append( mail) member_ map[mail] = mail member_ map[secondaryma il.strip( )] = mail
if key('mailaltern ateaddress' ):
malts = mailalternatead dress']
for malt in
-
self.__
+ # mail can have
multiple values
+ for secondarymail in
attrs['mail']:
+
self.__
attrs.has_
attrs['
malts: