[ale] SMTP recommendation?

James Sumners (ALE) james+ale at sumners.email
Mon Dec 6 17:48:26 EST 2021


It’s been many years since I’ve dealt with setting up an SMTP server to actually send mail all over the Internet. But I find myself in a bit of an annoyance with my mail provider. The short version is they support an incoming catch all feature that will deliver mail for any unrecognized recipient to a designated mailbox, e.g. for foobar at example.com, “footer” isn’t a known recipient so that mail will be delivered to catchall at example.com; but they do not support _sending_ as any sender. I use this catchall to register accounts, e.g. amazon at example.com or some-random-site at example.com, so that I can see exactly who has decided to ignore my opt-out preferences or is selling my email address. But sometimes I need to send an email as that identity so that I can get support, and my provider isn’t supporting it. So I want to setup my own SMTP server that only sends mail and will send as any sender for the domain I have configured as the allowed domain.

I suspect Postfix is the appropriate tool, but am open to any of them (e.g. exim). But what would you use? Are you able to provide a minimal example configuration?

Ideally I would run this process in a Docker container and do TLS termination at my existing HAProxy instance.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.ale.org/pipermail/ale/attachments/20211206/853d767f/attachment.htm>


More information about the Ale mailing list