NethServer Version: 7.8.2003 (final)
Module: ClamScan 1.0.0
Found Quarantine on old webinterface under configuration / antivirus scanner. Restoring everything from quarantine brought back cockpit functionality. I will investigate further but for now I have disabled quarantine, put unofficial signatures back to low, and will observe the next fullscan before activating quarantine again, problem solved.
Fortunately the old server manager is still there. I hope it will not be removed, as it is aparently rock-solid and helped me more than once
Unfortunately, for me is true only “Found Quarantine on old web interface under configuration / antivirus scanner.”, because I cannot restore the emails from Quarantine.
Related to this issue, I received two emails (please see the attached files), both at the same hour, after the scheduled scan was finished.
One is from ClamScan which inform me about the results of the scheduled scan.
The other email is from Cron, regarding an issue (or not) with nethserver-clamscan configuration.
How can I restore those emails (all contains an .xlsx price-list from one supplier)?
hum first I would like to debug
do you have a quarantine db in
the email are in /var/spool/clamav/quarantine, so you can move them back manually
I do not understand, the quarantine db is created at
and you used root to run
I bet the qurantine db does not exist but why… does it is a brand new server ?
Thank you for your answer.
Yes, it is.
No, but I have installed ClamScan 3 days ago.
what is the content of the db quarantine…empty or something interesting inside ?
Need to check…not much time right now…
In Cockpit Quarantine is nothing, only in old GUI but I cannot restore anything.
Take your time!
could you send me the quarantine db by email stephdl at de-labrusse dot fr
thank in advance
Give me 5 minutes, please!
You found funny bug, it seems that the email address broke my code, with a file path it works OTB
= of the email path is not accepted … I feel alone tonight
I feel alone tonight
You’ll never walk alone!
We are with you!
let me think on the fix…did you succeed to move the email back to the /var/lib/nethserver/vmail folder ?
I didn’t do anything till now.
Do you want to move them “by hand”, as you told me earlier?
I think yes, all in var/spool/clamav/quarantine must be moved to /var/lib/nethserver/vmail/gabriel.xx@xxx/Maildir/cur/
mv /var/spool/clamav/quarantine/* /var/lib/nethserver/vmail/gabriel.xx@xxx/Maildir/cur/
normally permission are kept
mv: target ‘/…/’ is not a directory (of course, the right path)
Sorry! My fault! I forgot to write .ro at the email address!
The emails were moved.
Sorry for that!
Sincerely, I wanted to test the ClamScan and the Quarantine function (find “bad” files, quarantine, release from quarantine).
I knew that those files contain macros and I set ClamScan to scan by VBA macros to see if it works.
Partialy, works …
the quarantine works…the release is broken
I’m not worried about that. I know you will fix it.
You already found the clue: “=”.
I have almost fixed the issue, coming soon