[Release] Rspamd web interface plugin for DirectAdmin - v0.1

zEitEr

Super Moderator
Joined
Apr 11, 2005
Messages
13,818
Location
GMT +7.00
Rspamd crashes randomly on access Symbols and rules in Web-UI.

It was noticed the tab "Symbols" does not load sometimes (on CentOS at least, Debian/Ubuntu unknown). It starts loading though after Rspamd reload/restart, and might stop opening again after a while.

Rspamd crashes randomly on access Symbols and rules in Web-UI:

Code:
reason:         rspamd killed by SIGABRT
cmdline:        'rspamd: controller process (localhost:11334)' ''
executable:     /usr/bin/rspamd
package:        rspamd-1.9.2-1
component:      rspamd
Affected versions: at least 1.9.2 through 1.9.4 (experimental).

The bug was already reported. And I hope Vsevolod (the author of the Rspamd) will fix it soon.
 

zEitEr

Super Moderator
Joined
Apr 11, 2005
Messages
13,818
Location
GMT +7.00
Brent,

Thanks for your feedback.

@all,

segfaults mentioned in the post #21 have been already fixed by the author of Rspamd. It's running fine with experimental version 2.x as well.

Rspamd 2.x:

For those who runs the version 2.x, they switched to Redis for collecting stats, it used to be sqlite in the version 1.9.x. This change might produce unexpected errors when teaching emails as SPAM or HAM in the WebUI. Here is a possible fix:

Upload the following content into /etc/rspamd/local.d/statistic.conf and restart rspamd:

Code:
# Please don't modify this file as your changes might be overwritten with
# the next update.
#
# You can modify '$LOCAL_CONFDIR/rspamd.conf.local.override' to redefine
# parameters defined on the top level
#
# You can modify '$LOCAL_CONFDIR/rspamd.conf.local' to add
# parameters defined on the top level
#
# For specific modules or configuration you can also modify
# '$LOCAL_CONFDIR/local.d/file.conf' - to add your options or rewrite defaults
# '$LOCAL_CONFDIR/override.d/file.conf' - to override the defaults
#
# See https://rspamd.com/doc/tutorials/writing_rules.html for details


# Rspamd statistic setup
# Pre-built files could be loaded from:
# http://rspamd.com/rspamd_statistics/bayes.spam.sqlite
#  - and -
# http://rspamd.com/rspamd_statistics/bayes.ham.sqlite


classifier "bayes" {
  tokenizer {
    name = "osb";
  }
  cache {
    path = "${DBDIR}/learn_cache.sqlite";
  }
  min_tokens = 11;
  backend = "sqlite3";
  languages_enabled = true;
  min_learns = 200;


  statfile {
    symbol = "BAYES_HAM";
    path = "${DBDIR}/bayes.ham.sqlite";
    spam = false;
  }
  statfile {
    symbol = "BAYES_SPAM";
    path = "${DBDIR}/bayes.spam.sqlite";
    spam = true;
  }
  learn_condition =<<EOD
return function(task, is_spam, is_unlearn)
  local learn_type = task:get_request_header('Learn-Type')


  if not (learn_type and tostring(learn_type) == 'bulk') then
    local prob = task:get_mempool():get_variable('bayes_prob', 'double')


    if prob then
      local in_class = false
      local cl
      if is_spam then
        cl = 'spam'
        in_class = prob >= 0.95
      else
        cl = 'ham'
        in_class = prob <= 0.05
      end


      if in_class then
        return false,string.format('already in class %s; probability %.2f%%',
          cl, math.abs((prob - 0.5) * 200.0))
      end
    end
  end


  return true
end
EOD


}
This is a version of the config for 1.9.x with a slight modification, and will make rspamd to use sqlite.
If you want to use redis with rspamd additional steps are required.
 

rotame

Verified User
Joined
Jul 4, 2019
Messages
49
Gui doesnt update

GUI not updated and dont show any value from log I see below messages :

Any idea why GUI dont have values ?

