Multiple Email Values

Michael Ströder michael at
Sat Jan 9 15:49:41 CET 2010

Chris Dukes wrote:
> On Wed, Dec 30, 2009 at 02:41:03PM +0100, Christoph Holtermann wrote:
>> I use LDAP for storing my contacts. I keep thinking about the
>> simple case of people having multiple email. One case
>> would be to have an attribute "mail" another one "mozillaSecond
>> Email". On the other hand I know that it
>> is possible to store multiple values in the corresponding LDAP-
>> attribute. but i wonder how it could be possible to also store
>> an additional information about these email.
> If you're caring from an MTA perspective...
> Postfix's LDAP maps suggest a 'maildrop' attribute for calculating actual
> delivery.

'maildrop' has a different semantics.

> And now a suggestion so you can spend an afternoon seeing what it
> breaks...
> Well, atleast in my LDAP schemas the mail attribute has syntax
> And looking at 6.10 of RFC2252
> You can put any unicode string there you want to such
> as 
> Christoph Holtermann Obsolete  <c.holtermann at>

This is IMO bad advice since MUAs expect only the raw e-mail address in
attribute 'mail' (see section 2.16 in RFC 4524) which also contains some other
interesting notes.

Ciao, Michael.

More information about the python-ldap mailing list