Re: Is a patch still required to send mail through a Smarthost

"Amitai Schleier" <[email protected]> 30 May 2019 21:42:39 -0400
Newsgroups gmane.mail.qmail.general
Message-ID <[email protected]>
On 30 May 2019, at 15:51, Matt Turner wrote:

> I want to use qmail to send outgoing mail through a smarthost, 
> searching for this seems to suggest its possible with a patch to 
> qmail.

If you've got a static IP (or an acceptably predictable and narrow 
range) where the smarthost can expect you to connect from, no patch is 
required. See "How do I set up a null client?" at 
https://cr.yp.to/qmail/faq/outgoing.html#null-client (and the format of 
control/smtproutes is described further in qmail-remote(8)).

If your smarthost needs you to authenticate, you'll need a patch. I 
haven't used one myself, but https://www.fehcom.de/qmail/smtpauth.html 
is what I'd try first. Maybe someone with practical experience can weigh 
in on what they've used.