2019-07-13 20:02:32 #16356(controller) <6z9394>; monitored; rspamd_monitored_propagate_error: servfail on resolving zen.spamhaus.org, disable object
2019-07-13 20:02:32 #16356(controller) <qxh73k>; cfg; rspamd_worker_monitored_on_change: broadcast monitored update for 6z9394opuqz6b719qg8kddejskgj9nm: dead
2019-07-13 20:02:32 #16364(normal) <qxh73k>; cfg; rspamd_worker_monitored_handler: updated monitored status for 6z9394opuqz6b719qg8kddejskgj9nm: dead
2019-07-13 20:02:34 #16356(controller) <c9hxbz>; monitored; rspamd_monitored_propagate_error: servfail on resolving zen.spamhaus.org, disable object
2019-07-13 20:02:34 #16356(controller) <qxh73k>; cfg; rspamd_worker_monitored_on_change: broadcast monitored update for c9hxbz89514tetn9pyneggsoqmudkgo: dead
2019-07-13 20:02:34 #16364(normal) <qxh73k>; cfg; rspamd_worker_monitored_handler: updated monitored status for c9hxbz89514tetn9pyneggsoqmudkgo: dead
2019-07-13 20:02:42 #16356(controller) <3nxzfe>; monitored; rspamd_monitored_dns_cb: DNS query blocked on multi.uribl.com (127.0.0.1 returned), possibly due to high volume
2019-07-13 20:02:42 #16356(controller) <3nxzfe>; monitored; rspamd_monitored_propagate_error: invalid return on resolving multi.uribl.com, disable object
2019-07-13 20:02:42 #16356(controller) <qxh73k>; cfg; rspamd_worker_monitored_on_change: broadcast monitored update for 3nxzfegumbi67tq1kjtuupxnd493zxt: dead
2019-07-13 20:02:42 #16364(normal) <qxh73k>; cfg; rspamd_worker_monitored_handler: updated monitored status for 3nxzfegumbi67tq1kjtuupxnd493zxt: dead
2019-07-13 20:02:44 #16356(controller) <syraem>; monitored; rspamd_monitored_propagate_error: servfail on resolving dbl.spamhaus.org, disable object
2019-07-13 20:02:44 #16356(controller) <qxh73k>; cfg; rspamd_worker_monitored_on_change: broadcast monitored update for syraem5byfwozju6egkw6zp94ap9zzk: dead
2019-07-13 20:02:44 #16364(normal) <qxh73k>; cfg; rspamd_worker_monitored_handler: updated monitored status for syraem5byfwozju6egkw6zp94ap9zzk: dead
2019-07-13 20:02:45 #16356(controller) <1ccygw>; monitored; rspamd_monitored_propagate_error: servfail on resolving dwl.dnswl.org, disable object
2019-07-13 20:02:45 #16356(controller) <qxh73k>; cfg; rspamd_worker_monitored_on_change: broadcast monitored update for 1ccygwo8byjjy64p53ed6j3sxizfgnr: dead
2019-07-13 20:02:45 #16364(normal) <qxh73k>; cfg; rspamd_worker_monitored_handler: updated monitored status for 1ccygwo8byjjy64p53ed6j3sxizfgnr: dead
2019-07-13 20:04:05 #16356(controller) <3nxzfe>; monitored; rspamd_monitored_dns_cb: DNS query blocked on multi.uribl.com (127.0.0.1 returned), possibly due to high volume
2019-07-13 20:06:25 #16356(controller) <3nxzfe>; monitored; rspamd_monitored_dns_cb: DNS query blocked on multi.uribl.com (127.0.0.1 returned), possibly due to high volume
2019-07-13 20:13:51 #16356(controller) <3nxzfe>; monitored; rspamd_monitored_dns_cb: DNS query blocked on multi.uribl.com (127.0.0.1 returned), possibly due to high volume
2019-07-13 20:22:09 #16356(controller) <3nxzfe>; monitored; rspamd_monitored_dns_cb: DNS query blocked on multi.uribl.com (127.0.0.1 returned), possibly due to high volume
2019-07-13 23:56:51 #16356(controller) <3nxzfe>; monitored; rspamd_monitored_dns_cb: DNS query blocked on multi.uribl.com (127.0.0.1 returned), possibly due to high volume
2019-07-13 23:56:51 #16356(controller) logger; file_log_function: Last message repeated 22 times
2019-07-13 23:56:51 #16356(controller) <hntukx>; map; http_map_finish: data is not modified for server maps.rspamd.com, next check at Sun, 14 Jul 2019 01:56:51 GMT
2019-07-13 23:56:55 #16356(controller) <xa6qqy>; map; http_map_finish: data is not modified for server rspamd.com, next check at Sun, 14 Jul 2019 01:56:55 GMT
2019-07-13 23:57:04 #16356(controller) <8rmo3c>; map; http_map_finish: data is not modified for server maps.rspamd.com, next check at Sun, 14 Jul 2019 01:57:04 GMT
2019-07-13 23:57:45 #16356(controller) <f61zu5>; map; http_map_finish: data is not modified for server maps.rspamd.com, next check at Sun, 14 Jul 2019 01:57:45 GMT
2019-07-13 23:58:02 #16356(controller) <78wxos>; map; http_map_finish: data is not modified for server maps.rspamd.com, next check at Sun, 14 Jul 2019 01:58:02 GMT
2019-07-13 23:58:36 #16356(controller) <3nxzfe>; monitored; rspamd_monitored_dns_cb: DNS query blocked on multi.uribl.com (127.0.0.1 returned), possibly due to high volume
2019-07-13 23:58:51 #16356(controller) <omc75i>; map; http_map_finish: data is not modified for server maps.rspamd.com, next check at Sun, 14 Jul 2019 01:58:51 GMT
2019-07-13 23:59:25 #16356(controller) <k8f914>; map; http_map_finish: data is not modified for server maps.rspamd.com, next check at Sun, 14 Jul 2019 01:59:25 GMT
2019-07-13 23:59:41 #16356(controller) <u9r7uu>; map; http_map_finish: data is not modified for server maps.rspamd.com, next check at Sun, 14 Jul 2019 01:59:41 GMT
2019-07-14 00:00:45 #16356(controller) <fdp86m>; map; http_map_finish: data is not modified for server maps.rspamd.com, next check at Sun, 14 Jul 2019 02:00:45 GMT
2019-07-14 00:01:08 #16356(controller) <9zc4wc>; map; http_map_finish: data is not modified for server maps.rspamd.com, next check at Sun, 14 Jul 2019 02:01:08 GMT
2019-07-14 00:08:03 #16356(controller) <3nxzfe>; monitored; rspamd_monitored_dns_cb: DNS query blocked on multi.uribl.com (127.0.0.1 returned), possibly due to high volume
2019-07-14 00:19:37 #16356(controller) <3nxzfe>; monitored; rspamd_monitored_dns_cb: DNS query blocked on multi.uribl.com (127.0.0.1 returned), possibly due to high volume
2019-07-14 00:28:18 #16356(controller) <3nxzfe>; monitored; rspamd_monitored_dns_cb: DNS query blocked on multi.uribl.com (127.0.0.1 returned), possibly due to high volume
2019-07-14 00:37:36 #16356(controller) <3nxzfe>; monitored; rspamd_monitored_dns_cb: DNS query blocked on multi.uribl.com (127.0.0.1 returned), possibly due to high volume
2019-07-14 03:56:56 #16356(controller) <3nxzfe>; monitored; rspamd_monitored_dns_cb: DNS query blocked on multi.uribl.com (127.0.0.1 returned), possibly due to high volume
2019-07-14 03:56:56 #16356(controller) logger; file_log_function: Last message repeated 19 times
2019-07-14 03:56:56 #16356(controller) <hntukx>; map; http_map_finish: data is not modified for server maps.rspamd.com, next check at Sun, 14 Jul 2019 05:56:56 GMT
2019-07-14 03:57:08 #16356(controller) <xa6qqy>; map; http_map_finish: data is not modified for server rspamd.com, next check at Sun, 14 Jul 2019 05:57:08 GMT
2019-07-14 03:57:55 #16356(controller) <8rmo3c>; map; http_map_finish: data is not modified for server maps.rspamd.com, next check at Sun, 14 Jul 2019 05:57:55 GMT
2019-07-14 03:59:35 #16356(controller) <78wxos>; map; http_map_finish: data is not modified for server maps.rspamd.com, next check at Sun, 14 Jul 2019 05:59:35 GMT
2019-07-14 03:59:44 #16356(controller) <f61zu5>; map; http_map_finish: data is not modified for server maps.rspamd.com, next check at Sun, 14 Jul 2019 05:59:44 GMT
2019-07-14 04:00:08 #16356(controller) <k8f914>; map; http_map_finish: data is not modified for server maps.rspamd.com, next check at Sun, 14 Jul 2019 06:00:08 GMT
2019-07-14 04:00:45 #16356(controller) <omc75i>; map; http_map_finish: data is not modified for server maps.rspamd.com, next check at Sun, 14 Jul 2019 06:00:45 GMT
2019-07-14 04:01:48 #16356(controller) <fdp86m>; map; http_map_finish: data is not modified for server maps.rspamd.com, next check at Sun, 14 Jul 2019 06:01:48 GMT
2019-07-14 04:04:08 #16356(controller) <3nxzfe>; monitored; rspamd_monitored_dns_cb: DNS query blocked on multi.uribl.com (127.0.0.1 returned), possibly due to high volume
2019-07-14 04:04:10 #16356(controller) <u9r7uu>; map; http_map_finish: data is not modified for server maps.rspamd.com, next check at Sun, 14 Jul 2019 06:04:10 GMT
2019-07-14 04:04:24 #16356(controller) <9zc4wc>; map; http_map_finish: data is not modified for server maps.rspamd.com, next check at Sun, 14 Jul 2019 06:04:24 GMT
2019-07-14 04:13:24 #16356(controller) <3nxzfe>; monitored; rspamd_monitored_dns_cb: DNS query blocked on multi.uribl.com (127.0.0.1 returned), possibly due to high volume
2019-07-14 04:27:30 #16356(controller) <3nxzfe>; monitored; rspamd_monitored_dns_cb: DNS query blocked on multi.uribl.com (127.0.0.1 returned), possibly due to high volume
2019-07-14 04:38:26 #16356(controller) <3nxzfe>; monitored; rspamd_monitored_dns_cb: DNS query blocked on multi.uribl.com (127.0.0.1 returned), possibly due to high volume
2019-07-14 04:54:00 #16356(controller) <3nxzfe>; monitored; rspamd_monitored_dns_cb: DNS query blocked on multi.uribl.com (127.0.0.1 returned), possibly due to high volume
2019-07-14 07:57:22 #16356(controller) <3nxzfe>; monitored; rspamd_monitored_dns_cb: DNS query blocked on multi.uribl.com (127.0.0.1 returned), possibly due to high volume
2019-07-14 07:57:22 #16356(controller) logger; file_log_function: Last message repeated 17 times
2019-07-14 07:57:22 #16356(controller) <hntukx>; map; http_map_finish: data is not modified for server maps.rspamd.com, next check at Sun, 14 Jul 2019 09:57:22 GMT
2019-07-14 07:57:49 #16356(controller) <3nxzfe>; monitored; rspamd_monitored_dns_cb: DNS query blocked on multi.uribl.com (127.0.0.1 returned), possibly due to high volume
2019-07-14 08:01:04 #16356(controller) <f61zu5>; map; http_map_finish: data is not modified for server maps.rspamd.com, next check at Sun, 14 Jul 2019 10:01:04 GMT
2019-07-14 08:01:11 #16356(controller) <xa6qqy>; map; http_map_finish: data is not modified for server rspamd.com, next check at Sun, 14 Jul 2019 10:01:11 GMT
2019-07-14 08:01:42 #16356(controller) <8rmo3c>; map; http_map_finish: data is not modified for server maps.rspamd.com, next check at Sun, 14 Jul 2019 10:01:42 GMT
2019-07-14 08:02:10 #16356(controller) <k8f914>; map; http_map_finish: data is not modified for server maps.rspamd.com, next check at Sun, 14 Jul 2019 10:02:10 GMT
2019-07-14 08:02:22 #16356(controller) <omc75i>; map; http_map_finish: data is not modified for server maps.rspamd.com, next check at Sun, 14 Jul 2019 10:02:22 GMT
2019-07-14 08:04:17 #16356(controller) <78wxos>; map; http_map_finish: data is not modified for server maps.rspamd.com, next check at Sun, 14 Jul 2019 10:04:17 GMT
2019-07-14 08:05:49 #16356(controller) <fdp86m>; map; http_map_finish: data is not modified for server maps.rspamd.com, next check at Sun, 14 Jul 2019 10:05:49 GMT
2019-07-14 08:05:56 #16356(controller) <9zc4wc>; map; http_map_finish: data is not modified for server maps.rspamd.com, next check at Sun, 14 Jul 2019 10:05:56 GMT
2019-07-14 08:07:19 #16356(controller) <u9r7uu>; map; http_map_finish: data is not modified for server maps.rspamd.com, next check at Sun, 14 Jul 2019 10:07:19 GMT
2019-07-14 08:11:12 #16356(controller) <3nxzfe>; monitored; rspamd_monitored_dns_cb: DNS query blocked on multi.uribl.com (127.0.0.1 returned), possibly due to high volume
2019-07-14 08:23:15 #16356(controller) <3nxzfe>; monitored; rspamd_monitored_dns_cb: DNS query blocked on multi.uribl.com (127.0.0.1 returned), possibly due to high volume
2019-07-14 08:34:54 #16356(controller) <3nxzfe>; monitored; rspamd_monitored_dns_cb: DNS query blocked on multi.uribl.com (127.0.0.1 returned), possibly due to high volume
2019-07-14 08:44:39 #16356(controller) <3nxzfe>; monitored; rspamd_monitored_dns_cb: DNS query blocked on multi.uribl.com (127.0.0.1 returned), possibly due to high volume
2019-07-14 12:00:36 #16356(controller) <3nxzfe>; monitored; rspamd_monitored_dns_cb: DNS query blocked on multi.uribl.com (127.0.0.1 returned), possibly due to high volume
2019-07-14 12:00:36 #16356(controller) logger; file_log_function: Last message repeated 19 times
2019-07-14 12:00:36 #16356(controller) <hntukx>; map; http_map_finish: data is not modified for server maps.rspamd.com, next check at Sun, 14 Jul 2019 14:00:36 GMT
2019-07-14 12:03:38 #16356(controller) <k8f914>; map; http_map_finish: data is not modified for server maps.rspamd.com, next check at Sun, 14 Jul 2019 14:03:38 GMT
2019-07-14 12:03:50 #16356(controller) <omc75i>; map; http_map_finish: data is not modified for server maps.rspamd.com, next check at Sun, 14 Jul 2019 14:03:50 GMT
2019-07-14 12:04:14 #16356(controller) <f61zu5>; map; http_map_finish: data is not modified for server maps.rspamd.com, next check at Sun, 14 Jul 2019 14:04:14 GMT
2019-07-14 12:04:18 #16356(controller) <xa6qqy>; map; http_map_finish: data is not modified for server rspamd.com, next check at Sun, 14 Jul 2019 14:04:18 GMT
2019-07-14 12:04:40 #16356(controller) <8rmo3c>; map; http_map_finish: data is not modified for server maps.rspamd.com, next check at Sun, 14 Jul 2019 14:04:40 GMT
2019-07-14 12:04:47 #16356(controller) <78wxos>; map; http_map_finish: data is not modified for server maps.rspamd.com, next check at Sun, 14 Jul 2019 14:04:47 GMT
2019-07-14 12:07:48 #16356(controller) <9zc4wc>; map; http_map_finish: data is not modified for server maps.rspamd.com, next check at Sun, 14 Jul 2019 14:07:48 GMT
2019-07-14 12:08:43 #16356(controller) <u9r7uu>; map; http_map_finish: data is not modified for server maps.rspamd.com, next check at Sun, 14 Jul 2019 14:08:43 GMT
2019-07-14 12:10:44 #16356(controller) <fdp86m>; map; http_map_finish: data is not modified for server maps.rspamd.com, next check at Sun, 14 Jul 2019 14:10:44 GMT
2019-07-14 12:12:19 #16356(controller) <3nxzfe>; monitored; rspamd_monitored_dns_cb: DNS query blocked on multi.uribl.com (127.0.0.1 returned), possibly due to high volume
2019-07-14 12:25:11 #16356(controller) <3nxzfe>; monitored; rspamd_monitored_dns_cb: DNS query blocked on multi.uribl.com (127.0.0.1 returned), possibly due to high volume
2019-07-14 12:34:59 #16356(controller) <3nxzfe>; monitored; rspamd_monitored_dns_cb: DNS query blocked on multi.uribl.com (127.0.0.1 returned), possibly due to high volume
2019-07-14 12:48:01 #16356(controller) <3nxzfe>; monitored; rspamd_monitored_dns_cb: DNS query blocked on multi.uribl.com (127.0.0.1 returned), possibly due to high volume
2019-07-14 16:02:12 #16356(controller) <3nxzfe>; monitored; rspamd_monitored_dns_cb: DNS query blocked on multi.uribl.com (127.0.0.1 returned), possibly due to high volume
2019-07-14 16:02:12 #16356(controller) logger; file_log_function: Last message repeated 17 times
2019-07-14 16:02:12 #16356(controller) <hntukx>; map; http_map_finish: data is not modified for server maps.rspamd.com, next check at Sun, 14 Jul 2019 18:02:12 GMT
2019-07-14 16:03:01 #16356(controller) <3nxzfe>; monitored; rspamd_monitored_dns_cb: DNS query blocked on multi.uribl.com (127.0.0.1 returned), possibly due to high volume
2019-07-14 16:04:46 #16356(controller) <8rmo3c>; map; http_map_finish: data is not modified for server maps.rspamd.com, next check at Sun, 14 Jul 2019 18:04:46 GMT
2019-07-14 16:05:41 #16356(controller) <k8f914>; map; http_map_finish: data is not modified for server maps.rspamd.com, next check at Sun, 14 Jul 2019 18:05:41 GMT
2019-07-14 16:05:51 #16356(controller) <78wxos>; map; http_map_finish: data is not modified for server maps.rspamd.com, next check at Sun, 14 Jul 2019 18:05:51 GMT
2019-07-14 16:06:38 #16356(controller) <omc75i>; map; http_map_finish: data is not modified for server maps.rspamd.com, next check at Sun, 14 Jul 2019 18:06:38 GMT
2019-07-14 16:08:43 #16356(controller) <xa6qqy>; map; http_map_finish: data is not modified for server rspamd.com, next check at Sun, 14 Jul 2019 18:08:43 GMT
2019-07-14 16:08:58 #16356(controller) <f61zu5>; map; http_map_finish: data is not modified for server maps.rspamd.com, next check at Sun, 14 Jul 2019 18:08:58 GMT
2019-07-14 16:10:18 #16356(controller) <9zc4wc>; map; http_map_finish: data is not modified for server maps.rspamd.com, next check at Sun, 14 Jul 2019 18:10:18 GMT
2019-07-14 16:12:03 #16356(controller) <u9r7uu>; map; http_map_finish: data is not modified for server maps.rspamd.com, next check at Sun, 14 Jul 2019 18:12:03 GMT
2019-07-14 16:14:07 #16356(controller) <fdp86m>; map; http_map_finish: data is not modified for server maps.rspamd.com, next check at Sun, 14 Jul 2019 18:14:07 GMT
2019-07-14 16:17:40 #16356(controller) <3nxzfe>; monitored; rspamd_monitored_dns_cb: DNS query blocked on multi.uribl.com (127.0.0.1 returned), possibly due to high volume
2019-07-14 16:27:43 #16356(controller) <3nxzfe>; monitored; rspamd_monitored_dns_cb: DNS query blocked on multi.uribl.com (127.0.0.1 returned), possibly due to high volume
2019-07-14 16:36:15 #16356(controller) <3nxzfe>; monitored; rspamd_monitored_dns_cb: DNS query blocked on multi.uribl.com (127.0.0.1 returned), possibly due to high volume
2019-07-14 16:49:33 #16356(controller) <3nxzfe>; monitored; rspamd_monitored_dns_cb: DNS query blocked on multi.uribl.com (127.0.0.1 returned), possibly due to high volume
2019-07-14 20:06:16 #16356(controller) <3nxzfe>; monitored; rspamd_monitored_dns_cb: DNS query blocked on multi.uribl.com (127.0.0.1 returned), possibly due to high volume
2019-07-14 20:06:16 #16356(controller) logger; file_log_function: Last message repeated 19 times
2019-07-14 20:06:16 #16356(controller) <8rmo3c>; map; http_map_finish: data is not modified for server maps.rspamd.com, next check at Sun, 14 Jul 2019 22:06:16 GMT
2019-07-14 20:06:29 #16356(controller) <hntukx>; map; http_map_finish: data is not modified for server maps.rspamd.com, next check at Sun, 14 Jul 2019 22:06:29 GMT
2019-07-14 20:07:10 #16356(controller) <3nxzfe>; monitored; rspamd_monitored_dns_cb: DNS query blocked on multi.uribl.com (127.0.0.1 returned), possibly due to high volume
2019-07-14 20:09:15 #16356(controller) <f61zu5>; map; http_map_finish: data is not modified for server maps.rspamd.com, next check at Sun, 14 Jul 2019 22:09:15 GMT
2019-07-14 20:09:18 #16356(controller) <78wxos>; map; http_map_finish: data is not modified for server maps.rspamd.com, next check at Sun, 14 Jul 2019 22:09:18 GMT
2019-07-14 20:09:19 #16356(controller) <k8f914>; map; http_map_finish: data is not modified for server maps.rspamd.com, next check at Sun, 14 Jul 2019 22:09:19 GMT
2019-07-14 20:09:30 #16356(controller) <omc75i>; map; http_map_finish: data is not modified for server maps.rspamd.com, next check at Sun, 14 Jul 2019 22:09:30 GMT
2019-07-14 20:12:06 #16356(controller) <xa6qqy>; map; http_map_finish: data is not modified for server rspamd.com, next check at Sun, 14 Jul 2019 22:12:06 GMT
2019-07-14 20:12:34 #16356(controller) <u9r7uu>; map; http_map_finish: data is not modified for server maps.rspamd.com, next check at Sun, 14 Jul 2019 22:12:34 GMT
2019-07-14 20:13:23 #16356(controller) <9zc4wc>; map; http_map_finish: data is not modified for server maps.rspamd.com, next check at Sun, 14 Jul 2019 22:13:23 GMT
2019-07-14 20:15:11 #16356(controller) <fdp86m>; map; http_map_finish: data is not modified for server maps.rspamd.com, next check at Sun, 14 Jul 2019 22:15:11 GMT
2019-07-14 20:20:02 #16356(controller) <3nxzfe>; monitored; rspamd_monitored_dns_cb: DNS query blocked on multi.uribl.com (127.0.0.1 returned), possibly due to high volume
2019-07-14 20:33:45 #16356(controller) <3nxzfe>; monitored; rspamd_monitored_dns_cb: DNS query blocked on multi.uribl.com (127.0.0.1 returned), possibly due to high volume
2019-07-14 20:42:48 #16356(controller) <3nxzfe>; monitored; rspamd_monitored_dns_cb: DNS query blocked on multi.uribl.com (127.0.0.1 returned), possibly due to high volume
2019-07-14 20:43:52 #16356(controller) <fce79c>; csession; rspamd_controller_check_forwarded: allow unauthorized proxied connection from a trusted IP 127.0.0.1 via 127.0.0.1
2019-07-14 20:43:52 #16356(controller) <fce79c>; csession; fuzzy_check_io_callback: got error on IO with server fuzzy1.rspamd.com(88.99.142.95:11335), on write, 1, Operation not permitted
2019-07-14 20:43:53 #16356(controller) <3d31e0>; csession; rspamd_controller_check_forwarded: allow unauthorized proxied connection from a trusted IP 127.0.0.1 via 127.0.0.1
2019-07-14 20:43:53 #16356(controller) <c3bb0d>; csession; rspamd_controller_check_forwarded: allow unauthorized proxied connection from a trusted IP 127.0.0.1 via 127.0.0.1
2019-07-14 20:43:53 #16356(controller) <7763c9>; csession; rspamd_controller_check_forwarded: allow unauthorized proxied connection from a trusted IP 127.0.0.1 via 127.0.0.1
2019-07-14 20:43:53 #16356(controller) <b8e709>; csession; rspamd_controller_check_forwarded: allow unauthorized proxied connection from a trusted IP 127.0.0.1 via 127.0.0.1
2019-07-14 20:58:08 #16356(controller) <0ba2c7>; csession; rspamd_controller_check_forwarded: allow unauthorized proxied connection from a trusted IP 127.0.0.1 via 127.0.0.1
2019-07-14 20:58:08 #16356(controller) logger; file_log_function: Last message repeated 5 times
2019-07-14 20:58:08 #16356(controller) <3nxzfe>; monitored; rspamd_monitored_dns_cb: DNS query blocked on multi.uribl.com (127.0.0.1 returned), possibly due to high volume
 

