ClamAv 0.96 is out

Steven Andrews sandrews at andrewscompanies.com
Mon Apr 26 13:25:13 IST 2010


Has this been rolled into the latest easy install package?

-----Original Message-----
From: mailscanner-bounces at lists.mailscanner.info
[mailto:mailscanner-bounces at lists.mailscanner.info] On Behalf Of Julian
Field
Sent: Thursday, April 22, 2010 10:21 AM
To: MailScanner discussion
Subject: Re: ClamAv 0.96 is out

Look in /usr/lib/MailScanner/MessageBatch.pm

In there around line 1212 or so you will find a line that looks like
this:
my $MessageDir = tempdir( 'MSlintXXXXXX', CLEANUP => 1);

Change this to read
my $MessageDir = tempdir( 'MSlintXXXXXX', TMPDIR => 1, CLEANUP => 1);

and "MailScanner --lint" will work properly again. I was just putting a 
temporary directory (which I don't use but which needs to be there for 
the code to work) in the wrong place.

Jules.

On 09/04/2010 09:39, Randal, Phil wrote:
> Scott Silva wrote:
>    
>> on 4-8-2010 12:31 PM Kai Schaetzl spake the following:
>>      
>>> Scott Silva wrote on Mon, 05 Apr 2010 16:33:25 -0700:
>>>
>>>        
>>>> Changed
>>>> incoming work user to clamav and changed incoming work group to
>>>> blank...
>>>>          
>>> Thanks for the suggestion, but this doesn't work for me. I changed
to
>>> user = clamav and then also removed the group as you did.
>>>
>>> The result of that (in both cases) is that the owner of the
directory
>>> is now postfix and the error already happens in MS.
>>>
>>> Error in tempdir() using MSlintXXXXXX: Parent directory (.) is not
>>> writable  at /usr/lib/MailScanner/MailScanner/MessageBatch.pm line
>>> 1211
>>>
>>> As I said I think there is something wrong about the group ownership
>>> or permissions only in the lint code that wasn't a problem before
>>> 0.96 but now is. Maybe clamav used ftstat before which doesn't need
>>> execute permission.
>>>
>>> Kai
>>>
>>>        
>> I guess I should have been more specific. I am using sendmail. Maybe
>> Julian will see this thread when he is free and something will pop in
>> his head. I am also having some problems with the new spamassassin,
>> but I downgraded, as I don't have time to deal with that right now.
>>      
> It doesn't work for me with sendmail, either.
>
> The only workaround I have which works is to comment out
>
> user clamav
>
> in /etc/clamd.conf and restart clamd.
>
> I haven't had the time to dig into MailScanner's lint and virus
scanning
> code, alas.
>
> Cheers,
>
> Phil
>
>    

Jules

-- 
Julian Field MEng CITP CEng
www.MailScanner.info
Buy the MailScanner book at www.MailScanner.info/store

Need help customising MailScanner?
Contact me!
Need help fixing or optimising your systems?
Contact me!
Need help getting you started solving new requirements from your boss?
Contact me!

PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
Follow me at twitter.com/JulesFM and twitter.com/MailScanner


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

-- 
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! 


More information about the MailScanner mailing list