This commit is contained in:
parent
2806ab179e
commit
dc92680d32
1 changed files with 1 additions and 0 deletions
|
|
@ -1,6 +1,7 @@
|
|||
#!/bin/sh
|
||||
|
||||
[ -n "${MAILER_HOST}" ] && sed -r "/^mailhub=/s/.*/mailhub=${MAILER_HOST}/" /etc/ssmtp/ssmtp.conf > ~/ssmtp.conf && cat ~/ssmtp.conf > /etc/ssmtp/ssmtp.conf
|
||||
[ -n "${MAILER_TLS}" ] && { grep "^UseTLS=YES$" || echo "UseTLS=YES" >> ~/ssmtp.conf; } && cat ~/ssmtp.conf > /etc/ssmtp/ssmtp.conf
|
||||
[ -n "${MAILER_REWRITEDOMAIN}" ] && sed -r "/^#?rewriteDomain=/s/.*/rewriteDomain=${MAILER_REWRITEDOMAIN}/" /etc/ssmtp/ssmtp.conf > ~/ssmtp.conf && cat ~/ssmtp.conf > /etc/ssmtp/ssmtp.conf
|
||||
|
||||
exec /sbin/tini -- $@
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue