Hi, I upgraded to latest ISPConfig and switched to rspamd as per instruction. There are some problems appear. Code: Configuring Rspamd chgrp: cannot access '/etc/rspamd/local.d/worker-controller.inc': No such file or directory chmod: cannot access '/etc/rspamd/local.d/worker-controller.inc': No such file or directory cannot parse resolv.conf and no nameservers defined, so no ways to resolve addresse In options.inc DNS settings seem to be incomplete: Code: dns { timeout = 1s; sockets = 16; retransmits = 5; } Loading URL (taken from ISPCcnfig -> Server Config) fails with 404 not found: https://mydomain.com:8081/rspamd/ Examining logs reveals that rspamd works in some way. How to fix missing rspamd URL? Should I modify DNS settings? Thanks in advance. Code: options { dns { nameserver = ["127.0.0.1:53:10"]; } } LOG file Code: 2021-07-12 09:39:04 #1947(normal) <a0ed4c>; task; rspamd_message_parse: loaded message; id: <0102017a9970c22d-686dd08e-2d63-42ef-b482-ad5c17ca4229-000000@eu-west-1.amazonses.com>; queue-id: <7BECC3C0119>; size: 12939; checksum: <f4bebf083ebbd972391e2ba3577e4602> 2021-07-12 09:39:04 #1947(normal) <a0ed4c>; task; rspamd_mime_part_detect_language: detected part language: en 2021-07-12 09:39:04 #1947(normal) <a0ed4c>; lua; settings.lua:363: <0102017a9970c22d-686dd08e-2d63-42ef-b482-ad5c17ca4229-000000@eu-west-1.amazonses.com> apply static settings ispc_mail_user_9 (id = 2171115737); rcpt matched; priority high 2021-07-12 09:39:04 #1947(normal) <a0ed4c>; task; lua_task_set_settings: disabled action add header due to settings 2021-07-12 09:39:04 #1947(normal) <a0ed4c>; task; rspamd_spf_maybe_return: stored record for eu-west-1.amazonses.com (0xfa2eb2ed62aebc55) in LRU cache for 442 seconds, 48/2000 elements in the cache 2021-07-12 09:39:04 #1947(normal) <a0ed4c>; task; dkim_module_key_handler: stored DKIM key for uku4taia5b5tsbglxyj6zym32efj7xqv._domainkey.amazonses.com in LRU cache for 3600 seconds, 55/2000 elements in the cache 2021-07-12 09:39:05 #1947(normal) <a0ed4c>; task; rspamd_symcache_finalize_item: slow rule: DMARC_CALLBACK(228): 493.32 ms; enable slow timer delay 2021-07-12 09:39:05 #1947(normal) <a0ed4c>; task; rspamd_symcache_finalize_item: slow rule: MX_INVALID(252): 573.32 ms 2021-07-12 09:39:05 #1947(normal) <a0ed4c>; task; rspamd_redis_connected: skip obtaining bayes tokens for BAYES_HAM of classifier bayes: not enough learns 47; 200 required 2021-07-12 09:39:05 #1947(normal) <a0ed4c>; task; rspamd_redis_connected: skip obtaining bayes tokens for BAYES_SPAM of classifier bayes: not enough learns 44; 200 required 2021-07-12 09:39:05 #1947(normal) <a0ed4c>; task; rspamd_stat_classifiers_process: skip statistics as SPAM class is missing
The first thing that you should fix is your /etc/resolv.conf, take care that one (better two) name servers are listed there that your server uses to resolve DNS requests. Then run the ispconfig update again with --force option and let it reconfigure services.
OK, thanks. Quite strange I have nameservers defined in /etc/network/interfaces, but anyway, no problem to update /etc/resolv.conf.