[New Plugin] Configure and use fetchmail from the WebApp
i’ve developed a plugin to configure fetchmail within the Kopano WebApp.
It started out as a project only for private use, but its running stable so far, and maybe there is an interest for it.
I’ve polished it up a bit and uploaded the plugin to github:
Warning: It’s running stable polling ~12 accounts every 2-5 Minutes. I’ve had it up to ~20. Anything more than that is untested.
Feel free to use & modify it. Feedback and Bug reports are always welcome
That’s great, I am sure it will be very very useful, I’ll give it a try as soon as I can.
I’ve also added some screenshots to the github page.
Thanks for sharing. Looks promising.
Great work @olia
I’ll be rolling it out shortly and will report back with any bugs/issues.
UPDATE: Runs great! Thanks again
I asked for that for years, beginning with my zarafa 6.4 experiments!
Thanks a lot !!
I have copied the GIT code to:
then copied the config.php to /etc/kopano/webapp/config-fetchmail.php
restarted apache2 but the new plugin does not come up.
I am doing something wrong?
Did you create a symlink from /etc/kopano/webapp/config-fetchmail.php to /usr/share/kopano-webapp/plugins/fetchmail/config.php ?
Otherwise could you please post the apache2 error log?
Here it is:
root@mrc-ubz64:/etc/kopano/webapp# ls -rtl config-fetchmail.php
lrwxrwxrwx 1 root root 53 Mar 16 16:32 config-fetchmail.php -> /usr/share/kopano-webapp/plugins/fetchmail/config.php
root@mrc-ubz64:/etc/kopano/webapp# ls -lrt /usr/share/kopano-webapp/plugins/fetchmail/config.php
-rw-r–r-- 1 root root 1065 Mar 16 16:32 /usr/share/kopano-webapp/plugins/fetchmail/config.php
The error log doesn’t mention fetchmail at all…
I am sure this is something I am doing wrong though.
Did you activate the plugin in the kopano settings?
Apologies I think this is me being stupid.
[Thu Mar 16 16:41:21.550162 2017] [core:info] [pid 23167] [client 127.0.0.1:36071] AH00128: File does not exist: /usr/share/kopano-webapp/plugins/fetchmail/resources/css/fetchmail.css, referer: https://z.advanced-finance.com/webapp/
[Thu Mar 16 16:41:22.220274 2017] [core:info] [pid 23174] [client ::1:46690] AH00128: File does not exist: /usr/share/kopano-webapp/plugins/fetchmail/js/fetchmail.js, referer: https://z.advanced-finance.com/webapp/
[Thu Mar 16 16:41:23.788916 2017] [core:info] [pid 23173] [client 127.0.0.1:36075] AH00128: File does not exist: /usr/share/kopano-webapp/plugins/fetchmail/js/fetchmail.js, referer: https://z.advanced-finance.com/webapp/
Obviously by not reading the documentation correctly (and your documentation is very good) I failed to notice that the build was in the builds directory not in the source code.
Will try again, but it is me being stupid.
No problem, happens to the best of us
now indeed it comes up fine. Thanks a lot!
Do you think it would be worth having a common area, sourcecode, packages or whatever where plugins like this are available for all users?
I.e. a central repository where people can go in and search which plugins are available in addition to the official Kopano ones?
@mcostan yes, we have that already on our agenda. As a matter of fact I just added some more links and made it public. You can find it at https://stash.z-hub.io/projects/COM/repos/projects-and-resources/browse
@olia would you be so kind to run through the explained workflow in https://stash.z-hub.io/projects/COM/repos/projects-and-resources/browse/CONTRIBUTING.md and add your project? I am interested if the instructions are clear enough or need to be clarified/simplified. Thanks!
I’ve read the document, and followed it (waiting to hear back for write access to the repo).
Also the instructions are clear enough.
@olia thanks, I just replied to your request.