Problem with directadmin rspamd filter.

kapaweb

Verified User
Joined
Apr 22, 2021
Messages
27
Hello!
I tried rspamd but it does not seem to be scanning emails. Do I need to make any additional settings?

Thank you!
 

Attachments

  • rspamd.JPG
    rspamd.JPG
    90 KB · Views: 253
I activated it today and sent some spam emails to my email account but it neither stop them nor recorded them.
Thank you!
 
Your screenshot was taken a minute after you installed RSpamd so you should give it some time before it can display something there. You can also have a look at the history tab there to see what it is doing exactly. Sending spam from your own account to yourself probably isn't the best way to test this.
 
Hello,
Unfortunately after 11 hours it`s the problem still exists!
Rspamd not working. Not filter any mail.
 

Attachments

  • rspamd.JPG
    rspamd.JPG
    119.5 KB · Views: 147
Did you go in the spam setting in the user area and turn it on? If the Blue button sys enable its off.
1619137856038.png
 
Yes, first I install spamassassin and after I install Rspamd with that commands

cd /usr/local/directadmin/custombuild
./build update
./build set spamd rspamd
./build rspamd
./build exim_conf
 
Hello,
not working. The logs n the maillog file it`s only that from yesterday

# cat maillog |grep spamd
Apr 22 10:56:49 web spamd[5933]: logger: removing stderr method
Apr 22 10:56:50 web spamd[5936]: util: setuid: ruid=0 euid=0 rgid=0 egid=0
Apr 22 10:56:51 web spamd[5935]: spamd: server started on IO::Socket::IP [127.0.0.1]:783 (running version 3.4.6)
Apr 22 10:56:51 web spamd[5935]: spamd: server pid: 5935
Apr 22 10:56:51 web spamd[5935]: spamd: server successfully spawned child process, pid 5938
Apr 22 10:56:51 web spamd[5935]: spamd: server successfully spawned child process, pid 5939
Apr 22 10:56:51 web spamd[5935]: prefork: child states: SI
Apr 22 10:56:51 web spamd[5935]: prefork: child states: II
Apr 22 12:54:54 web spamd[309]: logger: removing stderr method
Apr 22 12:54:58 web spamd[311]: razor2: razor2 check failed: Connection refused razor2: razor2 had unknown error during get_server_info at /usr/share/perl5/Mail/SpamAssassin/Plugin/Razor2.pm line 186. at /usr/share/perl5/Mail/SpamAssassin/Plugin/Razor2.pm line 329.
Apr 22 12:54:58 web spamd[315]: util: setuid: ruid=0 euid=0 rgid=0 egid=0
Apr 22 12:54:59 web spamd[311]: internal error, python traceback seen in response: Traceback (most recent call last):\n File "/usr/bin/pyzor", line 8, in <module>\n pyzor.client.run()\n File "/usr/lib/python2.7/site-packages/pyzor/client.py", line 1022, in run\n ExecCall().run()\n File "/usr/lib/python2.7/site-packages/pyzor/client.py", line 205, in run\n if not apply(dispatch, (self, args)):\n File "/usr/lib/python2.7/site-packages/pyzor/client.py", line 285, in check\n runner.run(server, (digest, server))\n File "/usr/lib/python2.7/site-packages/pyzor/client.py", line 813, in run\n response = apply(self.routine, varargs, kwargs)\n File "/usr/lib/python2.7/site-packages/pyzor/client.py", line 58, in check\n self.send(msg, address)\n File "/usr/lib/python2.7/site-packages/pyzor/client.py", line 72, in send\n self.socket.sendto(mac_msg_str, 0, address)\nsocket.error: [Errno 1] Operation not permitted at /usr/share/perl5/Mail/SpamAssassin/Plugin/Pyzor.pm line 308.
Apr 22 12:54:59 web spamd[311]: spamd: server started on IO::Socket::IP [127.0.0.1]:783 (running version 3.4.6)
Apr 22 12:54:59 web spamd[311]: spamd: server pid: 311
Apr 22 12:54:59 web spamd[311]: spamd: server successfully spawned child process, pid 317
Apr 22 12:54:59 web spamd[311]: spamd: server successfully spawned child process, pid 318
Apr 22 12:54:59 web spamd[311]: prefork: child states: SI
Apr 22 12:54:59 web spamd[311]: prefork: child states: II
 
