ClamAv 0.96 is out
sandrews at andrewscompanies.com
Mon Apr 26 13:25:13 IST 2010
Has this been rolled into the latest easy install package?
From: mailscanner-bounces at lists.mailscanner.info
[mailto:mailscanner-bounces at lists.mailscanner.info] On Behalf Of Julian
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
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.
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:
>>>> incoming work user to clamav and changed incoming work group to
>>> Thanks for the suggestion, but this doesn't work for me. I changed
>>> user = clamav and then also removed the group as you did.
>>> The result of that (in both cases) is that the owner of the
>>> 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
>>> 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.
>> 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
> code, alas.
Julian Field MEng CITP CEng
Buy the MailScanner book at www.MailScanner.info/store
Need help customising MailScanner?
Need help fixing or optimising your systems?
Need help getting you started solving new requirements from your boss?
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
Before posting, read http://wiki.mailscanner.info/posting
Support MailScanner development - buy the book off the website!
More information about the MailScanner