Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Secure POP and SMTP Email via SSH (final update)' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Secure POP and SMTP Email via SSH (final update)
Authored by: kyngchaos on Jul 23, '03 11:46:37AM

shouldn't that be

ssh -L55110:mail.yourdomainname.com:110 -L55025:mail.yourdomainname.com:25 name@domain.com

like the original tip? the domain of the -L option is for the mail server, not the localhost. Unless your mail server happens to be on your Mac.



[ Reply to This | # ]
Secure POP and SMTP Email via SSH (final update)
Authored by: atverd on Jul 23, '03 12:26:20PM

No, in parameter -L you specify IP of the REMOTE machine.
-L55110:127.0.0.1:110 means "listen on port 55110 and if there is something open connection from remote end to 127.0.0.1:110 and transfer stuff to it over ssh"

Just try it, it will work and this way is more secure, because on remote machine you can enable pop3 to listen only on 127.0.0.1, so it's not exposed to outside world.



[ Reply to This | # ]