nextcloud / nextcloud/mail

Add %DOMAIN% as pattern to the "Add new config" section in "Administration > Groupware > Mail app"

Open
#5,467 1 comment 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Feature Request
  1. In a Nextcloud instance install the Mail app
  2. Go to Settings, Administration, Groupware, Mail app
  3. 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

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 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.