Provisioning does not replace %USERID% in mail host
Nobody has claimed this yet.
- 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
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 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