# tail -100 /var/log/rspamd/rspamd.log
2021-04-23 16:48:02 #29524(main) <4dego7>; map; rspamd_re_map_finalize: hyperscan read 24 cached regular expressions from static
2021-04-23 16:48:02 #29524(main) <4dego7>; map; rspamd_regexp_list_fin: read regexp list of 24 elements
2021-04-23 16:48:02 #29524(main) <4dego7>; map; read_map_static: static: read map data, 47 bytes
2021-04-23 16:48:02 #29524(main) <4dego7>; map; rspamd_try_load_re_map_cache: loaded hypersan cache from /var/lib/rspamd//3034a0483753f4fd9b1d586eda8b5b7eb0f8352dbdb2fbccd5114fcdecb80cfe.hsmc (5.97KiB length) for static
2021-04-23 16:48:02 #29524(main) <4dego7>; map; rspamd_re_map_finalize: hyperscan read 2 cached regular expressions from static
2021-04-23 16:48:02 #29524(main) <4dego7>; map; rspamd_regexp_list_fin: read regexp list of 2 elements
2021-04-23 16:48:02 #29524(main) <4dego7>; map; read_map_static: static: read map data, 10 bytes
2021-04-23 16:48:02 #29524(main) <4dego7>; map; rspamd_radix_fin: read radix trie of 1 elements: ents=1 dup=0 tbm=0 lc=3 mem=1k free=0 waste=0
2021-04-23 16:48:02 #29524(main) <rm5wp6>; cfg; rspamd_config_register_settings_id: register new settings id 2412369447 (zebsch9_prefs)
2021-04-23 16:48:02 #29524(main) <rm5wp6>; lua; settings.lua:1038: loaded 1 elements of settings
2021-04-23 16:48:02 #29524(main) <4d1f81>; main; reread_config: config has been reread successfully
2021-04-23 16:48:02 #29524(main) <4d1f81>; main; rspamd_hup_handler: spawn workers with a new config
2021-04-23 16:48:02 #29524(main) <4d1f81>; main; spawn_workers: worker of type fuzzy(localhost:11335) is disabled in the config, skip spawning
2021-04-23 16:48:02 #29524(main) <4d1f81>; main; rspamd_fork_worker: prepare to fork process rspamd_proxy (0); listen on: /var/run/rspamd/rspamd_proxy.sock mode=0600 owner=_rspamd
2021-04-23 16:48:02 #29524(main) <4d1f81>; main; rspamd_fork_worker: prepare to fork process controller (0); listen on: /var/run/rspamd/rspamd_controller.sock mode=0600 owner=_rspamd
2021-04-23 16:48:02 #29524(main) <4d1f81>; main; rspamd_fork_worker: prepare to fork process normal (0); listen on: localhost:11333
2021-04-23 16:48:02 #29524(main) <4d1f81>; main; rspamd_fork_worker: prepare to fork process hs_helper (0), no bind socket
2021-04-23 16:48:02 #29524(main) <4d1f81>; main; rspamd_hup_handler: workers spawning has been finished
2021-04-23 16:48:02 #29524(main) <4d1f81>; main; rspamd_hup_handler: kill old workers
2021-04-23 16:48:02 #30121(rspamd_proxy) <4d1f81>; main; rspamd_worker_usr2_handler: worker's shutdown is pending in 16.00 sec
2021-04-23 16:48:02 #29524(main) <4d1f81>; main; kill_old_workers: send signal to worker 30121
2021-04-23 16:48:02 #30122(controller) <4d1f81>; main; rspamd_worker_usr2_handler: worker's shutdown is pending in 16.00 sec
2021-04-23 16:48:02 #29524(main) <4d1f81>; main; kill_old_workers: send signal to worker 30122
2021-04-23 16:48:02 #30123(normal) <4d1f81>; main; rspamd_worker_usr2_handler: worker's shutdown is pending in 16.00 sec
2021-04-23 16:48:02 #29524(main) <4d1f81>; main; kill_old_workers: send signal to worker 30123
2021-04-23 16:48:02 #30124(hs_helper) <4d1f81>; main; rspamd_worker_usr2_handler: worker's shutdown is pending in 0.00 sec
2021-04-23 16:48:02 #29524(main) <4d1f81>; main; kill_old_workers: send signal to worker 30124
2021-04-23 16:48:02 #29524(main) <4d1f81>; main; rspamd_check_termination_clause: hs_helper process 30124 terminated normally
2021-04-23 16:48:02 #29524(main) <4d1f81>; main; rspamd_cld_handler: do not respawn process hs_helper after found terminated process with pid 30124
2021-04-23 16:48:02 #32615(hs_helper) <4d1f81>; main; rspamd_worker_set_limits: use system max file descriptors limit: 1024KiB cur and 1024KiB max
2021-04-23 16:48:02 #32615(hs_helper) <4d1f81>; main; rspamd_worker_set_limits: use system max core size limit: 0B cur and -1B max
2021-04-23 16:48:02 #32615(hs_helper) <4d1f81>; main; rspamd_handle_child_fork: starting hs_helper process 32615 (0); no listen
2021-04-23 16:48:02 #32614(normal) <4d1f81>; main; rspamd_worker_set_limits: use system max file descriptors limit: 1024KiB cur and 1024KiB max
2021-04-23 16:48:02 #32614(normal) <4d1f81>; main; rspamd_worker_set_limits: use system max core size limit: 0B cur and -1B max
2021-04-23 16:48:02 #32614(normal) <4d1f81>; main; rspamd_handle_child_fork: starting normal process 32614 (0); listen on: localhost:11333
2021-04-23 16:48:02 #32614(normal) <rm5wp6>; cfg; rspamd_dns_resolv_conf_on_server: parsed nameserver 213.133.100.100 from resolv.conf
2021-04-23 16:48:02 #32614(normal) <rm5wp6>; cfg; rspamd_dns_resolv_conf_on_server: parsed nameserver 213.133.98.98 from resolv.conf
2021-04-23 16:48:02 #32614(normal) <rm5wp6>; cfg; rspamd_dns_read_hosts_file: processed host file /etc/hosts; 10 records added
2021-04-23 16:48:02 #32614(normal) <rm5wp6>; cfg; rspamd_redis_init: cannot init redis backend for BAYES_SPAM
2021-04-23 16:48:02 #32614(normal) <rm5wp6>; cfg; rspamd_stat_cache_redis_init: cannot init redis cache for BAYES_SPAM
2021-04-23 16:48:02 #32614(normal) <rm5wp6>; cfg; rspamd_stat_init: error adding cache redis for symbol BAYES_SPAM
2021-04-23 16:48:02 #32614(normal) <rm5wp6>; cfg; rspamd_stat_init: cannot init backend redis for statfile BAYES_SPAM
2021-04-23 16:48:02 #32614(normal) <rm5wp6>; cfg; rspamd_redis_init: cannot init redis backend for BAYES_HAM
2021-04-23 16:48:02 #32614(normal) <rm5wp6>; cfg; rspamd_stat_cache_redis_init: cannot init redis cache for BAYES_HAM
2021-04-23 16:48:02 #32614(normal) <rm5wp6>; cfg; rspamd_stat_init: error adding cache redis for symbol BAYES_HAM
2021-04-23 16:48:02 #32614(normal) <rm5wp6>; cfg; rspamd_stat_init: cannot init backend redis for statfile BAYES_HAM
2021-04-23 16:48:02 #32613(controller) <4d1f81>; main; rspamd_worker_set_limits: use system max file descriptors limit: 1024KiB cur and 1024KiB max
2021-04-23 16:48:02 #32613(controller) <4d1f81>; main; rspamd_worker_set_limits: use system max core size limit: 0B cur and -1B max
2021-04-23 16:48:02 #32613(controller) <4d1f81>; main; rspamd_handle_child_fork: starting controller process 32613 (0); listen on: /var/run/rspamd/rspamd_controller.sock mode=0600 owner=_rspamd
2021-04-23 16:48:02 #32613(controller) <rm5wp6>; controller; rspamd_controller_password_sane: your normal password is not encrypted, we strongly recommend to replace it with the encrypted one
2021-04-23 16:48:02 #32613(controller) <rm5wp6>; controller; rspamd_controller_password_sane: enable password is not set, so you should filter controller availability by using of firewall or `secure_ip` option
2021-04-23 16:48:02 #32613(controller) <rm5wp6>; cfg; rspamd_dns_resolv_conf_on_server: parsed nameserver 213.133.100.100 from resolv.conf
2021-04-23 16:48:02 #32613(controller) <rm5wp6>; cfg; rspamd_dns_resolv_conf_on_server: parsed nameserver 213.133.98.98 from resolv.conf
2021-04-23 16:48:02 #32613(controller) <rm5wp6>; cfg; rspamd_dns_read_hosts_file: processed host file /etc/hosts; 10 records added
2021-04-23 16:48:02 #32613(controller) <rm5wp6>; cfg; rspamd_redis_init: cannot init redis backend for BAYES_SPAM
2021-04-23 16:48:02 #32613(controller) <rm5wp6>; cfg; rspamd_stat_cache_redis_init: cannot init redis cache for BAYES_SPAM
2021-04-23 16:48:02 #32613(controller) <rm5wp6>; cfg; rspamd_stat_init: error adding cache redis for symbol BAYES_SPAM
2021-04-23 16:48:02 #32613(controller) <rm5wp6>; cfg; rspamd_stat_init: cannot init backend redis for statfile BAYES_SPAM
2021-04-23 16:48:02 #32613(controller) <rm5wp6>; cfg; rspamd_redis_init: cannot init redis backend for BAYES_HAM
2021-04-23 16:48:02 #32613(controller) <rm5wp6>; cfg; rspamd_stat_cache_redis_init: cannot init redis cache for BAYES_HAM
2021-04-23 16:48:02 #32613(controller) <rm5wp6>; cfg; rspamd_stat_init: error adding cache redis for symbol BAYES_HAM
2021-04-23 16:48:02 #32613(controller) <rm5wp6>; cfg; rspamd_stat_init: cannot init backend redis for statfile BAYES_HAM
2021-04-23 16:48:02 #32613(controller) <3fu4k5>; rrd; rspamd_rrd_open: rrd file opened: /var/lib/rspamd/rspamd.rrd
2021-04-23 16:48:02 #32612(rspamd_proxy) <4d1f81>; main; rspamd_worker_set_limits: use system max file descriptors limit: 1024KiB cur and 1024KiB max
2021-04-23 16:48:02 #32612(rspamd_proxy) <4d1f81>; main; rspamd_worker_set_limits: use system max core size limit: 0B cur and -1B max
2021-04-23 16:48:02 #32612(rspamd_proxy) <4d1f81>; main; rspamd_handle_child_fork: starting rspamd_proxy process 32612 (0); listen on: /var/run/rspamd/rspamd_proxy.sock mode=0600 owner=_rspamd
2021-04-23 16:48:02 #32612(rspamd_proxy) <rm5wp6>; cfg; rspamd_dns_resolv_conf_on_server: parsed nameserver 213.133.100.100 from resolv.conf
2021-04-23 16:48:02 #32612(rspamd_proxy) <rm5wp6>; cfg; rspamd_dns_resolv_conf_on_server: parsed nameserver 213.133.98.98 from resolv.conf
2021-04-23 16:48:02 #32612(rspamd_proxy) <rm5wp6>; cfg; rspamd_dns_read_hosts_file: processed host file /etc/hosts; 10 records added
2021-04-23 16:48:02 #32613(controller) <imhkkk>; monitored; rspamd_monitored_dns_cb: DNS query blocked on multi.uribl.com (127.0.0.1 returned), possibly due to high volume
2021-04-23 16:48:03 #30122(controller) rspamd_controller_on_terminate: closing rrd file: /var/lib/rspamd/rspamd.rrd
2021-04-23 16:48:03 #29524(main) <4d1f81>; main; rspamd_check_termination_clause: rspamd_proxy process 30121 terminated normally
2021-04-23 16:48:03 #29524(main) <4d1f81>; main; rspamd_cld_handler: do not respawn process rspamd_proxy after found terminated process with pid 30121
2021-04-23 16:48:03 #29524(main) <4d1f81>; main; rspamd_check_termination_clause: controller process 30122 terminated normally
2021-04-23 16:48:03 #29524(main) <4d1f81>; main; rspamd_cld_handler: do not respawn process controller after found terminated process with pid 30122
2021-04-23 16:48:03 #29524(main) <4d1f81>; main; rspamd_check_termination_clause: normal process 30123 terminated normally
2021-04-23 16:48:03 #29524(main) <4d1f81>; main; rspamd_cld_handler: do not respawn process normal after found terminated process with pid 30123
2021-04-23 16:48:07 #32615(hs_helper) rspamd_rs_compile_cb: compiled 0 regular expressions to the hyperscan tree, postpone loaded notification for 1 seconds to avoid races
2021-04-23 16:49:01 #32613(controller) <imhkkk>; monitored; rspamd_monitored_dns_cb: DNS query blocked on multi.uribl.com (127.0.0.1 returned), possibly due to high volume
2021-04-23 16:49:16 #32613(controller) <1ccygw>; monitored; rspamd_monitored_propagate_error: servfail on resolving dwl.dnswl.org, disable object
2021-04-23 16:49:16 #32613(controller) <rm5wp6>; cfg; rspamd_worker_monitored_on_change: broadcast monitored update for 1ccygwo8byjjy64p53ed6j3sxizfgnr: dead
2021-04-23 16:49:16 #32614(normal) <rm5wp6>; cfg; rspamd_worker_monitored_handler: updated monitored status for 1ccygwo8byjjy64p53ed6j3sxizfgnr: dead
2021-04-23 16:49:22 #32613(controller) <5a4rsg>; monitored; rspamd_monitored_propagate_error: servfail on resolving bl.blocklist.de, disable object
2021-04-23 16:49:22 #32613(controller) <rm5wp6>; cfg; rspamd_worker_monitored_on_change: broadcast monitored update for 5a4rsg9izzi9xgkw1x4umr6yjsyaoao: dead
2021-04-23 16:49:22 #32614(normal) <rm5wp6>; cfg; rspamd_worker_monitored_handler: updated monitored status for 5a4rsg9izzi9xgkw1x4umr6yjsyaoao: dead
2021-04-23 16:49:26 #32613(controller) <imhkkk>; monitored; rspamd_monitored_dns_cb: DNS query blocked on multi.uribl.com (127.0.0.1 returned), possibly due to high volume
2021-04-23 16:49:28 #32613(controller) <1jqufq>; monitored; rspamd_monitored_propagate_error: servfail on resolving dbl.spamhaus.org, disable object
2021-04-23 16:49:28 #32613(controller) <rm5wp6>; cfg; rspamd_worker_monitored_on_change: broadcast monitored update for 1jqufqqgiuzucy7rfzfco8ji4aw6bph: dead
2021-04-23 16:49:28 #32614(normal) <rm5wp6>; cfg; rspamd_worker_monitored_handler: updated monitored status for 1jqufqqgiuzucy7rfzfco8ji4aw6bph: dead
2021-04-23 16:49:30 #32613(controller) <prfoy8>; monitored; rspamd_monitored_propagate_error: servfail on resolving list.dnswl.org, disable object
2021-04-23 16:49:30 #32613(controller) <rm5wp6>; cfg; rspamd_worker_monitored_on_change: broadcast monitored update for prfoy8xmhfi33r1b3ihzsex76bn8yqq: dead
2021-04-23 16:49:30 #32614(normal) <rm5wp6>; cfg; rspamd_worker_monitored_handler: updated monitored status for prfoy8xmhfi33r1b3ihzsex76bn8yqq: dead
2021-04-23 16:49:34 #32613(controller) <imhkkk>; monitored; rspamd_monitored_dns_cb: DNS query blocked on multi.uribl.com (127.0.0.1 returned), possibly due to high volume
2021-04-23 16:49:34 #32613(controller) <imhkkk>; monitored; rspamd_monitored_propagate_error: invalid return on resolving multi.uribl.com, disable object
2021-04-23 16:49:34 #32613(controller) <rm5wp6>; cfg; rspamd_worker_monitored_on_change: broadcast monitored update for imhkkkzu76dtxr3ajyrpn947zwx9kfa: dead
2021-04-23 16:49:34 #32614(normal) <rm5wp6>; cfg; rspamd_worker_monitored_handler: updated monitored status for imhkkkzu76dtxr3ajyrpn947zwx9kfa: dead
2021-04-23 16:50:35 #32613(controller) <imhkkk>; monitored; rspamd_monitored_dns_cb: DNS query blocked on multi.uribl.com (127.0.0.1 returned), possibly due to high volume
2021-04-23 16:50:43 #32613(controller) <c9hxbz>; monitored; rspamd_monitored_propagate_error: servfail on resolving zen.spamhaus.org, disable object
2021-04-23 16:50:43 #32613(controller) <rm5wp6>; cfg; rspamd_worker_monitored_on_change: broadcast monitored update for c9hxbz89514tetn9pyneggsoqmudkgo: dead
2021-04-23 16:50:43 #32614(normal) <rm5wp6>; cfg; rspamd_worker_monitored_handler: updated monitored status for c9hxbz89514tetn9pyneggsoqmudkgo: dead

