[ale] SMTP recommendation?

Phil Turmel philip at turmel.org
Tue Dec 7 10:54:13 EST 2021


If starting from scratch today, I'd probably run postfix.  As it is, 
I've been running exim for about 20 years now.  I don't configure a 
catchall, but you can.  (I use the random -suffix instead.)

Let me know if you go the exim route, and I can share my config privately.

On 12/6/21 5:48 PM, James Sumners (ALE) via Ale wrote:
> 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 
> <mailto:foobar at example.com>, “footer” isn’t a known recipient so that 
> mail will be delivered to catchall at example.com 
> <mailto: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 <mailto:amazon at example.com> or 
> some-random-site at example.com <mailto: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.


More information about the Ale mailing list