nextcloud / nextcloud/mail

Provisioning does not replace %USERID% in mail host

Open
#2,698 6 comments 1 reaction 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

Expected behavior

%USERID% (and %EMAIL%) can be used in IMAP/SMTP host and will be replaced by the values for each user.

Actual behavior

the host in the preview and in the db table oc_mail_accounts is literally "%USERID%"

Mail app

Mail app version: 1.1.2

Mailserver or service: Postfix / Dovecot

Server configuration

Operating system: Debian 9

Web server: Apache2

Database: MariaDB

PHP version: 7.4

Nextcloud Version: 18.0.1

Client configuration

Browser: Chrome

Operating system: Windows 10


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

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 tracing the provisioning path that writes IMAP/SMTP host values and compare it with the preview and the oc_mail_accounts entry. Done means %USERID% and %EMAIL% are replaced with each user's values in both the preview and stored account data.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
backend, databases
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.