[BlueOnyx:19380] Re: Removing Roundcube

Matt James matt at rainstorminc.com
Mon Mar 21 14:06:42 -05 2016


Thanks, Michael.  Should this be done alongside the uninstall that Tom and Jeff directed me to in their replies?

-Matt


> On Mar 21, 2016, at 12:58 PM, Michael Stauber <mstauber at blueonyx.it> wrote:
> 
> 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
> _______________________________________________
> Blueonyx mailing list
> Blueonyx at mail.blueonyx.it
> http://mail.blueonyx.it/mailman/listinfo/blueonyx





More information about the Blueonyx mailing list