ClamAv 0.96 is out

Randal, Phil prandal at herefordshire.gov.uk
Thu Apr 22 15:36:23 IST 2010


That fixes it.

You're a star, Julian.

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 Julian
Field
Sent: 22 April 2010 15:21
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! 
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