[NTLUG:Discuss] Sendmail Help
Stephen Davidson
gorky at freenet.carleton.ca
Thu Apr 29 06:10:39 CDT 2004
Chris Cox wrote:
> Two cent soln...
>
> Create an ssh tunnel to j2eeguys that serves as your LOCAL
> smtp yet is "localhost" as far as j2eeguys is concerned.
> That way, you are talking DIRECTLY to the sendmail on j2eeguys
> even when remote and j2eeguys sendmail thinks it is simply relaying
> for a local user (which is usually allowed of course).
>
> e.g.
>
> ssh -2 -N -f -L 25:localhost:25 root at j2eeguys.com
>
> This way the connection is authenticated AND encrypted, yet
> uses plain old smtp without need of bells and whistles.
>
>
> Now, it's possible that your colo or shared hosting via
> theplanet.com doesn't provide ssh... IMHO... I'd avoid
> using any provider that didn't provide SSH!
Hi Chris.
Not using shared hosting, actually own the server down there, and I did
install ssh on it. Tis how I keep it maintained.
davidson:~ # ssh -2 -N -f -L 25:localhost:25 root at j2eeguys.com
root at j2eeguys.com's password:
3988: bind: Address already in use
3988: channel_setup_fwd_listener: cannot listen to port: 25
3988: Could not request local forwarding.
davidson:~ #
Ok, so I guess I have to shut down the local instance of sendmail to get
this working. Ok for home system, but what about intermittenly
connecting laptop?
Regards,
Steve
--
Java/J2EE Developer/Integrator
Chair, Dallas/FortWorth J2EE Sig
214-724-7741
More information about the Discuss
mailing list