[SOLVED] whitelist locally clamav?

killmasta93

Renowned Member
Aug 13, 2017
958
56
68
30
Hi,
I was wondering if someone else accomplished to whitelist a signature on clamav?

i tried the following
Code:
root@mail:/var/lib/clamav# touch local_whitelist.ign2

then
Code:
 echo “PUA.Pdf.Trojan.EmbeddedJavaScript-1” >>  local_whitelist.ign2

then a reboot

but not seem to be working any ideas?
 
solved:
Code:
echo "PUA.Pdf.Trojan.EmbeddedJavaScript-1" | sudo tee /var/lib/clamav/whitelist.ign2

then reboot
 
This wasn't working for me, so I looked at /var/lib/clamav/sigwhitelist.ign2
Code:
cat /var/lib/clamav/sigwhitelist.ign2
Dummy.Whitelist.Signature
{HEX}Malware.Expert.3xpl01t_ma.configs.dumper.0
PhishTank.Phishing.5603443
Porcupine.Malware.43226
PhishTank.Phishing.6645510
PhishTank.Phishing.6698671
PhishTank.Phishing.6686540
PhishTank.Phishing.6688600
PhishTank.Phishing.6801210

It appears .ign2 files want "Source.Category.Sig#", nothing else.

I made this change, we will see what happens. Previously, I was using:
Code:
echo "Sanesecurity.Spam.12741.PdfSpam.UNOFFICIAL" >> /var/lib/clamav/KatyComputer.ign2

Now I am doing:
echo "Sanesecurity.Spam.12741" >> /var/lib/clamav/KatyComputer.ign2

Followed by:
Code:
pmgconfig sync --restart 1 ; spamassassin --lint
 
  • Like
Reactions: killmasta93
after testing again your right it was not working your method where do you get the sig number?
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!