exim-docker/start.sh
Wolfgang Hottgenroth 0bf33c582f
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
auth added
2024-12-20 23:56:43 +01:00

16 lines
367 B
Bash
Executable File

#!/bin/bash
rm exim.conf
cat exim.conf.tmpl \
| sed -e 's/%HOSTNAME%/'$HOSTNAME'/' \
-e 's#%RELAYNETS%#'$RELAYNETS'#' \
-e 's/%LOCALMAILNAME%/'$LOCALMAILNAME'/' \
-e 's/%SMARTHOST%/'$SMARTHOST'/' \
-e 's/%SMARTHOST_USER%/'$SMARTHOST_USER'/' \
-e 's/%SMARTHOST_PASS%/'$SMARTHOST_PASS'/' \
> exim.conf
exim -bd -q15m -v