bdacus01

Verified User
Joined
Jul 22, 2017
Messages
362
Location
Murfreesboro
Brent,

Thanks for your feedback.

@all,

segfaults mentioned in the post #21 have been already fixed by the author of Rspamd. It's running fine with experimental version 2.x as well.
I have
Code:
rspamd -v
Rspamd daemon version 1.9.4

CB will keep this up to date as long as I have Cron set? Correct?
 

M7Web

Verified User
Joined
Jul 13, 2019
Messages
91
Does the end user have access to any interface to manage spam quarantine?
 

bdacus01

Verified User
Joined
Jul 22, 2017
Messages
362
Location
Murfreesboro
Does the end user have access to any interface to manage spam quarantine?
In the User panel they choose what to do with spam.
Where do you want the spam to go?
Inbox (don't block it)
Redirect it to the catch-all spam folder in your main IMAP account
Send the spam to the user's spam folder
Delete the spam
There is also a place for them to choose to delete the spam.

Would you like to delete high scoring spam?Yes, block all spam scoring higher than:
15
No, do not block high scoring spam. Use only the threshold in the previous section.
 
Last edited:

zEitEr

Super Moderator
Joined
Apr 11, 2005
Messages
13,818
Location
GMT +7.00
GUI not updated and dont show any value from log I see below messages :

Any idea why GUI dont have values ?

Check a browser console for possible JavaScript and other kind errors, and report them here
 

rotame

Verified User
Joined
Jul 4, 2019
Messages
49
JS errors :

d3pie error: no data supplied.
DevTools failed to parse SourceMap: https://ns2.myhost.gr:2222/CMD_PLUGINS_ADMIN/rspamd/bootstrap.min.css.map.raw



js.raw?r=lib/d3pie.min.js:9 d3pie error: no data supplied.
initialCheck @ js.raw?r=lib/d3pie.min.js:9
c.recreate @ js.raw?r=lib/d3pie.min.js:9
c.updateProp @ js.raw?r=lib/d3pie.min.js:9
ui.drawPie @ js.raw?r=lib/../app/rspamd.js:376
getChart @ js.raw?r=lib/../app/stats.js:169
success @ js.raw?r=lib/../app/stats.js:220
complete @ js.raw?r=lib/../app/rspamd.js:243
u @ js.raw?r=lib/jquery-3.3.1.min.js:2
fireWith @ js.raw?r=lib/jquery-3.3.1.min.js:2
k @ js.raw?r=lib/jquery-3.3.1.min.js:2
(anonymous) @ js.raw?r=lib/jquery-3.3.1.min.js:2
load (async)
send @ js.raw?r=lib/jquery-3.3.1.min.js:2
ajax @ js.raw?r=lib/jquery-3.3.1.min.js:2
queryServer @ js.raw?r=lib/../app/rspamd.js:263
(anonymous) @ js.raw?r=lib/../app/rspamd.js:524
each @ js.raw?r=lib/jquery-3.3.1.min.js:2
success @ js.raw?r=lib/../app/rspamd.js:523
complete @ js.raw?r=lib/../app/rspamd.js:243
u @ js.raw?r=lib/jquery-3.3.1.min.js:2
fireWith @ js.raw?r=lib/jquery-3.3.1.min.js:2
k @ js.raw?r=lib/jquery-3.3.1.min.js:2
(anonymous) @ js.raw?r=lib/jquery-3.3.1.min.js:2
load (async)
send @ js.raw?r=lib/jquery-3.3.1.min.js:2
ajax @ js.raw?r=lib/jquery-3.3.1.min.js:2
queryServer @ js.raw?r=lib/../app/rspamd.js:263
ui.query @ js.raw?r=lib/../app/rspamd.js:502
statWidgets @ js.raw?r=lib/../app/stats.js:174
(anonymous) @ js.raw?r=lib/../app/rspamd.js:90
a @ js.raw?r=lib/visibility.min.js:5
setInterval (async)
t._run @ js.raw?r=lib/visibility.min.js:5
t.every @ js.raw?r=lib/visibility.min.js:5
tabClick @ js.raw?r=lib/../app/rspamd.js:89
(anonymous) @ js.raw?r=lib/../app/rspamd.js:289
dispatch @ js.raw?r=lib/jquery-3.3.1.min.js:2
y.handle @ js.raw?r=lib/jquery-3.3.1.min.js:2
trigger @ js.raw?r=lib/jquery-3.3.1.min.js:2
(anonymous) @ js.raw?r=lib/jquery-3.3.1.min.js:2
each @ js.raw?r=lib/jquery-3.3.1.min.js:2
each @ js.raw?r=lib/jquery-3.3.1.min.js:2
trigger @ js.raw?r=lib/jquery-3.3.1.min.js:2
(anonymous) @ js.raw?r=lib/bootstrap.min.js:7
f @ js.raw?r=lib/bootstrap.min.js:7
c.activate @ js.raw?r=lib/bootstrap.min.js:7
c.show @ js.raw?r=lib/bootstrap.min.js:7
(anonymous) @ js.raw?r=lib/bootstrap.min.js:7
each @ js.raw?r=lib/jquery-3.3.1.min.js:2
each @ js.raw?r=lib/jquery-3.3.1.min.js:2
b @ js.raw?r=lib/bootstrap.min.js:7
t @ js.raw?r=lib/jquery.stickytabs.min.js:9
c.fn.stickyTabs @ js.raw?r=lib/jquery.stickytabs.min.js:9
displayUI @ js.raw?r=lib/../app/rspamd.js:172
success @ js.raw?r=lib/../app/rspamd.js:323
u @ js.raw?r=lib/jquery-3.3.1.min.js:2
fireWith @ js.raw?r=lib/jquery-3.3.1.min.js:2
k @ js.raw?r=lib/jquery-3.3.1.min.js:2
(anonymous) @ js.raw?r=lib/jquery-3.3.1.min.js:2
send @ js.raw?r=lib/jquery-3.3.1.min.js:2
ajax @ js.raw?r=lib/jquery-3.3.1.min.js:2
ui.connect @ js.raw?r=lib/../app/rspamd.js:318
(anonymous) @ js.raw?r=main.js:57
execCb @ js.raw?r=lib/require.min.js:5
check @ js.raw?r=lib/require.min.js:5
(anonymous) @ js.raw?r=lib/require.min.js:5
(anonymous) @ js.raw?r=lib/require.min.js:5
(anonymous) @ js.raw?r=lib/require.min.js:5
each @ js.raw?r=lib/require.min.js:5
emit @ js.raw?r=lib/require.min.js:5
check @ js.raw?r=lib/require.min.js:5
(anonymous) @ js.raw?r=lib/require.min.js:5
(anonymous) @ js.raw?r=lib/require.min.js:5
(anonymous) @ js.raw?r=lib/require.min.js:5
each @ js.raw?r=lib/require.min.js:5
emit @ js.raw?r=lib/require.min.js:5
check @ js.raw?r=lib/require.min.js:5
(anonymous) @ js.raw?r=lib/require.min.js:5
(anonymous) @ js.raw?r=lib/require.min.js:5
(anonymous) @ js.raw?r=lib/require.min.js:5
each @ js.raw?r=lib/require.min.js:5
emit @ js.raw?r=lib/require.min.js:5
check @ js.raw?r=lib/require.min.js:5
enable @ js.raw?r=lib/require.min.js:5
init @ js.raw?r=lib/require.min.js:5
h @ js.raw?r=lib/require.min.js:5
completeLoad @ js.raw?r=lib/require.min.js:5
onScriptLoad @ js.raw?r=lib/require.min.js:5
load (async)
send @ js.raw?r=lib/jquery-3.3.1.min.js:2
ajax @ js.raw?r=lib/jquery-3.3.1.min.js:2
ui.connect @ js.raw?r=lib/../app/rspamd.js:318
(anonymous) @ js.raw?r=main.js:57
execCb @ js.raw?r=lib/require.min.js:5
check @ js.raw?r=lib/require.min.js:5
(anonymous) @ js.raw?r=lib/require.min.js:5
(anonymous) @ js.raw?r=lib/require.min.js:5
(anonymous) @ js.raw?r=lib/require.min.js:5
each @ js.raw?r=lib/require.min.js:5
emit @ js.raw?r=lib/require.min.js:5
check @ js.raw?r=lib/require.min.js:5
(anonymous) @ js.raw?r=lib/require.min.js:5
(anonymous) @ js.raw?r=lib/require.min.js:5
(anonymous) @ js.raw?r=lib/require.min.js:5
each @ js.raw?r=lib/require.min.js:5
emit @ js.raw?r=lib/require.min.js:5
check @ js.raw?r=lib/require.min.js:5
(anonymous) @ js.raw?r=lib/require.min.js:5
(anonymous) @ js.raw?r=lib/require.min.js:5
(anonymous) @ js.raw?r=lib/require.min.js:5
each @ js.raw?r=lib/require.min.js:5
emit @ js.raw?r=lib/require.min.js:5
check @ js.raw?r=lib/require.min.js:5
enable @ js.raw?r=lib/require.min.js:5
init @ js.raw?r=lib/require.min.js:5
h @ js.raw?r=lib/require.min.js:5
completeLoad @ js.raw?r=lib/require.min.js:5
onScriptLoad @ js.raw?r=lib/require.min.js:5
Show 55 more frames
 

chrismfz

Verified User
Joined
Jul 3, 2019
Messages
16
user training

I don't know if it is web interface related but,

If a user receives a normal e-mail to spam folder or vice versa, a spam in inbox,
is there a way the user to "train" it (Forwarding it somewhere, moving it in a different folder, user interface) ?

Or only an admin could do it from admin rspamd gui ?
 

zEitEr

Super Moderator
Joined
Apr 11, 2005
Messages
13,818
Location
GMT +7.00
suggestion, can we change the menu URL from
You can try and change the link in the following files:

- /usr/local/directadmin/plugins/rspamd/hooks/admin_img.html
- /usr/local/directadmin/plugins/rspamd/hooks/admin_txt.html
 
Top