F-Prot Broken with new version

Julian Field MailScanner at ecs.soton.ac.uk
Sat Mar 8 20:08:11 GMT 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

In /usr/lib/MailScanner/MailScanner/SweepViruses.pm, add a line so it 
says this at/around line 3678:
  # Attempt to open the connection to fpscand
  $sock = ConnectToFpscand($Port, $TimeOut);
  return 'FPSCANDNOTRUNNING' if $lintonly && !$sock;

The 'return' line is the new one.

Then 'service MailScanner stop' and run 'MailScanner --lint' again.
Please let me know how you get on.


Gerry Doris wrote:
> I upgraded to the new stable version and tried running MailScanner 
> --lint.  It complains that there's an invalid argument -old being 
> passed???
>
> I don't have f-prot-6 installed.  Also, I manually ran 
> update_virus_scanners and it successfully checked/updated all scanners 
> including f-prot.  f-prot runs correctly using the information from 
> virus.scanners.conf.
>
> MailScanner --lint
> Trying to setlogsock(unix)
> Checking version numbers...
> Version number in MailScanner.conf (4.68.2) is correct.
>
> Your envelope_sender_header in spam.assassin.prefs.conf is correct.
>
> Checking for SpamAssassin errors (if you use it)...
> SpamAssassin temp dir = /var/spool/MailScanner/incoming/SpamAssassin-Temp
> SpamAssassin reported no errors.
> MailScanner.conf says "Virus Scanners = clamd f-prot bitdefender"
> ERROR:: COULD NOT CONNECT TO FPSCAND, RECOMMEND RESTARTING DAEMON :: 
> ISITINSTALLED
> Found these virus scanners installed: bitdefender, clamavmodule, 
> f-prot, clamd
> =========================================================================== 
>
> Invalid argument '-old'
> =========================================================================== 
>
> Virus Scanner test reports:
> Clamd said "eicar.com was infected: Eicar-Test-Signature FOUND"
> Bitdefender said "Found virus EICAR-Test-File (not a virus) in file 
> eicar.com"
>
> If any of your virus scanners (bitdefender,clamavmodule,f-prot,clamd)
> are not listed there, you should check that they are installed correctly
> and that MailScanner is finding them correctly via its 
> virus.scanners.conf.
>

Jules

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

MailScanner customisation, or any advanced system administration help?
Contact me at Jules at Jules.FM

PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
PGP public key: http://www.jules.fm/julesfm.asc


-----BEGIN PGP SIGNATURE-----
Version: PGP Desktop 9.8.1 (Build 2523)
Comment: Use Thunderbird Enigmail to verify this message
Charset: ISO-8859-1

wj8DBQFH0vIuEfZZRxQVtlQRAjRsAJ9iAgNofEXWuncfQ9JxKE192GVJUwCgv5Q6
LasgwdiAe1i+5uzJK3NwHjM=
=HbbS
-----END PGP SIGNATURE-----

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



More information about the MailScanner mailing list