Commit 3164e594 authored by Nico Schottelius's avatar Nico Schottelius

Update hole_mails / securemail

parent f140bbe8
#!/bin/sh #!/bin/sh
# Tue Jul 18 15:13:45 CEST 2017 # Tue Jul 18 15:13:45 CEST 2017
#securemail securemail
#fetchmail
mbsync -a mbsync -a
#fetchmail
# Disabled by Mon Jun 20 10:56:19 CEST 2016 -- using mu now # Disabled by Mon Jun 20 10:56:19 CEST 2016 -- using mu now
# notmuch new # notmuch new
......
...@@ -5,6 +5,8 @@ ...@@ -5,6 +5,8 @@
# used at conferences / congresses / meetings # used at conferences / congresses / meetings
# #
set -x
$HOME/bin/securemail.off $HOME/bin/securemail.off
POP3=110 POP3=110
...@@ -33,19 +35,14 @@ if [ $# -ge 1 ]; then ...@@ -33,19 +35,14 @@ if [ $# -ge 1 ]; then
HOST=$1; shift HOST=$1; shift
fi fi
#ssh -T -f -C -N \
# -L4241:mx.ungleich.ch:$SMTP \
# -R :4242:localhost:22 \ # -R :4242:localhost:22 \
# -D 3128 "$@" \
# "$HOST" && sendmail -q
#
ssh -T -f -C -N \ ssh -T -f -C -N \
-L2323:mx.ungleich.ch:$IMAPS \ -L2323:mx.ungleich.ch:$IMAPS \
-L4241:mx.ungleich.ch:$SMTP \ -L4241:mx.ungleich.ch:$SMTP \
-L2324:imap.googlemail.com:$IMAPS \ -L2324:imap.googlemail.com:$IMAPS \
-L2325:mail.zhaw.ch:$IMAPS \ -L2325:mail.zhaw.ch:$IMAPS \
-L2326:imap.googlemail.com:$POP3S \ -L2326:imap.googlemail.com:$POP3S \
-R :4242:localhost:22 \
-D 3128 "$@" \ -D 3128 "$@" \
"$HOST" && sendmail -q "$HOST" && sendmail -q
......
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