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

10.3: A fix for sending mail via an SSH tunnel in Mail Apps
10.3 seems to be unable to send mail when the SMTP server is set to localhost, as it would be when sending mail using a SSH tunnel. This hint explains how to work around this, if you had it working previously and the Panther upgrade broke it.

Open NetInfo Manager, and authenticate yourself. Then in /machines/, make a duplicate of localhost. Name this "tunnel" and delete the "serves" property. Save changes.

In the Mail preferences for the mail account which uses SSH, open the Server Settings panel. Change the server name to "tunnel" and leave everything else the same.
    •    
  • Currently 2.83 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (6 votes cast)
 
[8,976 views]  

10.3: A fix for sending mail via an SSH tunnel in Mail | 4 comments | Create New Account
Click here to return to the '10.3: A fix for sending mail via an SSH tunnel in Mail' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.3: A fix for sending mail via an SSH tunnel in Mail
Authored by: houchin on Nov 13, '03 12:41:32PM

I submitted a related hint yesterday, but I have discovered that Panther has many problems connecting to localhost. For example, if you're using Authoxy as a proxy server, lots of connections just don't go through.

I discovered that problem is specific to connecting to "localhost," not to connecting through the loopback interface or to your own machine. Using "127.0.0.1" instead of "localhost" solved all my problems.



[ Reply to This | # ]
10.3: A fix for sending mail via an SSH tunnel in Mail
Authored by: the1truestripes on Nov 13, '03 03:36:36PM

I use to use 127.0.0.1 for one mail account, and Mail wouldn't allow another 127.0.0.1 (which would work as I was using another port number). I ended up using 127.0.1 and 127.1 as well (you'll have to resort to adding hostnames if you want more then 4 diffrently named localhosts).

[ Reply to This | # ]

10.3: A fix for sending mail via an SSH tunnel in Mail
Authored by: signal15 on Nov 13, '03 02:03:34PM

I haven't had any problems with this. I had to uncomment the line that starts with "#smtp" in /etc/postfix/master.cf to make postfix listen on port 25, but that was it. Make sure you do a postfix start and probably edit your /etc/hostconfig to make it start on boot. Otherwise, you should be ready to go.



[ Reply to This | # ]
10.3: A fix for sending mail via an SSH tunnel in Mail
Authored by: TigerKR on Jan 04, '04 12:10:07PM

This still doesn't work for me. Didn't work in Jag either.



[ Reply to This | # ]