Hello ! I am not able to send of receive mails. Sending a mail to myself results: Code: mailq 6E49B220171 593 Thu Jul 14 13:28:57 [email protected] (connect to 127.0.0.1[127.0.0.1]:10026: Connection refused) [email protected] Code: netstat -tap | grep 100 tcp 0 0 localhost:10023 0.0.0.0:* LISTEN 815/postgrey --pidf tcp6 0 0 localhost:10023 [::]:* LISTEN 815/postgrey --pidf Code: more /etc/hosts 127.0.0.1 localhost 127.0.1.1 b0x.counter.party b0x # The following lines are desirable for IPv6 capable hosts ::1 localhost ip6-localhost ip6-loopback ff02::1 ip6-allnodes ff02::2 ip6-allrouters Digging though old threads, the culprit seems to be amavis, which is not installed nor running, because it seemed it got replaced by rspamd which i can confirm running and working: Code: systemctl status rspamd ● rspamd.service - rapid spam filtering system Loaded: loaded (/lib/systemd/system/rspamd.service; enabled; vendor preset: enabled) Active: active (running) since Thu 2022-07-14 14:47:15 CEST; 41min ago Docs: https://rspamd.com/doc/ Process: 3873 ExecReload=/bin/kill -HUP $MAINPID (code=exited, status=0/SUCCESS) Main PID: 536 (rspamd) Tasks: 5 (limit: 2336) Memory: 215.6M CPU: 8.007s CGroup: /system.slice/rspamd.service ├─ 536 rspamd: main process ├─3880 rspamd: rspamd_proxy process (localhost:11332) ├─3881 rspamd: controller process (localhost:11334) ├─3882 rspamd: normal process (localhost:11333) └─3883 rspamd: hs_helper process Jul 14 14:47:15 b0x systemd[1]: Started rapid spam filtering system. Jul 14 14:47:20 b0x rspamd[536]: 2022-07-14 14:47:20 #536(main) <c0145e>; main; main: rspamd 3.2 is loading configuration, build id: release Jul 14 15:08:10 b0x systemd[1]: Reloading rapid spam filtering system. Jul 14 15:08:10 b0x systemd[1]: Reloaded rapid spam filtering system. Clamav seems to have problems starting, which seems to be because of a rate-ban after trying to update the db. Code: status clamav-daemon ● clamav-daemon.service - Clam AntiVirus userspace daemon Loaded: loaded (/lib/systemd/system/clamav-daemon.service; enabled; vendor preset: enabled) Drop-In: /etc/systemd/system/clamav-daemon.service.d └─extend.conf Active: inactive (dead) Condition: start condition failed at Thu 2022-07-14 15:50:17 CEST; 3s ago └─ ConditionPathExistsGlob=/var/lib/clamav/daily.{c[vl]d,inc} was not met Docs: man:clamd(8) man:clamd.conf(5) https://docs.clamav.net/ Jul 14 15:45:29 b0x systemd[1]: /lib/systemd/system/clamav-daemon.service:12: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removi> Jul 14 15:46:45 b0x systemd[1]: /lib/systemd/system/clamav-daemon.service:12: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removi> Jul 14 15:46:45 b0x systemd[1]: Condition check resulted in Clam AntiVirus userspace daemon being skipped. Jul 14 15:46:51 b0x systemd[1]: /lib/systemd/system/clamav-daemon.service:12: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removi> Jul 14 15:49:42 b0x systemd[1]: /lib/systemd/system/clamav-daemon.service:12: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removi> Jul 14 15:50:05 b0x systemd[1]: /lib/systemd/system/clamav-daemon.service:12: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removi> Jul 14 15:50:17 b0x systemd[1]: Condition check resulted in Clam AntiVirus userspace daemon being skipped. What needs to be done here ? Thank you!
Is it just the one message, or all new messages get stuck that way? If all, some config is bad and you should change the content filter in server config to amavis, save, then change back to rspamd and save. For any messages in queue with port 10026 content filter set you will need to re-queue them afterwards, eg. 'postsuper -r 6E49B220171' (or even 'postsuper -r ALL').
Login to ISPConfig, go to System > Server config > mail and set the spam filter to rspamd. If it is at rspamd at the moment, set it to amavis, save, then set it again to rspamd.