Commit 7cb93260 authored by Nico Schottelius's avatar Nico Schottelius

Update securemail with full path to sendmail

parent e429c7ad
#!/usr/bin/env python3
o#!/usr/bin/env python3
import argparse
import datetime
......
......@@ -28,20 +28,19 @@ HOST="root@mx.ungleich.ch"
HOST="oneadmin@kaffee.ungleich.ch"
HOST="root@mx-hetzner01.ungleich.ch"
HOST="root@mx.place5.ungleich.ch"
HOST="nico-vm.schottelius.org"
if [ $# -ge 1 ]; then
HOST=$1; shift
fi
# -R :4242:localhost:22 \
ssh -T -f -C -N \
-L[::1]:2323:localhost:$IMAPS \
-L[::1]:4241:localhost:$SMTP \
-L2324:imap.googlemail.com:$IMAPS \
-L2325:mail.zhaw.ch:$IMAPS \
-L2326:imap.googlemail.com:$POP3S \
"$HOST" && sendmail -q
"$HOST" && /usr/sbin/sendmail -q
# Fernzugriff
# ssh -T -f -C -N -R4242:localhost:22 "$HOST"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment