Skip to content

[BUG] DMS fails to start, when SMTP_ONLY=1 is used and no user is present. #2775

@casperklein

Description

@casperklein

Miscellaneous first checks

  • I checked that all ports are open and not blocked by my ISP / hosting provider.
  • I know that SSL errors are likely the result of a wrong setup on the user side and not caused by DMS itself. I'm confident my setup is correct.

Affected Component(s)

postfix

What happened and when does this occur?

Starting DMS fails with SMTP_ONLY=1 and no user added.

The startup stops/hangs at

mailserver  | [   INF   ]  Welcome to docker-mailserver 11.1.0
mailserver  | [   INF   ]  Initializing setup
mailserver  | [   INF   ]  Checking configuration
mailserver  | [   INF   ]  Configuring mail server
mailserver  | [ WARNING ]  !! INSECURE !! SSL configured with plain text access - DO NOT USE FOR PRODUCTION DEPLOYMENT

What did you expect to happen?

Correct startup of DMS.

How do we replicate the issue?

1. Configure SMTP_ONLY=1
2. Do NOT add any additional configuration files (Not adding a user)
3. Start DMS
...

DMS version

v11.1.0

What operating system is DMS running on?

Linux

What instruction set architecture is DMS running on?

x86_64 / AMD64

What container orchestration tool are you using?

Docker Compose

docker-compose.yml

Unmodified example docker-compose.yml

Relevant log output

No response

Other relevant information

No response

What level of experience do you have with Docker and mail servers?

  • I am inexperienced with docker
  • I am inexperienced with mail servers
  • I am uncomfortable with the CLI

Code of conduct

Improvements to this form?

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions