nextcloud / nextcloud/mail

Use of proxyAddresses ldap attribute

Open
#10,736 5 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

1. to develop enhancement enterprise
Dominant language
JavaScript
Stars
1k
Forks
348
Avg merge
12h 28m
Merged PRs (30d)
91

Description

Is your feature request related to a problem? Please describe.

I try to set alias attribute to proxyAddresses on a AD but I cannot cuz for postfix I put smtp:toto@toto.fr and Mail keep the smtp:

mail: greg@toto.fr
proxyAddresses: smtp:dc.canva@toto.fr
proxyAddresses: smtp:gregory@toto.fr
proxyAddresses: smtp:test@toto.fr
Describe the solution you'd like

strip the smtp: from attribute to have these 3 aliases

For more agnostic setting, purposing a ldap filter like this : (proxyAddresses=smtp\3A%s) %s is the value

Describe alternatives you've considered

No response

Additional context

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the LDAP or Active Directory attribute handling and the code that maps proxyAddresses into mail aliases. Check how existing LDAP filters and multi-valued attributes are processed, then verify that smtp: is removed or matched as proposed without changing unrelated attributes.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
authentication, backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.