[SOLVED] location of Virus Emails?

killmasta93

Renowned Member
Aug 13, 2017
985
61
93
32
Hi,
I was wondering if someone could shed some light on the location of the emails that have the attachment of the virus? Sometimes its a false alert and wanted to check the attachment myself

Thank you
 
I think you're looking for this directory: /var/spool/pmg
The quarantined spam and virus mails will getting saved there as normal mail files. If you're running a cluster, look into the cluster directory and find your spam and virus folders there.
 
Thanks for the reply, i checked but i see the folders but its empty. How long does it store? as on the WebGUI i still see the email
 
Thanks for the reply, i checked but i see the folders but its empty. How long does it store? as on the WebGUI i still see the email

What do you get with:

> ls -al /var/spool/pmg/

and:

> du -sh /var/spool/pmg/
 
Thanks for the reply this is what im getting

Code:
root@pmg:~# ls -al /var/spool/pmg/
total 20
drwxr-xr-x   5 root root 4096 May 26 15:24 .
drwxr-xr-x   6 root root 4096 May 26 15:24 ..
drwxr-xr-x   2 root root 4096 Jun  5 08:20 active
drwxr-xr-x 168 root root 4096 Jun  4 19:23 spam
drwxr-xr-x   5 root root 4096 May 28 21:30 virus
root@pmg:~# du -sh /var/spool/pmg/
47M     /var/spool/pmg/
and when i check inside the folders
Code:
root@pmg:~# ls -al /var/spool/pmg/virus/
total 20
drwxr-xr-x 5 root root 4096 May 28 21:30 .
drwxr-xr-x 5 root root 4096 May 26 15:24 ..
drwxr-xr-x 2 root root 4096 Jun  3 00:05 31
drwxr-xr-x 2 root root 4096 Jun  5 00:05 74
drwxr-xr-x 2 root root 4096 Jun  3 00:05 BB

there is nothing inside each folder

Code:
root@pmg:~# ls -l /var/spool/pmg/virus/31/
total 0

Thank you