Anyone knows Integrated SMTP+IMAP server for small(est) domains?

Does anyone know an integrated SMTP+IMAP server for unix that:

  • Supports SMTP over SSL
  • Supports IMAP over SSL
  • Supports multiple email domains, with a small number of accounts in each (support@, me@, …)
  • Doesn’t have any dependencies (databases, external apps, …)
  • Comes as a single binary, and not 100500 separate applications that I do not know what to do with
  • Supports those email verification things that I do not understand - something to put into DNS or something so that other mail servers trust the sender
  • I do not need UI for administration; I actually prefer nginx-style config.
  • I’m OK with no spam filter

Couldn’t Google anything similar. The closest one was SMTP+POP3(!), and with no SSL (that is a showstopper).

Why:

I have a number of small domains for this and that, and for each of them I have an info@ or support@. About 10 email addresses in total.

Currently they hosted either on fastmail.com, or with the hosting company that hosts the domain WordPress. In pretty much all cases it is extra money (small, but annoying) and extra thing to remember.

Now I’m consolidating my sites into my own DigitalOcean droplet using the static site generators. Issue tracker is hosted there, too - Redmine. So it is logical to have my emails hosted there as well, BUT there is no simple to configure SMTP+IMAP server. :frowning:

I.e. I’m looking for a simplest in configuration SMTP+IMAP server with modern security and reasonable defaults. I do not have skills and time to configure even Exim, not even mentioning IMAP servers.

IDEA! If nobody knows it, maybe @andrey should write it.That’s a C++/portable thing that he’s good at. $50 one-time price will pay off in one year for me.

1 Like

Here’s an option: https://mailinabox.email

Thank you. A good attempt, but:

Mail-in-a-Box is based on Postfix, Dovecot, Z-Push, Roundcube, ownCloud, Apache SpamAssassin, Postgrey, Nginx, @konklone’s nginx config, and more.

Once it is installed, I’m basically left with configuration for all these systems.

I used to be an admin, so I do know my way around the configuration files, but I do not have time to focus on them anymore. I want a configuration that is as dumb as it can be: new domain? add a config entry or better yet - a directory with the same name. Subdirectories are the users for that domain. Password is in a file within each user directory. That kind of configuration - which is I agree limited but is sufficient for little needs of a small domain owner.

Doubt this exists, but check out dovecot. Might be close to what you want.

https://www.dovecot.org

(I think even if you find something, there are still long term issues of maintenance in terms of keeping deliverability up and spam out).

Use Yandex.mail for domain. It’s free.

I would not recommend you to use an e-mail server on your own VPS. Your e-mails can easily end up in the spam folder. There are so many things to care about when you host your own server.

You really want me to become an outcast for cooperating with Russians from Yandex, eh? :smiley: Which is recursive, too, because I’m Russian myself. :slight_smile:

Nah, I dont want to keep my emails sonewhere else.

Speaking of requirements for a MTA - they just need not be an open relay and support DKIM and SPF.

DKIM can be delivered out of the box, keeping in mind that the server would have to support strong cryptography for SSL anyway.

Publishing DKIM public key to DNS is still a manual step, and a rather inconvenient one in case of LetsEncrypt certs that are changing often. For full automation of this step:

  • Either DNS hoster should have an API for updating the DKIM record
  • Or the server should email the owner every time the LetsEncrypt changes
  • Or the domain to use a self-signed key with a multi-year expiration
  • Or the server itself should manage its DNS entries, which is too much, but explains why that Mail in the Box has DNS server in it

SPF is easy to implement and the server may reminder the owner about necessity to do so by checking the DNS record for the domain.

Google “mail server in docker”.

We tried a few (don’t know which ones, it was my partner looking), ended up buying subscription for office 365 since we only needed it for the single domain.

1 Like

Good one. And yet still too complicated, IMHO. Mail-in-the-Box has the same issue, plus the support is… mmm… suboptimal.

My feeling is that there is reverse tide now - from SaaS to VPS (because the cost of running VPS is so small now, and accumulated cost of various SaaSes is larger, plus your data are in someone’s else hands). So there should be a market for small and simple SMTP+IMAP server for small domain owners.

I’m thinking there is an option to pay a contractor to build an integral application - wrapper for postfix and dovecot, with extremely simplified configuration. I’m checking with a skillful guy I know how much time would it take.

Install “Plesk Web Admin Edition” on your droplet. It gives you a nice GUI for everything hosting related, incl. POP, IMAP SMTP, even Webmail. But it’s not free - € 3.75 p. month.

I’m getting the impression that you didn’t actually read the setup guide for Mail-in-a-Box, because there is little or no manual maintenance of config files. It takes over the complete machine and manages everything through a control panel. The installation guide is written for the non-technical person, not for you as former sysadmin. If you do change something by hand, it is overwritten on the next update. They even have a backup scheme and easy way to jump to a new server if/when that becomes necessary. They have both a discussion forum and a slack channel for support.

The Mail-in-a-Box setup guide also lists more complicated packages if you must get your hands dirty: “try iRedMail, Sovereign, or Modoboa.”

Can you take yes for an answer? :slight_smile:

No you’re not. You should give a try. It automates everything for you. All you’re left with is a simple Web Admin screen to log into.

[quote=“rfctr, post:3, topic:4899”]
I want a configuration that is as dumb as it can be: new domain? add a config entry or better yet - a directory with the same name. Subdirectories are the users for that domain. Password is in a file within each user directory. That kind of configuration[/quote]

Your description of what you’d like is FAR more complicated than what Mail In A Box requires you to do.

Stop reading about it. Go pay Linode.com $5 for an Ubuntu 14 server. Go buy a new domain at https://www.gandi.net Run the Mail In A Box installer. Follow the “dumb as it can be” instructions. Log into the Web Admin and add a new account, flip some settings, whatever…

At first I ignored this advice as I knew that dovecot is IMAP-only server, but then I checked their roadmap and found this:

SMTP submission server: Started

Great! So someone skilled is actually working on this. I just need to wait another year or so - that I can do. :slight_smile: