tunneling SSH for POP and SMTP

tunneling SSH for POP and SMTP

Posted by: veblen
Posted on: 2007-12-07 09:12:00

Hello! Please excuse this questions if they seem basic - I'm a brand-new DreamHost customer.

I'm trying to tunnel SMTP (port 25) and POP (port 110) using SSH (PuTTY) .

1. What server do I SSH to? Web server or e-mail server?
2. In the client mail account settings, what are the usernames? My shell account(s)? E-mail addresses?
3. What do I put as the POP and SMTP servers in my mail client (Outlook)? "localhost"?
4. Any other special port settings?
5. Can I have more than one PuTTY session active at once in order to tunnel for more than one mailbox at one time? If so, do I specify different server names or are they all "localhost"?

I would very much appreciate some step-by-step instructions from someone who does this and might have a little patience to write it up.

I've been blown away by the wealth of information in the wiki and the forums, and it's been very helpful in getting started. However, I've tried and tried and I can't find the answer to this question.

Thanks!

Re: tunneling SSH for POP and SMTP

Posted by: knightnet
Posted on: 2008-01-18 15:24:00

I see that no-one has answered.

If you still need this, let me know by replying and I will tell you how.

Re: tunneling SSH for POP and SMTP

Posted by: patricktan
Posted on: 2008-01-18 19:15:00

I'm not sure whether you can do that. But you can give it a try.

In reply to:

1. What server do I SSH to? Web server or e-mail server?


If you want to access email, I believe you should SSH to E-mail server. You can find out the E-mail server name via DH panel --> Mail --> Webmail

In reply to:

2. In the client mail account settings, what are the usernames? My shell account(s)? E-mail addresses?


It should be your full email address. Or your email name (something like mxxxxxxx). You can find them out via DH panel --> Mail --> Manage Email

In reply to:

4. Any other special port settings?


See above.

In reply to:

3. What do I put as the POP and SMTP servers in my mail client (Outlook)? "localhost"?


smtp: mail.yourdomain.com port: 25 or 587
pop: mail.yourdomain.com port 110

In reply to:

5. Can I have more than one PuTTY session active at once in order to tunnel for more than one mailbox at one time? If so, do I specify different server names or are they all "localhost"?


Yes. You can always save your current session and it will be listed in saved sessions.

Tags: mail clientmail accountshell accountmail serversmtp serversport 110question thanksserver namesputtylocalhoste mailsshaccount settingspatienceexcuse