IWETHEY v. 0.3.0 | TODO
1,095 registered users | 0 active users | 1 LpH | Statistics
Login | Create New User
IWETHEY Banner

Welcome to IWETHEY!

New SSH port forwarding?
Assuming that is the kind of shell access you have and the corp firewall allows it:

ssh -L port_local:mail.drook.com:port_remote drook@drook.com

Substitute the following:
port_local: the number of the port you want the service to appear on
port_remote: the remote (now blocked) mail port number
mail.drook.com: ISP's mail server name
drook@drook.com: your shell access account name

Assuming all goes well, you should now be able to point your client at localhost:port_local and retrieve the mail.
New Will try to set that up
I don't have SSH access from work either, so the try/test cycle is going to be pretty slow.
--

Drew
New Setup SSH to *ALSO*...
Listen on a common alternative HTTP/S port (8080 or 8443 or some such)

Then do forwarding from that.
--
greg@gregfolkert.net
"No snowflake in an avalanche ever feels responsible." --Stanislaw Jerzy Lec
New Been reading docs and I'm not clear
System A: Desktop machine inside Corp firewall. Ports other than 80 (and a few others) blocked.

System B: Hosted server, VPS with root shell access.

System C: Hosted mailserver, on a non-standard port.

What do I set up on system A and what on system B so that I can run a mail client on A picking up mail from C?
--

Drew
New Curveball - would you accept a webmail solution?
Can you run up a webmail interface such as Roundcube?

Would avoid much farting about...
New Are there any that learn spam?
--

Drew
New Nah
If you've got control of the mailserver, you do that shit in your MTA chain, right?

ETA: OTOH, https://github.com/J...in-Mark-as-Junk-2
Expand Edited by pwhysall Feb. 5, 2014, 10:39:21 AM EST
New I don't control the mailserver
--

Drew
New Re: Been reading docs and I'm not clear
This is done from Home or where you have access, Setup your VPS server (System B) to listen with SSH on 8443 (if the allowed outbound from the Corporate firewall). You should use a second "Port" statement, not removing the other ones.

Port 8443

And then try without leaving *THAT* ssh session. Open a NEW terminal

ssh -p8443 -lyouruser yourhost.yourvps.com

Ensure it is good. Fix if needed.


Here is a config example for your Desktop (System A.)

This config setups the redirects pointing at your hosted mail server (System C) through you VPS server (system B)

greg@omg:~ [0] $ cat ~/.ssh/config

Host redirects
Hostname yourhost.yourvps.com
Port 8443
#Outgoing mail delivery sstmp/esmtps
LocalForward 1465 hosted.mailserver.com:465
#Inbound mail pickup (IMAPS)
LocalForward 1993 hosted.mailserver.com:993
# Inbound imap, not needed is using imaps
LocalForward 1143 hosted.mailserver.com:143


Then just point your mail client at "localhost" or 127.0.0.1 with the proper port for the proper service and it is done.
--
greg@gregfolkert.net
"No snowflake in an avalanche ever feels responsible." --Stanislaw Jerzy Lec
New Will try next time I'm at work... home because of snow today
--

Drew
New You can "try it" at home to verify...
It would work.

Then just replicate the configs.
--
greg@gregfolkert.net
"No snowflake in an avalanche ever feels responsible." --Stanislaw Jerzy Lec
     How to access a blocked port - (drook) - (16)
         your ISP doesn't offer webmail access? -NT - (boxley) - (1)
             Yes, but no filtering that way - (drook)
         SSH port forwarding? - (scoenye) - (10)
             Will try to set that up - (drook) - (9)
                 Setup SSH to *ALSO*... - (folkert) - (8)
                     Been reading docs and I'm not clear - (drook) - (7)
                         Curveball - would you accept a webmail solution? - (pwhysall) - (3)
                             Are there any that learn spam? -NT - (drook) - (2)
                                 Nah - (pwhysall) - (1)
                                     I don't control the mailserver -NT - (drook)
                         Re: Been reading docs and I'm not clear - (folkert) - (2)
                             Will try next time I'm at work... home because of snow today -NT - (drook) - (1)
                                 You can "try it" at home to verify... - (folkert)
         tcprelay - (crazy) - (2)
             Looks promising, thanks -NT - (drook) - (1)
                 Not as promising as one might think. - (folkert)

Firstly they have wonky eyes, the left eye is always much larger than the right.
76 ms