Support for setting relayhost in main.cf (#1104)

* Added DEFAULT_RELAY_HOST setting
* If set this value will be used as the relayhost in /etc/postfix/maincf causing all mail to be delivered using this relay host
* Test for default relay host setting
This commit is contained in:
jjtt 2019-01-19 12:10:31 +02:00 committed by Johan Smits
parent 1302ccfe7e
commit a3724fa91d
6 changed files with 49 additions and 1 deletions

View file

@ -77,6 +77,7 @@ services:
- SASL_PASSWD=${SASL_PASSWD}
- SRS_EXCLUDE_DOMAINS=${SRS_EXCLUDE_DOMAINS}
- SRS_SECRET=${SRS_SECRET}
- DEFAULT_RELAY_HOST=${DEFAULT_RELAY_HOST}
- RELAY_HOST=${RELAY_HOST}
- RELAY_PORT=${RELAY_PORT}
- RELAY_USER=${RELAY_USER}