Skip to content

Import LDAP mail attribute as user alias address #7545

Description

@DavidePrincipi

Since we allow edit of LDAP mail attribute, we can use it in Postfix LDAP queries that look up the user's email addresses.

Proposed enhancements

  1. Add a new option to Mail domains "Add LDAP mail attribute addresses"

    Image
  2. If Enforce Sender/Login match switch is enabled, the LDAP mail attribute is considered a valid sender address for the account, like other items of the Addresses page:

    Image

See also

Thanks to @mrmarkuz

Activity

  1. converted this from a draft issue on Jul 8, 2025
  2. moved this from Backlog to ToDo in NethServeron Oct 1, 2025
  3. added this to the NethServer 8.7 milestone on Oct 1, 2025
  4. changed the issue type fromtoon Oct 1, 2025
  5. fracklaus commented on Jul 7, 2026

    @fracklaus

    Could you please consider to allow e-mail alias addresses from LDAP as well? I.e., a multi-value field that holds a users mail alias addresses. Ideally with a configurable field name, but also a fixed field name for aliases would be fine.

    That would improve the integration in webmail apps (like SOGo, nextcloud mail) that are able to let the user choose a from-address from valid ldap mail aliases when sending mails, and at the same time use the value of the mail attribute as primary are of a user.

    See also here: https://community.nethserver.org/t/nethserver-project-milestone-8-6/26417/6

    Thank you.

  6. 3 remaining items

  7. moved this from In Progress to Testing in NethServeron Sep 7, 2026
  8. lucagasparini commented on Sep 8, 2026

    @lucagasparini

    Test case 1: OK
    Test case 2: OK
    Test case 3: OK
    Test case 4: OK

  9. removed
    testingPackages are available from testing repositories
    on Sep 8, 2026
  10. moved this from Testing to Verified in NethServeron Sep 8, 2026
  11. DavidePrincipi commented on Sep 9, 2026

    @DavidePrincipi
    MemberAuthor

    In Testing 1.8.0-dev.2

    Repeat test case 3 and 4: now the LDAP alias entry must be visible if an Address with the same value overrides it.

    This behavior is now aligned to User, which is always visible.

  12. lucagasparini commented on Sep 9, 2026

    @lucagasparini

    Cases 3 and 4 repeated with new modification: OK

  13. DavidePrincipi commented on Sep 9, 2026

    @DavidePrincipi
    MemberAuthor
  14. moved this from Verified to Done in NethServeron Sep 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    milestone goal 👑This describes an announced milestone goalverifiedAll test cases were verified successfully

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions