go to the software center
there is no update found under the software center
is there any possibility that I can update rspamd with a command using ssh?
my bad sorry, stable is 2.2⊠I run 2.5
WHY :-?
now what I can do?â
signal-event nethserver-mail-filter-save
check that the error has not changed since the beginning, we donât know
Just wanted to throw something in here; I was getting exactly this error when I would mark something as junk or not junk in roundcube. This was due to the fact that I had turned off rspamd in the Email settings since Iâm using an external spam appliance. So rspamd was still running and appeared in good order when checking using systemctl, but it was disabled along with antivirus in the cockpit control panel.
The server has been configured like this for a very long time. The emails didnât show up until upgrading nethserver to 7.8.2003.
running rspamd-2.2-1.x86_64
I experimented by turning it back on and bam, no more errors which I would expect. I donât know if that applies to you adnanbutt0550, but hopefully it will help someone if they are confused by this message and seeing it when training spam/ham.
Same problem here.
Errors appeared after upgrading to 7.8.2003, Antispam is disabled in the web interface, Antivirus is enabled. Iâve enabled Antispam now as a workaround.
A fix is waiting your test
yum update nethserver-mail-\* enablerepo=nethserver-testing
check https://github.com/NethServer/dev/issues/6200#issuecomment-643245161
Hi stephdl,
Thanks for looking into this! I performed the update using the nethserver-testing repo and the behavior didnât change.
I also went and double-checked that the markasjunk plugin config is set to null for the training driver so that Iâm not somehow causing the messages.
So with the updates, if rspamd is disabled in the cockpit control panel, I still get messages. I get them when I mark as junk, or mark as not junk. I can also manually move the messages between the inbox and the junk folders without using any plugins in roundcube or thunderbird and the move will trigger the emails.
My log after manually moving a message:
Jun 12 09:34:04 ----- postfix/cleanup[4728]: 34EE6216C27D: message-id=<20200612163343.AEABF216C27D@----->
Jun 12 09:34:04 ----- spam-training/-----[5493]: Message enqueued as learn_spam
Jun 12 09:34:04 ----- opendkim[4651]: 34EE6216C27D: no signing table match for âMAILER-DAEMON@-----â
Jun 12 09:34:04 ----- postfix/qmgr[4711]: 34EE6216C27D: from=<----->, size=43842, nrcpt=1 (queue active)
Jun 12 09:34:04 ----- rspamd[5147]: <4d5028>; csession; rspamd_controller_check_password: allow unauthorized connection from a trusted IP 127.0.0.1
Jun 12 09:34:04 ----- rspamd[5147]: <4d5028>; csession; rspamd_mime_part_get_cte: detected missing CTE for part as: 7bit
Jun 12 09:34:04 ----- rspamd[5147]: <4d5028>; csession; rspamd_mime_part_get_cte: detected missing CTE for part as: 7bit
Jun 12 09:34:04 ----- rspamd[5147]: <4d5028>; csession; rspamd_message_parse: loaded message; id: <20200612163343.AEABF216C27D@----->; queue-id: ; size: 42868; checksum:
Jun 12 09:34:04 ----- rspamd[5147]: <4d5028>; csession; rspamd_mime_part_detect_language: detected part language: en
Jun 12 09:34:04 ----- rspamd[5147]: <4d5028>; csession; rspamd_mime_part_detect_language: detected part language: en
Jun 12 09:34:04 ----- rspamd[5147]: <4d5028>; csession; rspamd_mime_part_detect_language: detected part language: en
Jun 12 09:34:04 ----- rspamd[5147]: <4d5028>; csession; rspamd_stat_classifiers_process: skip statistics as SPAM class is missing
Jun 12 09:34:04 ----- rspamd[5147]: <4d5028>; csession; rspamd_task_process: learn error: Unknown statistics error, found when storing data on backend; classifier: (null)
Jun 12 09:34:04 ----- rspamd[5147]: <4d5028>; csession; rspamd_controller_learn_fin_task: cannot learn <20200612163343.AEABF216C27D@----->: Unknown statistics error, found when storing data on backend; classifier: (null)
Jun 12 09:34:04 ----- postfix/pipe[5421]: 34EE6216C27D: to=-----+learn_spam@spamtrain.nh, relay=spamtrain, delay=0.05, delays=0.02/0/0/0.03, dsn=5.3.0, status=bounced (Command died with status 1: â/usr/bin/rspamcâ. Command output: Results for file: stdin (0.009 seconds) HTTP error: 500, Unknown statistics error, found when storing data on backend; classifier: (null) )
Jun 12 09:34:04 ----- postfix/cleanup[4728]: 3FA1C2003543: message-id=<20200612163404.3FA1C2003543@----->
Jun 12 09:34:04 ----- postfix/bounce[5423]: 34EE6216C27D: sender non-delivery notification: 3FA1C2003543
Jun 12 09:34:04 ----- postfix/qmgr[4711]: 3FA1C2003543: from=<>, size=45984, nrcpt=1 (queue active)
Jun 12 09:34:04 ----- postfix/qmgr[4711]: 34EE6216C27D: removed
Jun 12 09:34:04 ----- dovecot: lmtp(4768): Connect from local
Jun 12 09:34:04 ----- dovecot: lmtp(-----): SIIvEHyu416gEgAAX+Q5+A: sieve: msgid=<20200612163404.3FA1C2003543@----->: stored mail into mailbox âINBOXâ
rpm -qa | grep nethserver-mail (after upgrading using testing repo)
nethserver-mail-server-2.15.1-1.2.g2b8c73a.ns7.noarch
nethserver-mail-common-2.15.1-1.2.g2b8c73a.ns7.noarch
nethserver-mail-filter-2.15.1-1.2.g2b8c73a.ns7.noarch
nethserver-mail-quarantine-2.15.1-1.2.g2b8c73a.ns7.noarch
nethserver-mail-smarthost-2.15.1-1.2.g2b8c73a.ns7.noarch
Iâve gone over the config everywhere I can think of but if anyone has an idea about a hidden setting to turn on/off Iâll be happy to give it a go.
thank, I will check more, BTW it is a pleasure to read a such detailed bug report.
Please could you have a go again, same QA
Yes, that seems to have stopped the behavior.
I disabled Antispam in the control panel, and moved emails to and from junk to verify the emails were being sent (sanity check). Then upgraded using the testing repos to:
nethserver-mail-smarthost-2.15.1-1.5.gc4eaf7b.ns7.noarch
nethserver-mail-filter-2.15.1-1.5.gc4eaf7b.ns7.noarch
nethserver-mail-quarantine-2.15.1-1.5.gc4eaf7b.ns7.noarch
nethserver-mail-server-2.15.1-1.5.gc4eaf7b.ns7.noarch
nethserver-mail-common-2.15.1-1.5.gc4eaf7b.ns7.noarch
Have moved many emails and the issue has disappeared. In searching the logs for âspamtrainâ now nothing shows up as well.
Thank you for the quick response.