mykeels.com

How to “uninstall” Mail-in-a-box

Did you mistakenly install mail-in-a-box on an existing server?

How to “uninstall” Mail-in-a-box

Did you mistakenly install mail-in-a-box on an existing server?

Today, I installed mail-in-a-box on an existing Ubuntu server, and all my previous nginx config no longer worked.

I later realized I was supposed to use a fresh server (or docker, perhaps), and every forum I saw, had someone saying “Unfortunately there is no uninstall”.

So, here are unofficial steps for uninstalling mail-in-a-box:

  • Delete the mailinabox directory.

  • Rename the/etc/nginx/conf.d/local.conf to /etc/nginx/conf.d/local.conf.deleted

  • Rename the/etc/nginx/conf.d/ssl.conf to /etc/nginx/conf.d/ssl.conf.deleted

  • Restart nginx systemctl reload nginx.

Hola if this works for you too!

Tags