Spamtrain.nh error

,

Hi All,

Last week I updated my Nethserver to 7.8.2003 and I got too many emails on the root mail address with the following content. Anyone knows how I can resolve this issue.

Undelivered Mail Returned to Sender

This is the mail system at host nethserver.domain.com.

I’m sorry to have to inform you that your message could not
be delivered to one or more recipients. It’s attached below.

For further assistance, please send mail to postmaster.

If you do so, please include this problem report. You can
delete your own text from the attached returned message.

               The mail system

<“teezee@domain.com+learn_ham”@spamtrain.nh>: Command died with
status
1: “/usr/bin/rspamc”. Command output: Results for file: stdin (0.010
seconds) HTTP error: 500, Unknown statistics error, found when storing data
on backend; classifier: (null).

Kind Regards,
Adnan

@stephdl Do you have an idea?

1 Like

first valid that the rspamd service is up
systemctl status rspamd

then check what you have had in logs /var/log/maillog

Check before, if rspamd is down, or with errors in maillog, try to restart

systemctl restart rspamd

[root@nethserver ~]# systemctl status rspamd
● rspamd.service - rapid spam filtering system
Loaded: loaded (/usr/lib/systemd/system/rspamd.service; enabled; vendor prese t: enabled)
Drop-In: /usr/lib/systemd/system/rspamd.service.d
└─nethserver.conf
Active: active (running) since Tue 2020-05-26 11:34:55 CEST; 4h 32min ago
Docs: About Rspamd
Main PID: 7642 (rspamd)
CGroup: /system.slice/rspamd.service
├─ 7642 rspamd: main process; 0.3 msg/sec, 0.0 msg/sec spam, 0.3 m…
├─31035 rspamd: fuzzy process (localhost:11335)
├─31036 rspamd: rspamd_proxy process (/var/run/rspamd/worker-proxy…
├─31037 rspamd: controller process (127.0.0.1:11334)
└─31038 rspamd: hs_helper process

May 26 16:06:53 nethserver.domain.com rspamd[31036]: ; proxy; pro…
May 26 16:06:53 nethserver.domain.com rspamd[31036]: ; proxy; rsp…
May 26 16:06:53 nethserver.domain.com rspamd[31036]: ; proxy; rsp…
May 26 16:06:53 nethserver.domain.com rspamd[31036]: ; lua; setti…
May 26 16:06:53 nethserver.domain.com rspamd[31036]: ; proxy; rsp…
May 26 16:06:53 nethserver.domain.com rspamd[31036]: ; proxy; rsp…
May 26 16:06:54 nethserver.domain.com rspamd[31036]: ; proxy; rsp…
May 26 16:06:54 nethserver.domain.com rspamd[31036]: ; proxy; rsp…
May 26 16:06:54 nethserver.domain.com rspamd[31036]: ; proxy; rsp…
May 26 16:06:54 nethserver.domain.com rspamd[31036]: <3a6a88>; proxy; pro…
Hint: Some lines were ellipsized, use -l to show in full.

restarted rspamd but the problem is still there…

we need the logs snippet to understand

Hi @stephdl,

There are lot of logs but I am posting a few of them,

May 26 16:17:11 nethserver postfix/smtpd[16566]: warning: hostname nethserver.domain.com does not resolve to address 82.44.136.78
May 26 16:17:11 nethserver postfix/smtpd[16566]: connect from unknown[82.44.136.78]
May 26 16:17:11 nethserver rspamd[31036]: <5af356>; proxy; proxy_accept_socket: accepted milter connection from /var/run/rspamd/worker-proxy port 0
May 26 16:17:11 nethserver postfix/smtpd[16566]: 7B193803E896: client=unknown[82.44.136.78], sasl_method=PLAIN, sasl_username=cams@domain.com
May 26 16:17:11 nethserver rspamd[31036]: <5af356>; milter; rspamd_milter_process_command: got connection from 82.44.136.78:33439
May 26 16:17:11 nethserver postfix/cleanup[13719]: 7B193803E896: message-id=<>
May 26 16:17:12 nethserver rspamd[31036]: <5af356>; proxy; rspamd_mime_part_get_cte: detected missing CTE for part as: 7bit
May 26 16:17:12 nethserver rspamd[31036]: <5af356>; proxy; rspamd_message_parse: loaded message; id: ; queue-id: <7B193803E896>; size: 427416; checksum: <73801dfae9481e1043c32a5b4356da2d>
May 26 16:17:12 nethserver rspamd[31036]: <5af356>; lua; settings.lua:324: apply static settings authenticated (id = 1937017268); authenticated matched
May 26 16:17:12 nethserver rspamd[31036]: <5af356>; proxy; rspamd_mime_text_part_utf8_convert: converted from ISO-8859-1 to UTF-8 inlen: 129, outlen: 129 (129 UTF16 chars)
May 26 16:17:12 nethserver rspamd[31036]: <5af356>; proxy; rspamd_mime_part_detect_language: detected part language: en
May 26 16:17:12 nethserver rspamd[31036]: <5af356>; proxy; rspamd_stat_classifiers_process: skip statistics as SPAM class is missing
May 26 16:17:12 nethserver rspamd[31036]: <5af356>; proxy; rspamd_task_write_log: id: , qid: <7B193803E896>, ip: 82.144.36.178, user: cams@domain.com, from: cams@domain.com, (default: F (no action): [1.50/20.00] [MISSING_DATE(1.00){},MV_CASE(0.50){},FROM_EQ_ENVFROM(0.00){},FROM_HAS_DN(0.00){},HAS_ATTACHMENT(0.00){},RCPT_COUNT_ONE(0.00){1;},RCVD_COUNT_ZERO(0.00){0;},TO_DN_NONE(0.00){},TO_EQ_FROM(0.00){},TO_MATCH_ENVRCPT_ALL(0.00){}]), len: 427416, time: 40.504ms, dns req: 0, digest: <73801dfae9481e1043c32a5b4356da2d>, rcpts: cams@domain.com, mime_rcpts: cams@domain.com, settings_id: authenticated
May 26 16:17:12 nethserver rspamd[31036]: <5af356>; proxy; rspamd_protocol_http_reply: regexp statistics: 0 pcre regexps scanned, 0 regexps matched, 0 regexps total, 0 regexps cached, 0B scanned using pcre, 0B scanned total
May 26 16:17:12 nethserver opendkim[18328]: 7B193803E896: DKIM-Signature field added (s=default, d=domain.com)
May 26 16:17:12 nethserver postfix/qmgr[30707]: 7B193803E896: from=cams@domain.com, size=427682, nrcpt=1 (queue active)
May 26 16:17:12 nethserver dovecot: lmtp(13334): Connect from local
May 26 16:17:12 nethserver postfix/smtpd[16566]: disconnect from unknown[82.44.136.78]
May 26 16:17:12 nethserver rspamd[31036]: ; proxy; proxy_milter_finish_handler: finished milter connection
May 26 16:17:12 nethserver dovecot: lmtp(cams@domain.com): save: box=cam_11, uid=46471, msgid=, from="cam_11"cams@domain.com, subject=Motion Detection for 192.168.11.11 at 26/05/2020 15:17:07, flags=()
May 26 16:17:12 nethserver dovecot: lmtp(cams@domain.com): qNQ3BegkzV4WNAAAP5xBBA: sieve: msgid=unspecified: stored mail into mailbox ‘cam_11’
May 26 16:17:12 nethserver dovecot: lmtp(13334): Disconnect from local: Successful quit
May 26 16:17:12 nethserver postfix/lmtp[16690]: 7B193803E896: to=cams@domain.com, relay=nethserver.domain.com[/var/run/dovecot/lmtp], delay=0.64, delays=0.59/0/0/0.04, dsn=2.0.0, status=sent (250 2.0.0 cams@domain.com qNQ3BegkzV4WNAAAP5xBBA Saved)
May 26 16:17:12 nethserver postfix/qmgr[30707]: 7B193803E896: removed

What it interest me is when the error occurs, so first reproduce the errors, then post me the lines of the errors; some before, some after

Hello @stephdl,

whenever I Species an email as a spam or a Ham I got email on the root mail address and the logs are following.

May 26 16:39:52 nethserver dovecot: lmtp(3233): Disconnect from local: Successful quit
May 26 16:39:52 nethserver postfix/qmgr[30707]: 5520D808B1B7: removed
May 26 16:40:00 nethserver postfix/pickup[3051]: 11DCA808B1B7: uid=982 from=root@nethserver.domain.com
May 26 16:40:00 nethserver spam-training/hafiz.adnan@domain.com[5242]: Message enqueued as learn_ham
May 26 16:40:00 nethserver postfix/cleanup[25457]: 11DCA808B1B7: message-id=<20200526130949.EGroupware.SZl7Z6oxnDRsL-aJB2HwGrS@ >
May 26 16:40:00 nethserver opendkim[18328]: 11DCA808B1B7: DKIM-Signature field added (s=default, d=domain.com)
May 26 16:40:00 nethserver postfix/qmgr[30707]: 11DCA808B1B7: from=root@nethserver.domain.com, size=15963, nrcpt=1 (queue active)
May 26 16:40:00 nethserver rspamd[31037]: <3dd517>; csession; rspamd_controller_check_password: allow unauthorized connection from a trusted IP 127.0.0.1
May 26 16:40:00 nethserver rspamd[31037]: <3dd517>; csession; rspamd_message_parse: loaded message; id: <20200526130949.EGroupware.SZl7Z6oxnDRsL-aJB2HwGrS@
>; queue-id: ; size: 16274; checksum:
May 26 16:40:00 nethserver rspamd[31037]: <3dd517>; csession; rspamd_mime_part_detect_language: detected part language: en
May 26 16:40:00 nethserver rspamd[31037]: <3dd517>; csession; rspamd_mime_part_detect_language: detected part language: en
May 26 16:40:00 nethserver rspamd[31037]: <3dd517>; csession; rspamd_stat_classifiers_process: skip statistics as SPAM class is missing
May 26 16:40:00 nethserver rspamd[31037]: <3dd517>; csession; rspamd_task_process: learn error: Unknown statistics error, found when storing data on backend; classifier: (null)
May 26 16:40:00 nethserver rspamd[31037]: <3dd517>; csession; rspamd_controller_learn_fin_task: cannot learn <20200526130949.EGroupware.SZl7Z6oxnDRsL-aJB2HwGrS@_>: Unknown statistics error, found when storing data on backend; classifier: (null)
May 26 16:40:00 nethserver postfix/pipe[4908]: 11DCA808B1B7: to=<hafiz.adnan@domain.com+learn_ham@spamtrain.nh>, relay=spamtrain, delay=0.03, delays=0.02/0/0/0.02, dsn=5.3.0, status=bounced (Command died with status 1: “/usr/bin/rspamc”. Command output: Results for file: stdin (0.003 seconds) HTTP error: 500, Unknown statistics error, found when storing data on backend; classifier: (null) )
May 26 16:40:00 nethserver postfix/cleanup[25457]: 19B0FAC3C857: message-id=20200526144000.19B0FAC3C857@nethserver.domain.com
May 26 16:40:00 nethserver postfix/bounce[4910]: 11DCA808B1B7: sender non-delivery notification: 19B0FAC3C857
May 26 16:40:00 nethserver postfix/qmgr[30707]: 19B0FAC3C857: from=<>, size=18913, nrcpt=1 (queue active)
May 26 16:40:00 nethserver postfix/qmgr[30707]: 11DCA808B1B7: removed
May 26 16:40:00 nethserver dovecot: lmtp(3233): Connect from local
May 26 16:40:00 nethserver dovecot: lmtp(root@nethserver.domain.com): save: box=INBOX, uid=1857, msgid=20200526144000.19B0FAC3C857@nethserver.domain.com, from=MAILER-DAEMON@nethserver.domain.com (Mail Delivery System), subject=Undelivered Mail Returned to Sender, flags=()
May 26 16:40:00 nethserver postfix/lmtp[3229]: 19B0FAC3C857: to=root@nethserver.domain.com, relay=nethserver.domain.com[/var/run/dovecot/lmtp], delay=0.02, delays=0.01/0/0/0, dsn=2.0.0, status=sent (250 2.0.0 root@nethserver.domain.com UJ/cBkAqzV6hDAAAP5xBBA Saved)
May 26 16:40:00 nethserver dovecot: lmtp(root@nethserver.domain.com): UJ/cBkAqzV6hDAAAP5xBBA: sieve: msgid=20200526144000.19B0FAC3C857@nethserver.domain.com: stored mail into mailbox ‘INBOX’
May 26 16:40:00 nethserver dovecot: lmtp(3233): Disconnect from local: Successful quit
May 26 16:40:00 nethserver postfix/qmgr[30707]: 19B0FAC3C857: removed

redis is probably down

systemctl status redis-rspamd

show us and try to restart

systemctl restart redis-rspamd

Hi @stephdl,

[root@nethserver log]# systemctl status redis-rspamd
● redis-rspamd.service - Redis persistent key-value database Rspamd
Loaded: loaded (/usr/lib/systemd/system/redis-rspamd.service; static; vendor preset: disabled)
Active: active (running) since Tue 2020-05-26 16:54:15 CEST; 2s ago
Process: 13043 ExecStop=/usr/libexec/redis-shutdown redis-rspamd (code=exited, status=0/SUCCESS)
Main PID: 13062 (redis-server)
CGroup: /system.slice/redis-rspamd.service
└─13062 /usr/bin/redis-server 127.0.0.1:0

May 26 16:54:15 nethserver.domain.com systemd[1]: Started Redis persistent key-value database Rspamd.
[root@nethserver log]#

the service is down, it restarts permanently, check the 2s ago

try to restart and monitor redis

redis-cli -s /var/run/redis-rspamd/rspamd monitor

keep the terminal opened, try to reproduce the error

But when I check the status of redis-rspamd it shows the following logs.

[root@nethserver log]# systemctl status redis-rspamd
● redis-rspamd.service - Redis persistent key-value database Rspamd
Loaded: loaded (/usr/lib/systemd/system/redis-rspamd.service; static; vendor preset: disabled)
Active: active (running) since Tue 2020-05-26 16:54:15 CEST; 6min ago
Process: 13043 ExecStop=/usr/libexec/redis-shutdown redis-rspamd (code=exited, status=0/SUCCESS)
Main PID: 13062 (redis-server)
CGroup: /system.slice/redis-rspamd.service
└─13062 /usr/bin/redis-server 127.0.0.1:0

May 26 16:54:15 nethserver.domain.com systemd[1]: Started Redis persistent key-value database Rspamd.
[root@nethserver log]#
[root@nethserver log]#

when I run this command I got these logs.

[root@nethserver log]# redis-cli -s /var/run/redis-rspamd/rspamd monitor
OK
1590505365.599706 [0 unix:/var/run/redis-rspamd/rspamd] “GET” “rs_clamav_4f342a61de01a6bfd7b349da369c82e942a43d950ad39d7eb97f700ae1b0b6e960aa9e4698f537b01358e96174346bf6656a7f1bc3dbb901d7f1df882e3a4ec0”
1590505365.635793 [0 unix:/var/run/redis-rspamd/rspamd] “SETEX” “rs_clamav_4f342a61de01a6bfd7b349da369c82e942a43d950ad39d7eb97f700ae1b0b6e960aa9e4698f537b01358e96174346bf6656a7f1bc3dbb901d7f1df882e3a4ec0” “3600” “OK\t1”
1590505365.636916 [0 unix:/var/run/redis-rspamd/rspamd] “LPUSH” “rs_historynethserver.domain.com_zst” “(\xb5/\xfdd\x05\xad\x15\x00\x96\xa9}%\x00\xafh\x8c\xff\xa2<\xb4Md\xc6\xbc/\xae&\xec05\xc1\xb07\xcfn\xd3\xcba\x1cgb\xc2\xe5\xff\xfe\xff\xff\xff\xadp\x00q\x00w\x00\aS_\xc0~\xcc}\xa8\x15\xdf\xeeA\xb0\x1d\xdf\xf9\xf1rL3\x13\x8e\xdb\xf5\xc5/\x9bi\xd8\x17\x05p\b\xf9\xef\xb5]\xd4\x10\x88^\xf4\b\xa2\a\xb6W\x9a#\x05\xb5\x19\xec\x9fi\xe7\xd0\x00\xdb+\xad1g\x13\xb7s4\b\x1c\x02\x0c\xd8nA\xbf]\xd7;\x9d\x0c\xdf)\xb3\x95\x98\xac\xe0\xab\x9c\r;\xcb\xf5#\xf6\xcb\xfa\xb7\xf3\xc7\xc8\x0b\xec\xcb\xb3\x8cJ||\xda\x17\x01\xd2\xb1v\xb9\x86\xfatJ\xbb\xb6\xbd\xc4\x1c\xfau\x03\xec\xb7\x97\xe6\xecV\x94\bC\xb4\xa8\x85\xea\x11!\x96\a\xa5\xdd\xe6yv1\xae\xb1.\x9bW\xf9\xcd\xb1\xfc\xef\xf8\xbad\xab\x17K\xdeTQ$\x16*\x12\x15\"q\xaa(\x92v\x9b\xa7\x1dl\xaf\xd2\xb6k\bK\xffimO\x9bgy\xb5\xa9a\xdbKsF\xf1|\xbf\xda=\x93\xe2\xec\xb5/G,\t\x12\r\xa8\x83J%o\xa9\xcc\xf6N\x8b\x8aL\x93\x87dYR\xacH\x93v\x1blfY1\x18\t\x01A\x8aV\xc2\x83b\xa1"q\xf2\xb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:/var/run/redis-rspamd/rspamd] “LTRIM” “rs_historynethserver.domain.com_zst” “0” “1999”
1590505365.637148 [0 unix:/var/run/redis-rspamd/rspamd] “SADD” “rs_history” “rs_historynethserver.domain.com_zst”
1590505379.619123 [0 unix:/var/run/redis-rspamd/rspamd] “GET” “rs_clamav_1c6f580d831d2466874ec029500bad3a2817d0c5c0cd69144d841f93392da787cab9bb91de9fc481b5297b1b03246ec74a0189fd66dd40d8d6c6a0a7eb78f895”
1590505379.679529 [0 unix:/var/run/redis-rspamd/rspamd] “SETEX” “rs_clamav_1c6f580d831d2466874ec029500bad3a2817d0c5c0cd69144d841f93392da787cab9bb91de9fc481b5297b1b03246ec74a0189fd66dd40d8d6c6a0a7eb78f895” “3600” “OK\t1”
1590505379.680819 [0 unix:/var/run/redis-rspamd/rspamd] “LPUSH” “rs_historynethserver.domain.com_zst” “(\xb5/\xfdd\x05\xad\x15\x00\x96\xa9}%\x00\xafh\x8c\xbfb\xbe\xe4\xaa\xe4k\xc6;W\xa2~\x98\x9a\xd8\x9b\xa71\xc1\xd0A\x12gb\xc2\xe5\xff\xfe\xff\xff\xff\xadp\x00q\x00w\x00\x06S_\xc0\xfe\xccu\xa8\x15\xdf\xeeA\xb0\x1d\xdf\xf9\xf1rL5\x12\x8e\xdb5\xc6/\xabi\xd8\x17\x05\xf0\a\xf9\xef\xb5\x1dd@\xa0\xf1\x1a\x0f\xd2x{\xa59RP\xab\xc1\xfe\x9av\r\x0c\xb0\xbd\xd2\x1as6q\xbb\a\xe3A \x0e\xd8nA\xbf]\xd7;\x9d\x0c\xdf)\xb3\x95\x99\x8c\xe0\xab\x9c\r;\xcb\xf5#\xf6\xcb\xfa\xb7\xf3\xcfH\x0c\xec\xcb\xb3\x8cF||\xda\x17\x01\xd2\xb1v\xf9\x04\xf5\xe9\x95vm{\x895\xf4k\x06\xd8o/\xcd\xd9\xad*\xd2B\xb4(\x85*\x12%\x97H\xa5\xdd\xe6yv3>a]6\xaf\xf2\x9bc\xf9\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\xea\x94\x11\x99\xa3;\xac\xde\xd3\xd6\xea\xcb\xa0\x03\xe9\x7f\xc6\x81\xfc\b\x94\x8b\xeex<x/\xf2N\x1dj2n\x92g6K~>\xd9\xef\"\xd8G\xee$/n\x024\x81\x02\x9b\xe9\t\xcdg\x11\x02y\xfd\xbf\xccc\xd47\xe1\b\xfcM\x9b\xe8d*\x83\x10FUI\xd5\x9f\xa8\xaaS\x01" 1590505379.681116 [0 unix:/var/run/redis-rspamd/rspamd] "LTRIM" "rs_historynethserver.domain.com_zst" "0" "1999" 1590505379.681132 [0 unix:/var/run/redis-rspamd/rspamd] "SADD" "rs_history" "rs_historynethserver.domain.com_zst" 1590505381.350397 [0 unix:/var/run/redis-rspamd/rspamd] "LPUSH" "rs_historynethserver.domain.com_zst" "(\xb5/\xfde\x06E\x1a\x00\x862\x9d7Pi\xdb\x0003333\x15\xa7B\x1d\xb1\x99\x83\xa6c-)()\xb98\xa1\xe6\xa7%b\x18\x8ak\xa6\xb6\xb6\xf5/[\x9a\x9aPT\xe1\xc0 C\x93\xdc|\xde\xff\xcc\xcc\xd4\x19\x8c\x00\x8a\x00\x8e\x00\rIb0\x1cO\x03\x02\xc2\xc1I\xcf\x02\x12\xe0\xc0\xf0\xc0L\xdf\xa2\x9f\xfd\xf9%\x15^A\xc4\xf8\xa7\xb7\xc7a\x01r\x90\x13\x00=\xcf\x7f\xca\x0c\x1bH\x8a\xf1\xe6\x94A\xa5\x13\x14\xe3\xcf\xefc\x8c7\x04\xb7Z1\xd3\x98\xd9\x87\xfb\x9a\x9f\xce\xe7,N?\xf0\xfc\xa7\x9c0[\xebzkh\x80\x18\x8b\xe7\xef@bo>\xab\xe5XL\xbd\n\xfeF\x0b\xcbY|\xec\xb3\xcfO\x1f&\x1c\xcd\xbd\x11\xf3\xe76O\x0c\xef_\xf4\xb1\xb7\xc7YL\xf0\xfczk\xe5\x04\x86XzE\xb9q|8\xe7\xdc\xe3DL\x15d0L\x96\b\x02N\x14\x84z[\xb3\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8a\xa8\x89\x82P\xed\xe0\x8c\x13N\xa8\x91\x153\x00F\x00\x00\x01\x0c\r\x01\x00\x10v@B\x00\xa0\x90z\x12\x10\x80\xf18\x06.\x19J\xc0\x18s\xc6X0\xf9(\xd9j\xb9B\xf8?Q0\xf0\xab\xfb\x1b\xbb\x19v\xffg\x8a<x\xdd\x98\x91\xed\xec.\xa6T|3\x96\xdb\x85\xa4\xb6\x9e\x94W\x88\xbb4\x00\xbd[\xaa\xc1\x836;@\xf2\xbbS3\x05I\x85\xcb\xba\x87\xe7\xd2\xfa\x1c\xd6\x1f8\xac2d\xaa\xc5 n\xc0U\xbe\xca\xfa\xde8>x\xf0-\xb7N8\x7fc\xe8\xc2P\x85\x15\b\xdfMy\x90\xe3r\xf1]\xef\xa1$\xfbA\x06\x96mx\xf5\xc6G\xe9v\xf5+\xbc\xca+\x10\x14\x8c\xa1\x19D=\x8e 4\xd9\x1b(|\x06W \xda\xfc.a\xffY\x82\xe0d\xef\x7f;\x1e\xccB\xf3\xf9\x9bcZlg\xd3\b)[\xcb;\x15”
1590505381.350617 [0 unix:/var/run/redis-rspamd/rspamd] “LTRIM” “rs_historynethserver.domain.com_zst” “0” “1999”
1590505381.350634 [0 unix:/var/run/redis-rspamd/rspamd] “SADD” “rs_history” “rs_historynethserver.domain.com_zst”
1590505385.816082 [0 unix:/var/run/redis-rspamd/rspamd] “GET” “fuzzy_count”

don’t know I just read what you posted

did you restart redis-rspamd ?

yes I restarted the redis server

And ?

Hello @stephdl,

the problem is still there, as soon as I mark an email as spam i got an email on the root mail address

rpm -qa rspamd

rspamd-2.2-1.x86_64

We run 2.4 on stable you are in late, Upgrade and after we talk

How I can upgrade to 2.4?