Skip to content

What is the correct (and secure) solution to send e-mails from the host server? (relay or not) #4253

Answered by casperklein
daks asked this question in Q&A
Discussion options

You must be logged in to vote
  1. I imagine that the simpler method is to simply add the host IP (in the Docker network stack) in the my_networks of DMS Postfix config

Take a look at PERMIT_DOCKER=host

  1. I imagine another solution could be to use Submission port

That will work too. Just create an user account like you normally do or use an existing one, that you can use for that.

Any opinion on this? What do people do?

I prefer running nullmailer on the host, but postfix is also fine.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@daks
Comment options

Answer selected by daks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants