Add %DOMAIN% as pattern to the "Add new config" section in "Administration > Groupware > Mail app"
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 1k
- Forks
- 348
- Avg merge
- 12h 28m
- Merged PRs (30d)
- 91
Description
Feature Request
- In a Nextcloud instance install the Mail app
- Go to Settings, Administration, Groupware, Mail app
- Click on the "+ Add new config" button in order to create a new default Nextcloud-instace-wide setting
Summary
It would be nice to have the %DOMAIN% pattern, so, if you input "domain.com" in the "Provisioning domain" field, it can be used as follows in the rest of required fields for that config:
Email address template: %USERID%@%DOMAIN% (With the result user123@domain.com)
IMAP/SMTP User: %EMAIL% (With the result user123@domain.com)
IMAP Host: imap.%DOMAIN% (With the result imap.domain.com)
SMTP Host: smtp.%DOMAIN% (With the result smtp.domain.com)
IMHO this pattern allows to have less repetition or input of the actual domain by the admin for the creation of the default config.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in Settings > Administration > Groupware > Mail app and inspect how existing patterns are handled in the “Add new config” flow. Trace the provisioning-domain value through the configuration fields and verify that %DOMAIN% expands consistently in the email address, IMAP/SMTP user, and host fields.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, php
- Domain
- backend, frontend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100