Rspamd Installation

# ./build rspamd
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.alpix.eu
* epel: mirror.de.leaseweb.net
* extras: mirror.alpix.eu
* updates: mirror.checkdomain.de
Package rspamd-2.7-42.x86_64 already installed and latest version
Nothing to do
Enabling rspamd in systemd...
Debug mode. Level 10

dataskq: command: action=rewrite&value=rspamd
freeLock: error unlinking /etc/virtual/zebs.ch/filter.lock: No such file or directory
freeLock: error unlinking /etc/virtual/zebs.ch/filter.lock: No such file or directory
Restarting rspamd.
Restarting exim.
CT-169 custombuild# ./build exim_conf
--2021-04-23 16:47:40-- https://files-de.directadmin.com/se...5/exim.conf-SpamBlockerTechnology-v4.5.35.txt
Resolving files-de.directadmin.com (files-de.directadmin.com)... 46.4.143.169, 2a01:4f8:10a:6db::4
Connecting to files-de.directadmin.com (files-de.directadmin.com)|46.4.143.169|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 37501 (37K) [text/plain]
Saving to: '/etc/exim.conf.cb20'

100%[============================================================================================================================>] 37,501 --.-K/s in 0s

2021-04-23 16:47:40 (263 MB/s) - '/etc/exim.conf.cb20' saved [37501/37501]

