nextcloud / nextcloud/docker

Set mail_smtptimeout via SMTP_TIMEOUT environment variable

Open
#2,496 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Shell
Stars
7.4k
Forks
1.9k
PR merge metrics
No merged PRs in 30d

Description

Like many people I've had failures sending email from Nextcloud which can be resolved by setting 'mail_smtptimeout' => '30' in my config.php

This feels annoyingly manual and will need redoing every time the container updates. I would prefer to configure this through an environment variable to the container. I suggest making this possible through SMTP_TIMEOUT.

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

No file or test is named in the issue. Start by locating the Docker image's environment-variable handling for Nextcloud configuration and compare it with the existing mail_smtptimeout path. Done means SMTP_TIMEOUT sets mail_smtptimeout in the container, with a test or reproducible container check demonstrating the value.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, shell
Domain
devops, infrastructure
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.