Email module transition to Rspamd

yum downgrade rspamd

after downgrade:

23.6.2018, 08:01:56 controller 13970 cannot load json data: parse error error while parsing : line: 5, column: 0 - ‘string value must not be empty’, character: ‘0x0a’
23.6.2018, 08:01:56 rspamd_proxy 13969 cannot load json data: parse error error while parsing : line: 5, column: 0 - ‘string value must not be empty’, character: ‘0x0a’
23.6.2018, 08:01:56 fuzzy 13968 cannot load json data: parse error error while parsing : line: 5, column: 0 - ‘string value must not be empty’, character: ‘0x0a’

rpm -qa rspamd

rspamd-1.7.5-1.x86_64

reboot

after reboot:

23.6.2018, 08:09:09 controller 2886 map pr5857 cannot resolve updates.rspamd.com
23.6.2018, 08:09:09 controller 2886 map xa6qqy cannot resolve rspamd.com
23.6.2018, 08:09:09 controller 2886 map fdp86m cannot resolve maps.rspamd.com
23.6.2018, 08:09:09 controller 2886 map k8f914 cannot resolve maps.rspamd.com
23.6.2018, 08:09:09 controller 2886 map fdp86m cannot resolve maps.rspamd.com
23.6.2018, 08:09:09 controller 2886 map fdp86m cannot resolve maps.rspamd.com
23.6.2018, 08:09:09 controller 2886 map k8f914 cannot resolve maps.rspamd.com
23.6.2018, 08:09:09 controller 2886 map fdp86m cannot resolve maps.rspamd.com
23.6.2018, 08:09:06 controller 2886 lua bgayez cannot upload script to /var/run/redis-rspamd/rspamd(00000000408F02C0): timeout while connecting the server
23.6.2018, 08:09:06 controller 2886 lua bgayez cannot upload script to /var/run/redis-rspamd/rspamd(0000000041C158D0): timeout while connecting the server

systemctl status redis-rspamd

[root@sbs ~]# systemctl status redis-rspamd
● redis-rspamd.service - Redis persistent key-value database Rspamd
Loaded: loaded (/usr/lib/systemd/system/redis-rspamd.service; enabled; vendor preset: disabled)
Active: active (running) since Sat 2018-06-23 08:08:40 CEST; 8min ago
Main PID: 753 (redis-server)
CGroup: /system.slice/redis-rspamd.service
└─753 /usr/bin/redis-server 127.0.0.1:0

Jun 23 08:08:40 xxx.xxx.xxx systemd[1]: Started Redis persistent key-v…
Jun 23 08:08:40 xxx.xxx.xxxsystemd[1]: Starting Redis persistent key-…
Hint: Some lines were ellipsized, use -l to show in full.

what are the error message; do a pastebin of last lines /var/log/maillog

can you display the history ?

dont see errror messages in the mail log.
Jun 23 08:22:22 sbs rspamd[2886]: <23aba0>; csession; rspamd_controller_check_password: allow unauthorized connection from a trusted IP 127.0.0.1
Jun 23 08:22:22 sbs rspamd[2886]: <8b9e04>; csession; rspamd_controller_check_password: allow unauthorized connection from a trusted IP 127.0.0.1

yep i can display the history, is also normal like before

so it works but you loaded some error at boot ???

i installed the 1.7.6 again, guess it works. get this messages like before:

23.6.2018, 08:15:07 controller 2886 csession d1ceec got IO timeout with server fuzzy.rspamd.com(88.99.142.95:11335), after 1 retransmits

nope, no errors at boot

my cristall ball is broken :smiley: without logs I cannot see much.

PLease paste your logs

sorry but have to hurry for now

1 Like

Cannot reproduce the same message here. The update to 1.7.6 went well! I think we can release it @stephdl!

2 Likes

I updated to rspamd yesterday with the following command:

yum swap – remove nethserver-mail-{common,disclaimer,filter,server} – install nethserver-mail2-{common,disclaimer,filter,server}

And I just have one thing to say… WOW!!! What an awesome upgrade! Having the web page show the rejected spam and all the stats is great! Well done guys!

3 Likes

A post was split to a new topic: Cannot resolve maps.rspamd.com