----- Original Message -----
From: "Max Matslofva" <[EMAIL PROTECTED]>
Hi
I just installed BitDefender bdc from FreeBSD ports.
BDC/FreeBSD 5.x-Console (v7.0-2545) (i386) (Dec 22 2004 19:56:57)
Copyright (C) 1996-2004 SOFTWIN SRL. All rights reserved.
amavisd-new is version 2.3.3
I got an error from bdc, and the --all option in the logfile.
Warning: unknown parameter: --all
amavis[91989]: (91989-01) run_av: /usr/local/bin/bdc exit 0, BDC/FreeBSD
5.x-Console (v7.0-2545) (i386) (Dec 22 2004
19:56:57)\nCopyright (C) 1996-2004 SOFTWIN SRL. All rights
reserved.\nWarning: unknown parameter: --all\n\n\n\nResults:\nFolders
...:1\nFiles ...:1\nPacked ...:0\nArchives ...:0\nInfected files
:0\nSuspect files ...:0\nWarnings ...:0\nI/O errors ...:0\n
The default options for bdc in amavisd.conf is "--all --arc --mail"
Can I change it to "--arc --mail" ?
Should work fine with the --all switch. Here what we have been using for
over a year:
['BitDefender', 'bdc',
'--all --arc --mail --nowarn --alev=15 --flev=15 {}', qr/^Infected files
*:0+(?!\d)/,
qr/^(?:Infected files|Identified viruses|Suspect files) *:0*[1-9]/,
qr/(?:suspected|infected): (.*)(?:\033|$)/ ],
and "bdc --help" outputs the following:
BDC/Linux-Console v7.0 (build 2490) (i386) (Dec 10 2003 16:11:35)
Copyright (C) 1996-2003 SOFTWIN SRL. All rights reserved.
Usage: bdc path [parameters]
Parameters:
--files - scan files *
--arc - scan archives
--mail - scan mail databases
--nopack - don't scan packed programs
--nohed - unknown virus detection
--ext=ext1;ext2; - scan only this extensions
--log[=file] - create log file
--list - display all files
--all - scan all files
--append - append to log file
--disinfect - disinfect files
--delete - delete infected files
--copy - copy infected files in quarantine zone
--copys - move suspected files in quarantine zone
--move - move infected files in quarantine zone
--moves - move suspected files in quarantine zone
--info - information
--nowarn - display warnings
--vlist - display virus list
--debug - display debug information
--nor - do not recurse into subdirs
--alev[=n] - set maximum archive depth level
--flev[=n] - set maximum folder depth level
--update - update virus definitions
--help,--? - this help
* = default option
As you can see, the "--all" switch is a valid and useful switch for BDC.
Bill
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
AMaViS-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/