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

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

Ikechi Michael
1 min readJun 25, 2019

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!

--

--

Ikechi Michael
Ikechi Michael

Written by Ikechi Michael

I’ve learned I don’t know anything. I've also learned that people will pay for what I know. Maybe that's why they never pay.

Responses (1)