Not getting spam/virus stats

Hi

VM Pro 3.89

I am not seeing any virus/spam stats on this server (I do on my almost identical CentOS 5 server). I also see these maillog messages:

procmail[1220]: Error while writing to "/var/log/procmail.log"

(BTW - I can't find the "support ticket" option any more in VM. Is is me? Or has it been removed?)

Status: 
Active

Comments

Howdy -- without the procmail log, it wouldn't be able to calculate virus and spam statistics.

What output do you see if you run this command:

ls -l /var/log/procmail.log

Hi

I get this:

-rw-r--r-- 1 root root 0 Dec 21 03:46 /var/log/procmail.log

Hmm, that looks correct, so a few other questions:

  1. What does this command output: df -h

  2. How about this command: ls -ld /var/log/

  3. What do you get if you run this as root: echo test >> /var/log/procmail.log

df -h:

Filesystem Size Used Avail Use% Mounted on /dev/sda 198G 31G 157G 17% / /dev/sdb 9.9G 35M 9.4G 1% /tmp

ls -ld /var/log/ drwxr-xr-x 11 root root 4096 Dec 22 03:34 /var/log/

echo test >> /var/log/procmail.log That works!

I don't know if this helps - this is procmail.rc:

DROPPRIVS=yes :0fw | /usr/bin/spamc :0 * ^X-Spam-Status: Yes /dev/null LOGFILE=/var/log/procmail.log TRAP=/etc/webmin/virtual-server/procmail-logger.pl :0wi VIRTUALMIN=|/etc/webmin/virtual-server/lookup-domain.pl $LOGNAME EXITCODE=$? :0 * ?/usr/bin/test "$EXITCODE" = "73" /dev/null EXITCODE=0 :0 * ?/usr/bin/test "$VIRTUALMIN" != "" { INCLUDERC=/etc/webmin/virtual-server/procmail/$VIRTUALMIN } DEFAULT=$HOME/Maildir/ ORGMAIL=$HOME/Maildir/ DROPPRIVS=yes

You should remove these lines :

DROPPRIVS=yes
:0fw
| /usr/bin/spamc
:0
* ^X-Spam-Status: Yes
/dev/null