From the day to another, I’ve lost spamassassin and clamav modules in webmin ui.
I was about to configure them, that’s why I realized they were not showing up the menus anymore.
I really mean they don’t appear at all in installed modules or un-used menu section.
I’ve tried refreshing modules. No luck.
I’ve tried to activate them in the features and plugins but got this error:
Failed to save enabled features : The SpamAssassin program does not appear to be installed on your system, or has not yet been set up properly in Webmin’s SpamAssassin Mail Filter module. If your system does not use spam filtering, it should be disabled in Virtualmin’s module configuration page
if I check in terminal:
root@myhost:~# which spamassassin
/bin/spamassassin
root@myhost:~# which spamd
/sbin/spamd
root@myhost:~# which clamd
/sbin/clamd
I did install virtualmin with the script virtualmin-install.sh (full, not minimal).
I don’t know how this went or what happenened.
Is there anyway to check webmin modules and/or to “restore” them in some ways?
Use the package manager to search for them in there.
Not sure if the get listed in features and plugins if there are not installed.
Also a bit surprised the module isn’t in the unused section.
Try Refesh Modules
Why not use apt from the command line and see the results ? Or infact if installed use the aptversions program to see what is installed… I’m sure at some point virtualmin installed this but it now might not be the case
Thanks for your inputs.
As stated, I have checked and both clamav and spamassassin are actually installed. They do appear in the packet manager and in shell.
So I wonder how to make virtualmin understand they are here.
I also tried to reinstall webmin and webmin-virtual-server…some odd outputs but still not showing spanassassin nor clamav…
apt-get install --reinstall webmin webmin-virtual-server
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
0 upgraded, 0 newly installed, 2 reinstalled, 0 to remove and 0 not upgraded.
Need to get 0 B/37.9 MB of archives.
After this operation, 0 B of additional disk space will be used.
[master 806656b] saving uncommitted changes in /etc prior to apt run
15 files changed, 43 insertions(+), 35 deletions(-)
create mode 120000 systemd/system/multi-user.target.wants/clamav-freshclam.service
create mode 120000 systemd/system/timers.target.wants/spamassassin-maintenance.timer
(Reading database … 123270 files and directories currently installed.)
Preparing to unpack …/archives/webmin_2.202_all.deb …
Unpacking webmin (2.202) over (2.202) …
Preparing to unpack …/webmin-virtual-server_7.20.2.gpl-1_all.deb …
Unpacking webmin-virtual-server (7.20.2.gpl-1) over (7.20.2.gpl-1) …
Setting up webmin (2.202) …
Setting up webmin-virtual-server (7.20.2.gpl-1) …
[master 2f72601] committing changes in /etc made by “apt-get install --reinstall webmin webmin-virtual-server”
11 files changed, 37 insertions(+), 36 deletions(-)
But, note that if you (or someone else) has changed the configuraiton of SpamAssassin or ClamAV, this may not work as expected. All of our installation stuff, including Virtualmin-Config, is only tested on a freshly installed OS and can’t really anticipate all the ways things might be different from a freshly installed supported OS.