Setting up kopano-spamd

Hey,

i am waiting urgently for the kopano-spamd integration into package repository.
According to https://jira.kopano.io/browse/KC-666 this is already done.

Currently i am running on kopano 8.5.9 - how do i find out the most recent version (available in package repositories)?

Also there is an error in my apt update:

Err:11 https://download.kopano.io/supported/core:/final/Ubuntu_16.04 ./ Release
404 Not Found

What did change since my server setup?
Any help?

Thanks a lot

PS: Following exactly this wikipage: https://kb.kopano.io/display/WIKI/Configure+repositories and initial installation worked

PPS: https://download.kopano.io/supported/core:/final/ => Nothing there, WTF??? How do i get news about this?

same issue for me,
the RHEL7 repos are empty, too.
Only tar archives up to version 8.5.7 are still there.

yes, because of https://forum.kopano.io/topic/1484/rpm-install-update-broken-centos-7-php56-8-5-9-8-6-1 we decided to pull downloads until we had time to investigate the dependency problem during package publishing. packages will be back (and complete) shortly

The Kopano Groupware Core Packages are available again (in repository and as tarballs).

Please let me know if you still run into any issues.

@Joost Now i am getting an update on the packages list.

But i am still missing the kopano-spamd package. Where is it located?

According to https://jira.kopano.io/browse/KC-666 it should be there? Any docs about it?

I do see it, its a dedicated package, e.g. when looking in https://download.kopano.io/supported/core:/final/Ubuntu_16.04/Packages you see

Package: kopano-spamd
Source: kopano
Version: 8.6.2.1-0+5.1
Architecture: amd64
Maintainer: Kopano Development <development@kopano.io>
Installed-Size: 69
Depends: python-kopano
Filename: ./amd64/kopano-spamd_8.6.2.1-0+5.1_amd64.deb
Size: 17982
MD5sum: 899a05301591cc8026f4a661bbae7ebd
SHA1: 6ed6e8e7e345d2dd4a57b0ec3eef246ad07af28b
SHA256: a5951f534cf05533e54a8cb0b5a195f4c5a73b82b5908ff42b39b254e8f31b16
Section: mail
Priority: optional
Description: ICS-driven spam learning daemon for Kopano/SpamAssasin
 A program which can teach SpamAssassin about spam based upon
 the mails a user has moved to his Kopano junk folder.

@computerlyrik said in Kopano Repository not there:

@Joost Now i am getting an update on the packages list.

But i am still missing the kopano-spamd package. Where is it located?

According to https://jira.kopano.io/browse/KC-666 it should be there? Any docs about it?

@fbartels said in Kopano Repository not there:

I do see it, its a dedicated package, e.g. when looking in https://download.kopano.io/supported/core:/final/Ubuntu_16.04/Packages you see […]

You are both right, the packages were still missing when @computerlyrik asked, but were uploaded when @fbartels replied.

Thank you @Joost for clarifying.

I did install the package right now. It did not pull any dependencies.
How is it supposed to work?
Where is a doc how to set it up?

I did expect it running out of the box after installing, but for example i still wonder to which folder i should move my false-negative spam.

Thanks a lot.

@computerlyrik said in Kopano Repository not there:

How is it supposed to work?
Where is a doc how to set it up?

currently the only documentation for it is in its own man page and the man page of its configuration file.

@computerlyrik said in Kopano Repository not there:

I did expect it running out of the box after installing,

no, this won’t be the case (and is also the reason why its not installed through the meta package). it will still run and export mails for learning, but for the actual learning you will always needs to configure your local spamassassin.

@computerlyrik

You could give this try https://github.com/bkram/inotify-spamlearn it is meant to supplement the kopano-spamd ie feeding spamassasin.

Thank you @fbartels for clarification.

I am trying to setup the daemon on my box right now.
I expect the values in the config-file to be the defaults?

I just started the systemd service and the folder /var/lib/kopano/spamd/spam/ gets the message i am drawing into the junk-folder.

But i cannot see any log output - where does it go?
There is no file in /var/log/kopano with spamd in its name

I just had a review on the code but i am not sure where the logfile gets written and the config file gets read. I am still a little confused right now.

Can we please have a wiki page clearifying how this works?

PS: What is “ICS for realtime learning”? What does ICS mean?

@markb said in Kopano Repository not there:

@computerlyrik

You could give this try https://github.com/bkram/inotify-spamlearn it is meant to supplement the kopano-spamd ie feeding spamassasin.

Thank you for pointing this out, i will have a look at it in near future

I have added some documentation to https://documentation.kopano.io/kopanocore_administrator_manual/special_kc_configurations.html#configuring-kopano-spamd-for-automatic-spam-ham-learning

@computerlyrik said in Setting up kopano-spamd:

But i cannot see any log output - where does it go?
There is no file in /var/log/kopano with spamd in its name

by now all services output their logging to stdout to better benefit from journald. if you want to still log to a file (which can be beneficial for debugging) this can be configured in the config of spamd.

@computerlyrik said in Setting up kopano-spamd:

and the config file gets read

our services try to work without configuration values where ever possible and make use of builtin defaults instead. if you want to override a certain setting you can create a config file and put it into /etc/kopano. see https://documentation.kopano.io/kopanocore_administrator_manual/configure_kc_components.html#configure-the-kopano-server for more details and the location of the example config.