Re: Using sendmail as outbound MTA, but with SSL

From: Andrea Venturoli <ml_at_netfence.it>
Date: Sun, 21 Dec 2025 14:56:36 UTC
On 12/21/25 14:35, Matthias Apitz wrote:

>> Running stunnel would be an easy option.
> 
> I've never used stunnel, only SSH and port forwarding. The IP addrs in
> question are

I don't think they are the same thing.
AFAIK an ssh tunnel would require ssh on both sides.



> Can I do such stunnel to route SMTP to 178.254.4.101:25 without
> involving my ISP before?

I don't think so, but this is not what you asked in the first place.

What both Marco and I suggested is:
_ local stunnel that listen on local x.y.z.w:25 and forwards the 
connection (encrypted) to smtp.1blu.de:465;
_ sendmail configured to send to x.y.z.w:25.

Of course x.y.z.w cannot be 127.0.0.1 if sendmail is already listening 
there.

HTH.

  bye
	av.