Skip to Content.
Sympa Menu

en - Re: [sympa-users] multiple addresses in mail attribute

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: Warren G Anderson <address@concealed>
  • To: address@concealed
  • Cc: address@concealed
  • Subject: Re: [sympa-users] multiple addresses in mail attribute
  • Date: Fri, 6 Feb 2009 09:54:42 -0700

Hi Bill,

Thanks for the info. So, pulling the desired email address by
perl regex will definitely be the way to get the internal
address selected into the list, I guess.

But that leaves open the question of how to accept mail from
any other value in the attribute.

Cheers,
Warren

On Feb 5, 2009, at 18:26 , address@concealed wrote:


Warren Anderson recently posted (in part):

Alternatively, I could make sure that this is the first value
in the mail attribute and set "selection=first" for the LDAP
data source.

I was always under the *impression* that the order of the
values returned from a multivalued LDAP attribute had no
guaranteed order. So I did a very quick bit of research and
found:

"Note that multivalue attributes hold a set of values with no
particular order. There is no guarantee that multivalue
attributes are ever going to be returned in the order in which
they were stored (or in any other order)."

Microsoft TechNet article for
Active Directory


"If an attribute is multi-valued, there is no intrinsic order
attached to those values, though order is sometimes preserved."

"Central Authentication Service Through
LDAP" Northwestern University


In all my reading about LDAP, I don't recall ever reading
that order is preserved, so I have assumed that it shouldn't
be counted on. You may find with that with your particular
software, the order *is* preserved. But just be aware that
with some future version of your software, that behavior
could change.

If anybody has a more definitive answer to this question, I
for one would love to hear it.

...BC

--
+-------------------------[ address@concealed ]---+
| Bill Costa | No good
| 1 Leavitt Lane Voice: | deed...
| CIS/Telecom -- 2nd Floor +1-603-862-3056 |
| University of New Hampshire | Goes
| Durham, NH 03824 USA | unpunished.
+---------------[ http://pubpages.unh.edu/~wfc/ ]--+

+================[ WARREN G. ANDERSON ]====================+
| 15 Sierra Vista Terr. SW (403) 212-1426 HOME |
| Calgary AB, T3H-3C4, CANADA |
+----------------------------------------------------------+
| P.O. Box 413, (414) 559-5366 US CELL |
| Dept. of Physics (414) 229-3323 OFFICE |
| Milwaukee WI, 53201, USA (414) 229-5589 FAX |
+==========================================================+

Attachment: smime.p7s
Description: S/MIME cryptographic signature




Archive powered by MHonArc 2.6.19+.

Top of Page