all docker references cleared, fixes
This commit is contained in:
1 parent
27e0889bd1
commit
e7b9cc4e15
6 files changed
+92
-39
No files matched your search
@@ -29,7 +29,7 @@ else
|
||||
fi
|
||||
|
||||
if [ "$myip" != "$MAILSERVER_IP" ]; then
|
||||
$REMOTE=yes
|
||||
REMOTE=yes
|
||||
fi
|
||||
|
||||
TO=$1
|
||||
@@ -46,9 +46,9 @@ fi
|
||||
# Mail body aus Datei oder STDIN holen
|
||||
CONTENT=$(cat ${1:--})
|
||||
|
||||
MAILCMD="$PODMAN exec -i $MAILCONTAINER /usr/sbin/sendmail -i -t"
|
||||
MAILCMD="$SUDO $PODMAN exec -i $MAILCONTAINER /usr/sbin/sendmail -i -t"
|
||||
if [ ! -z "$REMOTE" ]; then
|
||||
MAILCMD="ssh $MAILSERVER_IP \"$SUDO $MAILCMD\""
|
||||
MAILCMD="ssh $MAILSERVER_IP \"$MAILCMD\""
|
||||
fi
|
||||
# construct mail header + content and pipe to sendmail
|
||||
cat <<EOMB | $MAILCMD
|
||||
|
||||
Reference in new issue
Block a user