Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

SMTP, Using invalid characters for domain in msmtprc #430

Copy link
Copy link
@ekovarski

Description

@ekovarski
Issue body actions

Summary

/etc/msmtprc is setting "tiredofit/db-backup" as a domain. The forward slash (/) is an invalid character for a domain which can throw an an error:

smtp failed-command command="HELO tiredofit/db-backup" result="501 5.5.4 Invalid command arguments: Invalid domain name

Steps to reproduce

Enable email notifications, force a backup error

What is the expected correct behavior?

Email sent successfully via msmtprc

Relevant logs and/or screenshots

2025-09-27T08:10:36.261293-04:00 nas smtpd[176730]: ca1ad1f763f7ffbf smtp failed-command command="HELO tiredofit/db-backup" result="501 5.5.4 Invalid command arguments: Invalid domain name"

Environment

  • Image version / tag: latest
  • Host OS: docker image
Any logs | docker-compose.yml

Possible fixes

Modify /etc/msmtprc and change domain to a valid internal domain. You could also bind mount an alternate /etc/msmtprc from your local system. Ideally it should be changed upstream to 'local.domain' or enable users to change it via a environment variable.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.