What is the correct (and secure) solution to send e-mails from the host server? (relay or not) #4253
-
(in case it has its importance: running docker-mailserver in Docker rootless, DMS Postfix listening on 8025, host is Debian 12) I have a nearly production-ready config for DMS and one of the unresolved points is: how to send e-mail from the host server? I run Postfix on the host and I simply configured it (using one of the
Any opinion on this? What do people do? PS: I think I have a slight preference for the SASL solution which would ensure me that only the authorized host would be able to relay and no other authorized container, but I'm still looking for opinions :) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Take a look at
That will work too. Just create an user account like you normally do or use an existing one, that you can use for that.
I prefer running nullmailer on the host, but postfix is also fine. |
Beta Was this translation helpful? Give feedback.
Take a look at
PERMIT_DOCKER=host
That will work too. Just create an user account like you normally do or use an existing one, that you can use for that.
I prefer running nullmailer on the host, but postfix is also fine.