Merge branch 'master' of github.com:telmich/nsbin
This commit is contained in:
commit
a895a3c27d
10 changed files with 131 additions and 53 deletions
13
securemail
13
securemail
|
|
@ -33,24 +33,19 @@ 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 \
|
||||
-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 \
|
||||
-R :4242:localhost:22 \
|
||||
-D 3128 "$@" \
|
||||
"$HOST" && sendmail -q
|
||||
|
||||
# Fernzugriff
|
||||
# ssh -T -f -C -N -R4242:localhost:22 "$HOST"
|
||||
# -D 3128 "$@" \
|
||||
|
||||
#ssh -T -f -C -N -L2342:mx2.schottelius.org:$SMTP 62.65.138.66
|
||||
#ssh -T -f -C -N -L4242:imaps.schottelius.org:$IMAPS "$HOST"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue