Re: Using sendmail as outbound MTA, but with SSL

From: Anton Shepelev <anton.txt_at_gmail.com>
Date: Fri, 26 Dec 2025 15:25:55 UTC
Matthias Apitz:

> My question is, is there a way to configure sendmail
> to use SSL port 465 to the remote mail HUB?

Did you know that `curl' can talk SMTP?  On Linux, I
have writen a very crude shell wrapper around `curl' to
simlate the `sendmail' interface.  One important gotcha
is that you may not feed the message body on STDIN, and
must supply it as a filename via the -T parameter, in
order to prevent `curl' from exeucing the VRFY[1]
command[], to which 99.(9)% of servers respond with an
error.
____________________
1. <https://stackoverflow.com/a/56047141/2862241>