@Jeremy: Spot ON!!!! that fixed the issue... Thanks! Anis On 24 January 2012 13:04, Jeremy McSpadden <[email protected]> wrote:
> yum install file > > --**** > Jeremy McSpadden**** > Flux Labs, Inc**** > http://www.fluxlabs.net > Endless Solutions**** > *Office* : 850-588-4626**** > *Cell* : 850-890-2543 > *Fax* : 850-254-2955 > > From: Anis Jendoubi <[email protected]> > Reply-To: Baruwa list <[email protected]> > Date: Tue, 24 Jan 2012 12:53:56 +0000 > To: Baruwa list <[email protected]> > Subject: [Baruwa] MailScanner --lint error > > Hi, > Setting up a fresh Baruwa install on a CentOS 6.2 (64bit) with postfix as > the MTA... > The whole process went well until I fired the command "MailScanner > --lint", there's an error message showing "Can't run file command > ("/usr/bin/file"): No such file or directory at > /usr/share/MailScanner/MailScanner/SweepOther.pm line 480" > Does anyone of you know if this is something I can ignore or am I missing > a configuration somewhere or it's a bug? > Thanks for any help. > Anis > > Below is the transcript of it.... > > > ------------------------------------------------------------------------------------------------------------------------------------------------- > > [root@smtp baruwa]# MailScanner --lint > Trying to setlogsock(unix) > > Reading configuration file /etc/MailScanner/MailScanner.conf > Reading configuration file /etc/MailScanner/conf.d/baruwa.conf > Reading ruleset htmlsigs for keyword inlinehtmlsig > Reading ruleset textsigs for keyword inlinetextsig > Reading ruleset sigimgs for keyword attachimageinternalname > Reading ruleset sigimgfiles for keyword attachimagename > Read 867 hostnames from the phishing whitelist > Read 4252 hostnames from the phishing blacklists > Config: calling custom init function BaruwaLowScore > Baruwa: Populating spam score settings > Baruwa: no spam score settings found using defaults > Config: calling custom init function BaruwaShouldScan > Baruwa: Starting scanning settings > Baruwa: Read 1 settings > Config: calling custom init function BaruwaBlacklist > Baruwa: Starting blacklists > Baruwa: Read 0 blacklist items > Baruwa: Ip blocks blacklisted: > Config: calling custom init function BaruwaSQL > Baruwa: Starting SQL logger > Config: calling custom init function BaruwaHighScore > Baruwa: Populating high spam score settings > Baruwa: no high spam score settings found using defaults > Config: calling custom init function BaruwaWhitelist > Baruwa: Starting whitelists > Baruwa: Read 1 whitelist items > Baruwa: Ip blocks whitelisted: > > Checking version numbers... > Version number in MailScanner.conf (4.84.3) is correct. > > Your envelope_sender_header in spam.assassin.prefs.conf is correct. > MailScanner setting GID to (89) > MailScanner setting UID to (89) > > Checking for SpamAssassin errors (if you use it)... > Using SpamAssassin results cache > Connected to SpamAssassin cache database > SpamAssassin reported no errors. > Connected to Processing Attempts Database > Created Processing Attempts Database successfully > There are 0 messages in the Processing Attempts Database > Using locktype = posix > MailScanner.conf says "Virus Scanners = clamav" > Found these virus scanners installed: clamav > =========================================================================== > Filename Checks: Windows/DOS Executable (1 eicar.com) > Can't run file command ("/usr/bin/file"): No such file or directory at > /usr/share/MailScanner/MailScanner/SweepOther.pm line 480 > Other Checks: Found 1 problems > Virus and Content Scanning: Starting > LibClamAV Warning: ************************************************** > LibClamAV Warning: *** The virus database is older than 7 days! *** > LibClamAV Warning: *** Please update it as soon as possible. *** > LibClamAV Warning: ************************************************** > 1.message: Eicar-Test-Signature-1 FOUND > > ./1/eicar.com: Eicar-Test-Signature FOUND > > Virus Scanning: ClamAV found 2 infections > Infected message 1 came from 10.1.1.1 > Virus Scanning: Found 2 viruses > =========================================================================== > Virus Scanner test reports: > ClamAV said "eicar.com contains Eicar-Test-Signature" > > If any of your virus scanners (clamav) > are not listed there, you should check that they are installed correctly > and that MailScanner is finding them correctly via its virus.scanners.conf. > Config: calling custom end function BaruwaLowScore > Baruwa: Shutting down spam score settings > Config: calling custom end function BaruwaShouldScan > Baruwa: Shutting down scanning settings > Config: calling custom end function BaruwaBlacklist > Baruwa: Shutting down blacklists > Config: calling custom end function BaruwaSQL > Baruwa: Shutting down SQL logger > Config: calling custom end function BaruwaHighScore > Baruwa: Shutting down high spam score settings > Config: calling custom end function BaruwaWhitelist > Baruwa: Shutting down whitelists > [root@smtp baruwa]# > > ------------------------------------------------------------------------------------------------------------------------------------------------- > _______________________________________________ Keep Baruwa FREE - > http://pledgie.com/campaigns/12056 > > _______________________________________________ > Keep Baruwa FREE - http://pledgie.com/campaigns/12056 > >
_______________________________________________ Keep Baruwa FREE - http://pledgie.com/campaigns/12056

