On Tue, Jan 03, 2023 at 07:20:30PM -0500, Hébergement Arbre Binaire wrote:
> >If submission rate limits are required, use SMTP instead of the Postfix
> sendmail command.
>
> Aside from creating a "shim" of some sort to catch sendmail calls made by
> random malicious scripts and that uses SMTP to route mail to the local MTA,
> I don't see any solution. It's a bit above my paygrade since any and all
> MTA matters have a "cold water on neck effect" on me :-)
Such shims already exist:
https://www.pixelstech.net/article/1348764085-Using-msmtp-to-replace-sendmail
There are probably others, I'm not up to speed on which is the best one
to use these days.
--
Viktor.