can not deploy sender blocker zimlet

Interested in talking about Mash-up's? This is the place.
Post Reply
wauters
Posts: 13
Joined: Thu Mar 21, 2019 7:10 pm

can not deploy sender blocker zimlet

Post by wauters »

I can not deploy the sender blocker zimlet. When doing it from the admin website I get Server Error Encountered.

When I try to deploy from the CLI, I get an error that the zip file can not be found.

I do not know what I am doing wrong.

Thank you!
kbrokaw
Posts: 5
Joined: Wed Feb 20, 2019 9:18 pm
Location: Maine, USA
ZCS/ZD Version: 8.8.10_GA_3716 CentOS 7

Re: can not deploy sender blocker zimlet

Post by kbrokaw »

I just tried installing the same one myself.. I was getting an error that the description file
called com_cloudtemple_senderblocker-master.xml was not found. After some poking around, I
finally noticed that while the .zip file is called com_cloudtemple_senderblocker-master.zip (downloaded
from GitHub), all the files inside the zip file were called com_cloudtemple_senderblocker.[whatever] .

One other thing I did to the zip file, since I had read it might cause problems, was to remove path information
from the zip file.. as downloaded, it created a sub-folder called com_cloudtemple_senderblocker/ . I had read
that zimlet .zips should not have all the root files in a sub-folder. I re-zipped it, naming the .zip file
without the "-master" ending, and without the internal sub-folder, and it installed fine using the CLI:

( zmzimletctl deploy com_cloudtemple_senderblocker.zip )
wauters
Posts: 13
Joined: Thu Mar 21, 2019 7:10 pm

Re: can not deploy sender blocker zimlet

Post by wauters »

Thank you for the reply. I tried as you suggested. That did not work.

I am getting this...this is what have always been receiving,

zmzimletctl deploy com_cloudtemple_senderblocker.zip
java.io.FileNotFoundException: Zimlet not found: com_cloudtemple_senderblocker.zip
at com.zimbra.cs.zimlet.ZimletFile.findZimlet(ZimletFile.java:363)
at com.zimbra.cs.zimlet.ZimletFile.<init>(ZimletFile.java:155)
at com.zimbra.cs.zimlet.ZimletUtil.dispatch(ZimletUtil.java:1908)
at com.zimbra.cs.zimlet.ZimletUtil.main(ZimletUtil.java:2010)
[] ERROR: Error
java.io.FileNotFoundException: Zimlet not found: com_cloudtemple_senderblocker.zip
at com.zimbra.cs.zimlet.ZimletFile.findZimlet(ZimletFile.java:363)
at com.zimbra.cs.zimlet.ZimletFile.<init>(ZimletFile.java:155)
at com.zimbra.cs.zimlet.ZimletUtil.dispatch(ZimletUtil.java:1908)
at com.zimbra.cs.zimlet.ZimletUtil.main(ZimletUtil.java:2010)
wauters
Posts: 13
Joined: Thu Mar 21, 2019 7:10 pm

Re: can not deploy sender blocker zimlet

Post by wauters »

I am so stupid. I didn't realize I had to be in the zimlet directory to install.....all is working
ivanbishop
Posts: 14
Joined: Thu Mar 12, 2015 4:27 pm

Re: can not deploy sender blocker zimlet

Post by ivanbishop »

Hi, It deployed this zimlet OK, but is doenst show in web browser. Bounved zimbra.
It shows deployed in CLI
[zimbra@mail zimlets-deployed]$ zmzimletctl listZimlets|grep -i sender
com_cloudtemple_senderblocker
com_cloudtemple_senderblocker
com_cloudtemple_senderblocker


Any ideas :) ?
ivanbishop
Posts: 14
Joined: Thu Mar 12, 2015 4:27 pm

Re: can not deploy sender blocker zimlet

Post by ivanbishop »

Ok.

Even though I deployed the zimlet to default COS and it shows as such, I still had to go to the user account and make the zimlet available .

Now I see block.allow domain/sender.,

Lets see if it works.
Post Reply