docker-postal icon indicating copy to clipboard operation
docker-postal copied to clipboard

Environment variable for smtp relay?

Open eriktroost070 opened this issue 4 years ago • 1 comments

We are starting to use Postal as a email relay, which in turn needs to relay to another mailserver of our company.

But one thing that I'm missing is a environment variable to set the smtp_relay option in postal.yml config file. Or any other way of setting this during container creation.

I could probably edit the container and set a smtp_relay and save that container for internal use, but I'd rather use a public container in case of updates and such.

eriktroost070 avatar Mar 08 '21 15:03 eriktroost070

Never mind, found them.

hostname: ${SMTP_RELAY_HOST} port: ${SMTP_RELAY_PORT} ssl_mode: ${SMTP_RELAY_SSL_MODE}

eriktroost070 avatar Mar 09 '21 13:03 eriktroost070