Submitted by PaliGap on Wed, 12/21/2011 - 10:35 Pro Licensee
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
Submitted by andreychek on Wed, 12/21/2011 - 12:14 Comment #1
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
Submitted by PaliGap on Wed, 12/21/2011 - 14:34 Pro Licensee Comment #2
Hi
I get this:
-rw-r--r-- 1 root root 0 Dec 21 03:46 /var/log/procmail.log
Submitted by andreychek on Thu, 12/22/2011 - 13:27 Comment #3
Hmm, that looks correct, so a few other questions:
What does this command output: df -h
How about this command: ls -ld /var/log/
What do you get if you run this as root: echo test >> /var/log/procmail.log
Submitted by PaliGap on Thu, 12/22/2011 - 14:21 Pro Licensee Comment #4
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
Submitted by JamieCameron on Thu, 12/22/2011 - 18:54 Comment #5
You should remove these lines :
DROPPRIVS=yes
:0fw
| /usr/bin/spamc
:0
* ^X-Spam-Status: Yes
/dev/null