--2021-04-23 16:47:40-- https://files-de.directadmin.com/services/custombuild/system_filter.exim
Resolving files-de.directadmin.com (files-de.directadmin.com)... 46.4.143.169, 2a01:4f8:10a:6db::4
Connecting to files-de.directadmin.com (files-de.directadmin.com)|46.4.143.169|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 10495 (10K) [application/octet-stream]
Saving to: '/etc/system_filter.exim'

100%[============================================================================================================================>] 10,495 --.-K/s in 0s

2021-04-23 16:47:40 (199 MB/s) - '/etc/system_filter.exim' saved [10495/10495]

--2021-04-23 16:47:40-- https://files-de.directadmin.com/services/SpamBlocker/4.5.35/exim.strings.conf
Resolving files-de.directadmin.com (files-de.directadmin.com)... 46.4.143.169, 2a01:4f8:10a:6db::4
Connecting to files-de.directadmin.com (files-de.directadmin.com)|46.4.143.169|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2076 (2.0K) [application/octet-stream]
Saving to: '/etc/exim.strings.conf.cb20'

100%[============================================================================================================================>] 2,076 --.-K/s in 0s

2021-04-23 16:47:40 (813 MB/s) - '/etc/exim.strings.conf.cb20' saved [2076/2076]

--2021-04-23 16:47:40-- https://files-de.directadmin.com/services/SpamBlocker/4.5.35/exim.variables.conf.default
Resolving files-de.directadmin.com (files-de.directadmin.com)... 46.4.143.169, 2a01:4f8:10a:6db::4
Connecting to files-de.directadmin.com (files-de.directadmin.com)|46.4.143.169|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 941 [application/octet-stream]
Saving to: '/etc/exim.variables.conf.cb20'

