Hallo list

>From my viewpoint the entry for bdscan/BitDefender Antivirus Scanner for 
>Unices does not work.

That's the one I got in 2.6.3:
----
  ### http://www.bitdefender.com/
  ['BitDefender', 'bdscan',  # new version
    '--action=ignore --no-list {}', qr/^Infected files *:0+(?!\d)/m,
    qr/^(?:Infected files|Identified viruses|Suspect files) *:0*[1-9]/m,
    qr/(?:suspected|infected): (.*)(?:\033|$)/m ],
----

But amavisd-new is complaining:
----
Jun  3 17:34:03 nyx amavis[22187]: (22187-02) (!!)run_av (BitDefender) FAILED - 
unexpected exit 0, output="BitDefender Antivirus Scanner for Unices v7.90123 
Linux-i586\nCopyright (C) 1996-2009 BitDefender. All rights reserved.\nThis 
program is licensed for home or personal use only.\nUsage in an office or 
production environment represents\na violation of the license terms\n\nInfected 
file action: ignore\nSuspected file action: ignore\n\n\nResults:\nFolders: 
0\nFiles: 1\nPacked: 0\nArchives: 0\nInfected files: 0\nSuspect files: 
0\nWarnings: 0\nI/O errors: 0\n"
Jun  3 17:34:03 nyx amavis[22187]: (22187-02) (!!)BitDefender av-scanner 
FAILED: /usr/bin/bdscan unexpected exit 0, output="BitDefender Antivirus 
Scanner for Unices v7.90123 Linux-i586\nCopyright (C) 1996-2009 BitDefender. 
All rights reserved.\nThis program is licensed for home or personal use 
only.\nUsage in an office or production environment represents\na violation of 
the license terms\n\nInfected file action: ignore\nSuspected file action: 
ignore\n\n\nResults:\nFolders: 0\nFiles: 1\nPacked: 0\nArchives: 0\nInfected 
files: 0\nSuspect files: 0\nWarnings: 0\nI/O errors: 0\n" at (eval 70) line 547.
----

To fix the issue I changed the expression to be:
----
  ### http://www.bitdefender.com/
  ['BitDefender', 'bdscan',  # new version
    '--action=ignore --no-list {}', qr/^Infected files[\t ]*:[\t ]*0+(?!\d)/m,
    qr/^(?:Infected files|Identified viruses|Suspect files)[\t ]*:[\t 
]*0*[1-9]/m,
    qr/(?:suspected|infected)[\t ]*:[\t ]*(.*)(?:\033|$)/m ],
----



// Steve
-- 
GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01

------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/amavis-user 
 AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 
 AMaViS-HowTos:http://www.amavis.org/howto/ 

Reply via email to