clamd and tnef error?
Randal, Phil
prandal at herefordshire.gov.uk
Tue Sep 14 12:24:31 IST 2010
Same issue here. Workaround is to run clamd as root.
Cheers,
Phil
--
Phil Randal | Networks Engineer
NHS Herefordshire & Herefordshire Council | Deputy Chief Executive's
Office | I.C.T. Services Division
Thorn Office Centre, Rotherwas, Hereford, HR2 6JT
Tel: 01432 260160
email: prandal at herefordshire.gov.uk
Any opinion expressed in this e-mail or any attached files are those of
the individual and not necessarily those of Herefordshire Council.
This e-mail and any attached files are confidential and intended solely
for the use of the addressee. This communication may contain material
protected by law from being passed on. If you are not the intended
recipient and have received this e-mail in error, you are advised that
any use, dissemination, forwarding, printing or copying of this e-mail
is strictly prohibited. If you have received this e-mail in error please
contact the sender immediately and destroy all copies of it.
-----Original Message-----
From: mailscanner-bounces at lists.mailscanner.info
[mailto:mailscanner-bounces at lists.mailscanner.info] On Behalf Of Paul
Sent: 14 September 2010 10:47
To: MailScanner discussion
Subject: clamd and tnef error?
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
--
MailScanner mailing list
mailscanner at lists.mailscanner.info
http://lists.mailscanner.info/mailman/listinfo/mailscanner
Before posting, read http://wiki.mailscanner.info/posting
Support MailScanner development - buy the book off the website!
Any opinion expressed in this e-mail or any attached files are those of the individual and not necessarily those of Herefordshire Council.
You should be aware that Herefordshire Council monitors its email service.
This e-mail and any attached files are confidential and intended solely for the use of the addressee. This communication may contain material protected by law from being passed on. If you are not the intended recipient and have received this e-mail in error, you are advised that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. If you have received this e-mail in error please contact the sender immediately and destroy all copies of it.
More information about the MailScanner
mailing list