clamd and tnef error?

Paul housey at sme-ecom.co.uk
Tue Sep 14 10:47:16 IST 2010


Hi

I am using MailScanner 4.78.17 and Clamd 0.96

Have noticed I get quite a few errors like this

Sep 14 10:25:38 srv1 MailScanner[14589]: Expanding TNEF archive at 
/var/spool/MailScanner/incoming/14589/o8E9PaAC032175/winmail.dat
Sep 14 10:25:38 srv1 MailScanner[14589]: Clamd::ERROR:: lstat() failed: 
Permission denied. ERROR :: ./o8E9PaAC032175/tnef.14589

The error seems to always happen on winmail.dat files.

In Mailscanner.conf I have

Incoming Work User =
Incoming Work Group = clamav
Incoming Work Permissions = 0640

TNEF Expander = /usr/bin/tnef --maxsize=100000000

Clamd is running as clamav

[root at srv1 incoming]# ps aux | grep clamd
clamav    1267  2.0  3.0 172900 127788 ?       Ssl  Sep09 144:17 clamd

and the permissions on the working directory seem correct

[root at srv1 incoming]# pwd
/var/spool/MailScanner/incoming
[root at srv1 incoming]# ls -l
total 120484
drwxr-x---  3 root clamav        60 Dec 12  2009 13156
drwxr-x--- 10 root clamav       500 Sep 14 10:46 28493
drwxr-x---  7 root clamav       320 Sep 14 10:46 28531
drwxr-x--- 14 root clamav       740 Sep 14 10:46 28578
drwxr-x---  9 root clamav       440 Sep 14 10:45 28629
drwxr-x--- 10 root clamav       500 Sep 14 10:46 28665
drwxr-x---  2 root root         560 Sep 14 05:04 Locks
-rw-------  1 root root       35840 Sep 14 10:46 Processing.db
-rw-------  1 root root   123211776 Sep 14 10:46 SpamAssassin.cache.db
drwx------  2 root root       13160 Sep 14 10:46 SpamAssassin-Temp









More information about the MailScanner mailing list