Skip to Content.
Sympa Menu

en - [en@sympa] LDAP users and multiple email addresses

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: Roy Sigurd Karlsbakk <address@concealed>
  • To: sympa-users <address@concealed>
  • Subject: [en@sympa] LDAP users and multiple email addresses
  • Date: Fri, 9 May 2025 12:00:54 +0200

Hi all

We're using LDAP (AD) for authentication and this works well. When a user sends an email from address@concealed, it all works well. However, a lot of users are used to using address@concealed. If this is used, the email is rejected by sympa. So, I checked and the alternate address is in proxyAddresses in LDAP - fine - let's add that. Those addresses are prefixed with the protocol (smtp, sip or x500 in this  case), so I found (somewhere) that using the select line below, should help to clean this up. Going further, I've enabled merge_feature in sympa.conf and I start testing. It works well from address@concealed, vut if I try from address@concealed, the email is silently discarded, never to be seen again.

Can anyone find an obvious error below (that is, from auth.conf), please tell!

thanks in advance

roy
--- ldap.conf
ldap
    regexp my\.tld
    host ldap.my.tld:636
    timeout 30
    suffix OU=something,DC=strange,DC=my,DC=tld
    bind_dn ldap_bind_acct
    bind_password topsecret
    get_dn_by_uid_filter (uid=[sender])
    get_dn_by_email_filter (|(mail=[sender])(proxyAddresses=[sender]))
    email_attribute mail
    alternative_email_attribute ur1mail,proxyAddresses
    scope sub
    use_tls ldaps
    ssl_version tlsv1_2
    ssl_ciphers MEDIUM:HIGH
    select s/^smtp://i
--
Roy Sigurd Karlsbakk
address@concealed
+47 9801 3356
--
I all pedagogikk er det essensielt at pensum presenteres intelligibelt. Det er et elementært imperativ for alle pedagoger å unngå eksessiv anvendelse av idiomer med xenotyp etymologi. I de fleste tilfeller eksisterer adekvate og relevante synonymer på norsk.



  • [en@sympa] LDAP users and multiple email addresses, Roy Sigurd Karlsbakk, 05/09/2025

Archive powered by MHonArc 2.6.19+.

Top of Page