On Fri, Aug 12, 2022 at 10:57:41PM +0200, Sébastien Hinderer wrote: > As I see it, the SMTP configuration to use is fully determined by the > from address of the mail to be sent. > > [...] there shouldn't be any need for interactivity. For each outoging > mail, pick up the right SMTP config based on who (which address) is > sending (From header). As simple as that, I think.
Great! In that case, msmtp and msmtp-queue can handle your requirements without modification. Just populate the config files per your needs, set up a cron job if you want it, and hopefully your SMTP woes are over! Sam