Hi eris, thanks for your answer. I entered the commands you sent, but don’t know how to handle if, fi etc. Best option would be an update script, which works after installation.
Anyway, after entering all relevant lines (without the if, …) spamassassin and clamav still don’t work. I see the processes running, but there are no clamav/spamassassin headers in the mails.
On Ultahost with high cpu and ram I got this message and doesn’t see spamassassinor clamav installing:
Thanks ScIT, sorry I just noticed it and deleted the last part of the question. Then I saw you already answered. I only looked at the enumeration and not the +ClamAV and +Spamassassin.
(I recovered the text)
Still on my main server spamassassin and clamav are running, but no visible effect on the mails, at least not in headers. How can I definitely test if both services scan mails?
Thanks to you both, I found the problem. Some time ago I activated antispam and antivirus via hestia cli (v-add-mail-domain-antispam & v-add-mail-domain-antivirus). The ticks were activated in the panel. Now they weren’t. I activated them via panel and the test spam mail was marked and moved into the folder “spam”, not “junk”. So there is still a small issue with moving mails into the right folder.
Okay, I solved the junk/spam folder issue this way:
nano /etc/roundcube/config.inc.php
// See real folder names in Roundcube, only temp. activated:
// Disable localization of the default folder names listed above
$config['show_real_foldernames'] = true;
// default folder to store spam messages
// NOTE: Use folder names with namespace prefix (INBOX. on Courier-IMAP)
$config['junk_mbox'] = 'Spam';
Some users still had Junk as default mailbox. I checked the database.
opened PhpMyAdmin, cp.domain.tld/phpmyadmin (or via panel)
entered the login data in config.inc.php
checked table “users”
in some preferences there still was junk_mbox = Junk. I changed it to Spam.
Now everything is running as expected.
Best, Michael
# Prior to version 3.4.2-1, spamd could be enabled by setting
# ENABLED=1 in this file. This is no longer supported. Instead, please
# use the update-rc.d command, invoked for example as "update-rc.d
# spamassassin enable", to enable the spamd service.
# /etc/default/spamassassin
# Duncan Findlay
# WARNING: please read README.spamd before using.
# There may be security risks.
# If you're using systemd (default for jessie), the ENABLED setting is
# not used. Instead, enable spamd by issuing:
# systemctl enable spamassassin.service
# Change to "1" to enable spamd on systems using sysvinit:
ENABLED=1
Debian 11
[email protected]:/etc/default# cat spamassassin
# /etc/default/spamassassin
# Duncan Findlay
# WARNING: please read README.spamd before using.
# There may be security risks.
# Prior to version 3.4.2-1, spamd could be enabled by setting
# ENABLED=1 in this file. This is no longer supported. Instead, please
# use the update-rc.d command, invoked for example as "update-rc.d
# spamassassin enable", to enable the spamd service.