clamd and tnef error?

Martin Hepworth maxsec at gmail.com
Tue Sep 14 12:09:18 IST 2010


Paul

1)make sure the clamav user can see all the way down to
/var/spool/MailScanner/incoming.

2) see if using the intneral tnef expander works any better.


Also worth upgrading MS to latest. Don't see anything in the changelog for
4.80 or 4.81 specific to clamav handling but

(grumble windmail.dat is bad, all outleek users should be sending html
formatted emails not rft /grumble)

-- 
Martin Hepworth
Oxford, UK


On 14 September 2010 10:47, Paul <housey at sme-ecom.co.uk> wrote:

> 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!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.mailscanner.info/pipermail/mailscanner/attachments/20100914/808d6114/attachment.html


More information about the MailScanner mailing list