openwrt / openwrt/packages

emailrelay: disabled config is started anyway

Open
#29,206 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Makefile
Stars
4.6k
Forks
4k
Avg merge
3d 12h
Merged PRs (30d)
134

Description

Package Name

emailrelay

Maintainer

fededim@gmail.com

OpenWrt Version

25.12.2

OpenWrt Target/Subtarget

x86/64

Steps to Reproduce

Have more than one instance in /etc/config/emailrelay
Have at least one instance disabled (option enabled '0')
(Re)start service
Check status
Result: the disabled instance is started with the only one option "/usr/bin/emailrelay --no-daemon"
If more than one instance is using the same default port 25 -> conflict, only one instance is started.

Actual Behaviour

Result: the disabled instance is started with the only one option "/usr/bin/emailrelay --no-daemon"
If more than one instance is using the same default port 25 -> conflict, only one instance is started.

Confirmation Checklist

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

The report identifies /etc/config/emailrelay and the restart/status flow but no source file or test. Start by locating the emailrelay package's service and configuration handling, then reproduce with one disabled instance; done means disabled instances are not started while enabled instances still start without port conflicts.

Written by the indexing model from the issue text.

Assessment

Domain
operating-systems
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.