[BlueOnyx:19381] Re: ***SPAM*** Re: Removing Roundcube
Jeff Folk
jfolk at qzoneinc.com
Mon Mar 21 16:09:06 -05 2016
As I read his instructions, yes. Script first, then uninstall the package.
On Mar 21, 2016, at 2:06 PM, Matt James wrote:
> 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
>
>
> _______________________________________________
> Blueonyx mailing list
> Blueonyx at mail.blueonyx.it
> http://mail.blueonyx.it/mailman/listinfo/blueonyx
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4109 bytes
Desc: not available
URL: <http://mail.blueonyx.it/pipermail/blueonyx/attachments/20160321/7cf4a711/attachment.p7s>
More information about the Blueonyx
mailing list