Page 1 of 1

How can i unistall roundcube and dovecot?

Posted: Wed Aug 07, 2019 6:06 am
by coder45
Hi,

I am searched but i am not finding a true solution. When visit domain.com/webmail, it is opening roundcube login page.

I applied other solutions and now it is opening 403 error page. I want to all of them(webmail) remove on server and when visit domain.com/webmail, it must giving 404 error

How can i solution my problem?

Thanks.

Re: How can i unistall roundcube and dovecot?

Posted: Wed Aug 21, 2019 7:52 am
by twoup
Remove the "roundcube.conf" file from the Apache conf.d directory (/etc/apache2/conf.d/), then restart apache. This removes the Roundcube configuration for all domains and cause Apache to return a 404.

I'm guessing if you want to remove Dovecot, you have no need to host user mailboxes? Leaving Dovecot in place but disabling the service might be your best course of action if you might need to host mailboxes in the future:

Code: Select all

sudo systemctl stop dovecot
sudo systemctl disable dovecot
If you will never host user mailboxes, and need to reclaim space, you can remove Dovecot as follows:

Code: Select all

sudo systemctl stop dovecot
sudo yum remove dovecot
Roundcube stores files in a few places. Again, if you will possibly have a need for it in the future, I recommend leaving it in place. If you'll never need it, or need to reclaim the (minimal) space it occupies. From your post, I suspect you have already removed /etc/roundcube, however since you asked:

Code: Select all

sudo rm -R /usr/share/roundcube
sudo rm -R /etc/roundcube
Regards,
twoup