Hello,
I want to deploy a simple mail server so that it can be used for users to register themselves or reset passwords, etc.
Is there an easy one to deploy (in docker if possible) ?
You are asking for a world of pain here.
As already mentioned several times, selfhosting a mail server is not recommended unless you’re particularly interested in hosting a mail server, but with that said, you might find this project interesting:
don’t.
Please, just don’t. It’s pain in ass
I once came to the conclusion that there is no easy mail server
you could try mailu. that should be simple and Provide you with everything You need
I would not go down the route of doing it myself. Take a look at something like: migadu if it is simple mail hosting you are looking for.
This is a can of worms, but you’re probably looking for something like Postfix. Running your own mail server is complicated. You need to set up SPF, DKIM, DMARC, and make sure outbound traffic on port 25 isn’t blocked. You need to check if your IP is on any block lists. You can do that here:
This tool is for your use case. It comes with bonus privacy features like unique address for each service so they can’t cross track you
I’d advice against it, aside from spam filters, and it being a general PITA, there is a chance your ISP will block any outgoing mail traffic (in my case orange blocks it)
Which orange ? I’m with orange Belgium.
All you need is a local smtp server that relays to another, “real” smtp server. I have a postfix that is configured to use the Proton smtp servers (before that it was Googles). No issues on Telenet.