Update hole_mails / securemail

This commit is contained in:
Nico Schottelius 2017-07-21 16:58:47 +02:00
parent f140bbe81e
commit 3164e5946d
2 changed files with 6 additions and 8 deletions

View File

@ -1,10 +1,11 @@
#!/bin/sh
# Tue Jul 18 15:13:45 CEST 2017
#securemail
#fetchmail
securemail
mbsync -a
#fetchmail
# Disabled by Mon Jun 20 10:56:19 CEST 2016 -- using mu now
# notmuch new

View File

@ -5,6 +5,8 @@
# used at conferences / congresses / meetings
#
set -x
$HOME/bin/securemail.off
POP3=110
@ -33,19 +35,14 @@ if [ $# -ge 1 ]; then
HOST=$1; shift
fi
#ssh -T -f -C -N \
# -L4241:mx.ungleich.ch:$SMTP \
# -R :4242:localhost:22 \
# -D 3128 "$@" \
# "$HOST" && sendmail -q
#
ssh -T -f -C -N \
-L2323:mx.ungleich.ch:$IMAPS \
-L4241:mx.ungleich.ch:$SMTP \
-L2324:imap.googlemail.com:$IMAPS \
-L2325:mail.zhaw.ch:$IMAPS \
-L2326:imap.googlemail.com:$POP3S \
-R :4242:localhost:22 \
-D 3128 "$@" \
"$HOST" && sendmail -q