[BlueOnyx:19378] Re: Removing Roundcube
Michael Stauber
mstauber at blueonyx.it
Mon Mar 21 11:58:48 -05 2016
Hi Matt,
> I’m writing to see if anyone could provide me the most
> reliable way to remove Roundcube altogether.
Here is a small script for that:
-----------------------------------------------
#!/usr/bin/perl -I/usr/sausalito/perl
use CCE;
$cce = new CCE;
$cce->connectuds();
@vhosts = ();
(@vhosts) = $cce->findx('WebApplications', '', { "appname" =>
"roundcubemail" });
for $app (@vhosts) {
($ok, $my_vsite) = $cce->destroy($app);
}
$cce->bye('SUCCESS');
exit(0);
-----------------------------------------------
Beware of the unintended linewrap in the line starting with "(@vhost) =".
Save, make executable, run. Be sure to uninstall the RoundCube PKG as
well, or the next CCEd restart will redeploy it to all Vsites.
--
With best regards
Michael Stauber
More information about the Blueonyx
mailing list