Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > ssh-tunneling smtp

ssh-tunneling smtp
Thread Tools
cla
Mac Enthusiast
Join Date: Mar 2000
Status: Offline
Reply With Quote
Jan 2, 2005, 10:37 AM
 
I suspect this post has more to do with Mail.app than ssh-tunneling.
Anyway, I set up a tunnel like this:

> ssh -L5525:my-smtp.server.com:25 my-ssh.server.com

I test the tunnel using

> telnet 127.0.0.1 5525

and it connects just fine. The thing is, I can't get Mail.app to connect. I've set 127.0.0.1 as host using port 5525, but Mail.app complains about the server not supporting authentication.

I set the mailserver up myself, so authenticating shouldn't be the problem.
     
cla  (op)
Mac Enthusiast
Join Date: Mar 2000
Status: Offline
Reply With Quote
Jan 2, 2005, 10:54 AM
 
Um, I just solved it by changing my-ssh.server.com to another server.

my-ssh.server.com is actually a firewall protecting my-smtp.server.com. I still don't know why I couldn't get the tunnel to work using my-ssh.server.com. Telnetting from there to port 25 on my-smtp.server.com works fine, so there shouldn't be a firewall or internal dns issue...
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 06:55 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2