We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7b58777 commit 0a28ffdCopy full SHA for 0a28ffd
2 files changed
entrypoint.sh
@@ -53,10 +53,11 @@ setup_utils () {
53
}
54
55
: \
56
+ ${DMA_MAILNAME=${MAILNAME-}} \
57
${DMA_SMARTHOST=${SMARTHOST-}} \
58
${DMA_PORT=${SMARTHOST_PORT-}} \
59
${DMA_AUTHPATH="/etc/dma/auth.conf"}
-export DMA_SMARTHOST DMA_PORT DMA_AUTHPATH
60
+export DMA_MAILNAME DMA_SMARTHOST DMA_PORT DMA_AUTHPATH
61
62
# set default command if flags passed
63
[ "${1#-}" = "$1" ] || set -- msmtpd "$@"
units/smtp-proxy.container
@@ -9,6 +9,7 @@ ContainerName=smtp-proxy
9
PublishPort=127.0.0.1:25:25
10
# Environment=NO_NETWORK=true
11
12
+Environment=MAILNAME=%H
13
Environment=SMARTHOST=smtp.example.com
14
Environment=SMARTHOST_PORT=587
15
Environment=AUTH_USER=smartuser
0 commit comments