100%[============================================================================================================================>] 941 --.-K/s in 0s

2021-04-23 16:47:40 (328 MB/s) - '/etc/exim.variables.conf.cb20' saved [941/941]

--2021-04-23 16:47:41-- https://files-de.directadmin.com/services/exim.pl.31
Resolving files-de.directadmin.com (files-de.directadmin.com)... 46.4.143.169, 2a01:4f8:10a:6db::4
Connecting to files-de.directadmin.com (files-de.directadmin.com)|46.4.143.169|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 19695 (19K) [application/octet-stream]
Saving to: '/etc/exim.pl.cb20'

100%[============================================================================================================================>] 19,695 --.-K/s in 0s

2021-04-23 16:47:41 (360 MB/s) - '/etc/exim.pl.cb20' saved [19695/19695]

Enabling Rspamd Config...
Rspamd config is now enabled.
Restarting exim.
 
Code:
freeLock: error unlinking /etc/virtual/zebs.ch/filter.lock: No such file or directory
freeLock: error unlinking /etc/virtual/zebs.ch/filter.lock: No such file or directory
Looks weird, why is that file locked? Would remove those locks and try again and maybe install Redis.
 
Hello,
I solve the issue with blockcracking and easy_spam_fighter installation:

cd /usr/local/directadmin/custombuild
./build update
./build set eximconf yes
./build set eximconf_release 4.5
./build set blockcracking yes
./build set easy_spam_fighter yes
./build set spamd rspamd
./build set exim yes
./build exim
./build rspamd
./build exim_conf

Thank you for your help!
 
I'm getting those same lock errors:

Code:
freeLock: error unlinking /etc/virtual/xxx.xx/filter.lock: No such file or directory
freeLock: error unlinking /etc/virtual/xxx.xx/filter.lock: No such file or directory

No clue how to remove these locks nor did I ever hear of freeLock.

Moreover redis seems to correctly run, all config options had been set - yet exim still trying to check against spamd:


Code:
2022-12-26 21:56:23 1p9uWF-000AdR-1l spam acl condition: spamd: failed to connect to any address for 127.0.0.1: Connection refused
2022-12-26 21:56:23 1p9uWF-000AdR-1l spam acl condition: all spamd servers failed

Anyone has a clue ?
 
Hope this helps someone. I changed from SpamAssassin to rspamd, but the rspamd did not scan any mail at all with these errors:

Code:
2023-12-03 15:02:21 XXX spam acl condition: spamd: failed to connect to any address for 127.0.0.1: Connection refused
2023-12-03 15:02:21 XXX spam acl condition: all spamd servers failed

It seems my /etc/hosts missing the following line:
Code:
127.0.0.1    localhost

Add the localhost line and rspamd is working fine right now.
 
Back
Top