Good mail server for selfhosting
-
Mailcow is amazing.
Importing exporting i would just use any mailclient and drag-drop them over. Depending on how many Mailboxes you have to transfer.
-
Stalwart is gaining momentum. I haven't used it, but it's worth a look. https://stalw.art/
-
I just have to import only one. Might just use thunderbird for that.
Will test out mailcow and see how it goes.
-
This is probably the way, because a traditional "mail server" is actually 4-5 different servers working together.
- postfix for SMTP
- dovecot for IMAP
- amavis to plug in..
- spamassassin as anti spam
- clam-av as antivirus
And they can all be very easily misconfigured to break everything completely. Great learning experience though.
-
Looks amazing. But the dual licensing scares me. The open variant could be artificially limited in functionality or could end up basic abandon ware.
-
I've been using mailu for years without probelms
-
I was going to ask if anyone had experience with Maddy, which is an all-in-one solution I've been eyeballing for a while.
Getting DKIM and postfix set up correctly was such a PITA, and then dovecot, I'm nervous about having to go through all that again and fretting about accidentally configuring an open relay, so I haven't tried it yet. But it looks nice, and has been around for a couple of years.
-
A project ending as abandonware is always a possibility. One reason projects get abandoned is losing funding, which can be secured by using dual licensing and selling some features to businesses.
They use AGPL so even if they broke their promise and restricted features, it could still be developed further (even if no new features got added). NGINX also uses a dual license.
-
fretting about accidentally configuring an open relay
That's easy enough to test. Try sending mail from the Internet to an address outside your domain, both from a real sender and a sender spoofing your own domain.
-
A project ending as abandonware is always a possibility. One reason projects get abandoned is losing funding, which can be secured by using dual licensing and selling some features to businesses.
That is not my point.
Having a CE or OS version and an Enterprise Version can lead to conflict of interest. Do you add a feature to the OS Version or do you spend time on the Enterprise feature? There are a lot of examples, Emby is one, others are escaping me right now.
There are other models that work well like paid support etc. Nonetheless i will stay away.
-
I've never messed with it but I've heard mail servers are a pain in the ass.
-
If only this wasn't asked 50 times in the past 7 days. SEARCH.
-
I use OpenSMTPD for mail delivery, dovecot for IMAP, fdm for filtering and some tool I forget the name of for DKIM signing.
To bulk move mail around, just move the maildirs.
(Hosting email is a pain)
-
After 20+ years of hosting my email in a similar way (postfix...) I decoded to explore the "all in ones" like stalwart and mailcow.
Stalwart looks promising because its a new approach, supposedly more streamlined and efficient. Will post back in a few months.
I am not worried about stalwart dual license, the overall feeling seems to be of trust.
-
A forum is good for searches. Social media is good for blind repost and "me me me" posting.
That's life
So sad we abandoned the forum approach.
-
It's a bit unconventional maybe, but I vote
simple-nixos-mailserver
- IF you are curious / willing to learn nix. It's essentially just sanely configured dovecot, postfix, rspamd.My config for those three combined is about 15 lines, and I have never had an issue with them. Slap on another 5-10 lines for Roundcube as a webmail client.
Since it's Nix, everything is declarative, so should SOMETHING happen to the server, you can be up and running again super quickly, with the exact same setup.
-
I use nixos on my desktop, the server is a debian one but might be good to install nix on it.
-
In that case I can really highly recommend it. Nixos on the server is fantastic anyways, and the only hurdle to recommending simple-nixos-mailserver is that most people are not familiar with nix...
-
Another vote for Mailcow-dockerized. Used it for about 5 years now and never had a problem.
-
https://mxtoolbox.com/ will help a lot with making sure you're configured correctly.
And look at Mailcow if you're nervous about setting up another server, it's bulletproof and mature.