I would just like to say they at I really like Mail-in-a-Box. It is a great, free option for running and administering your own email server. A lot of the features make it really easy to use and maintain.
That is except when something goes wrong… which seems to be much more than it should.
I’ve had updates fail.
I’ve had issue with OpenSSL dependencies.
Most recently I’ve had an issue with renewing the Let’s Encrypt SSL certificate.
Each time this happens, I spend hours digging through the forums, trying things and hoping I don’t somehow make the problem worse!
If you use Mail-in-a-Box, and it fails to auto-renew your SSL certificate (which Mail-in-a-Box is supposed to do for you automatically 14 days before expiration) and starts giving you the following error:
Something unexpected went wrong: Error creating new cert :: Too many certificates already issued for exact set of domains:
Then I would suggest you try the following BEFORE you try anything else:
- Log in as an admin to the Mail-in-a-Box control panel.
- Go to Mail > Users.
- Add a new email (such as email@example.com).
- Go to System > TLS (SSL) Certificates. You should now be able to re-issue the certificate.
- Afterwards you can delete the new email you added.
The entire process I’ve described here will take you 2-3 minutes. Much better than wasting hours trying to uninstall, reinstall, reconfigure, etc as suggested in the Mail-in-a-Box forums. If it doesn’t fix it, then move on to the more complicated “fixes” and hopefully one of them will work for you. They didn’t work for me. Personally I suspect it is a bug in Mail-in-a-Box but based on the forums I don’t think the developers agree.