So, I noticed this a while back myself, and added the mail package to my installation to install the mail-filters. From your above comment, I could read that as: 'it is useless to install the mailfilter components if you installed the mail packages as dependencies for SOGo.
Please tell me that is not a valid interpretation ?
As I said, I only installed SOGo from NethForge. Therefor I didn’t have any mailfilter installed. Maybe the mailfilter component should be added to the SOGo package? Or should we add an instruction to first install NethServer-mail from Softwarecenter, and after that install SOGo from NethForge?
2nd question: what happens with mailfilter if you only install Webtop from software center? Is that the same as with SOGo? Or does Webtop module install the mail filter?
[root@server ~]# for RPM in $(rpm -qa | grep nethserver-mail2-); do signal-event ${RPM}-update; done
Can't open directory /etc/e-smith/events/nethserver-mail2-server-2.0.0-1.ns7.noarch-update
I had to use this command instead:
for RPM in $(rpm -qa --qf "%{NAME}\n" | grep nethserver-mail2-); do signal-event ${RPM}-update; done
I guess webtop doesn’t install mail-filter too but i’m not sure (read not in front of a computer). Anyway, running a mail server without anti spam nowadays is not recommended so you should install one. Spammassassin knows many/some issues not fixed by upstream so I would encourage you to try rspamd (of course i’m biaised)
Does the order matter? I first installed SOGo, then the rest of the mail package to get spam assassin … it looks like it’s working, but @davidep suggested otherwise or I read it that way … trying to figure out if I need to fix something before trying rspamd ?
If you just install SOGo or Webtop (without the email module from software center), there is no filtering installed at all. That is what I had.
If you want to have filtering, you can install the email module without any problem, since the default mail server is installed as dependency when you install SOGo or Webtop.
However, if you want to try rspamd, you need to follow the instruction to swap the email module for email 2 module. This is described in the docs: http://docs.nethserver.org/en/v7/mail2.html#upgrade-procedures
|Time|Worker type|PID|Module|Internal ID|Message|
|---|---|---|---|---|---|
|3/9/2018, 5:17:17 PM|controller|9612|csession|eeb081|cannot connect to redis: unknown error|
|3/9/2018, 5:17:17 PM|controller|9612|||cannot connect to redis: No such file or directory|
|3/9/2018, 5:16:55 PM|fuzzy|9610|||cannot connect to redis: No such file or directory|
|3/9/2018, 5:15:55 PM|fuzzy|9610|||cannot connect to redis: No such file or directory|
|3/9/2018, 5:15:50 PM|controller|9612|csession|ccc358|cannot connect to redis: unknown error|
|3/9/2018, 5:15:50 PM|controller|9612|||cannot connect to redis: No such file or directory|
|3/9/2018, 5:15:50 PM|controller|9612|csession|ccc358|error getting reply from redis server /var/run/redis-rspamd/rspamd: No such file or directory|
|3/9/2018, 5:15:50 PM|controller|9612|csession|ccc358|error getting reply from redis server /var/run/redis-rspamd/rspamd: No such file or directory|
|3/9/2018, 5:15:50 PM|controller|9612|csession|ccc358|connection to redis server /var/run/redis-rspamd/rspamd timed out|
|3/9/2018, 5:15:50 PM|controller|9612|csession|ccc358|error getting reply from redis server /var/run/redis-rspamd/rspamd: No such file or directory|
Mar 9 16:36:21 Nethserver redis-server: /usr/bin/redis-server: error while loading shared libraries: libjemalloc.so.1: cannot open shared object file: No such file or directory
Mar 9 16:36:21 Nethserver systemd: redis-rspamd.service: main process exited, code=exited, status=127/n/a
It should be enough, rspamd uses redis.
If there are no errors anymore it should be OK.
Do you have nethserver-redis installed? If not it may be the reason for the missing dependency.