Skip to content

other: Unable to use DMS as a local mail relay #3437

@dtrunk90

Description

@dtrunk90

Subject

Other

Description

My use case: I would like to set up apticron on my host to get notified about new package updates. My DMS container is up and running perfectly fine (+ SSL/SPF/DKIM/DMARC) with mail accounts set up. So, first I've set PERMIT_DOCKER=host and POSTFIX_INET_PROTOCOLS=ipv4.

After installing the package apticron-systemd (Debian 12) I've followed this guide: https://docker-mailserver.github.io/docker-mailserver/latest/examples/tutorials/basic-installation/#using-dms-as-a-local-mail-relay-for-containers

I've skipped some steps because everything else is set up already like SSL, SPF and so on.
Now I'm stuck at step 6 (with SPOOF_PROTECTION=1).

These steps will lead to:

[  ERROR  ]  '[email protected]' is already defined as an account`
[  ERROR  ]  Aborting

How do I have to configure DMS and probably mailx/exim4 (which is used by apticron) to send mails through DMS?
Found #1582 but still not sure how to configure DMS here. Do I still need PERMIT_DOCKER=host for that? Is there any way to NOT store a plaintext password in a config file?

Metadata

Metadata

Assignees

No one assigned

    Labels

    meta/closed due to age or inactivityThis issue / PR has been closed due to inactivitymeta/help wantedThe OP requests help from others - chime in! :Dmeta/staleThis issue / PR has become stale and will be closed if there is no further activity

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions