Am 27.01.2011 16:23 schrieb Mark Martinec:
> Because the regular expression requires there is no dot in the string
> spanning to the final semicolon - but in your case there is a dot
> in .html as well as in .27959.
>
> Try:
> qr/ALERT: ([^;]+) ;/m
>
> or maybe even:
> qr/ALERT: ([^;<]+) [;<]/m
I use now this to get the virusname only:
qr/ALERT: (?:.* <<< )?(.+?)(?: ; |$)/m
... a partial copy from the savapi definition in amavisd.conf :-)
Thanks Mark!
--
Andreas Schulze
Internetdienste | P252
DATEV eG
90329 Nürnberg | Telefon +49 911 319-0 | Telefax +49 911 319-3196
E-Mail info @datev.de | Internet www.datev.de
Sitz: 90429 Nürnberg, Paumgartnerstr. 6-14 | Registergericht Nürnberg, GenReg
Nr.70
Vorstand
Prof. Dieter Kempf (Vorsitzender)
Dipl.-Kfm. Wolfgang Stegmann (stellvertretender Vorsitzender)
Dipl.-Kfm. Michael Leistenschneider
Jörg Rabe v. Pappenheim
Dipl.-Vw. Eckhard Schwarzer
Vorsitzender des Aufsichtsrates: Reinhard Verholen
------------------------------------------------------------------------------
The modern datacenter depends on network connectivity to access resources
and provide services. The best practices for maximizing a physical server's
connectivity to a physical network are well understood - see how these
rules translate into the virtual world?
http://p.sf.net/sfu/oracle-sfdevnlfb
_______________________________________________
AMaViS-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amavis-user
Please visit http://www.ijs.si/software/amavisd/ regularly
For administrativa requests please send email to rainer at openantivirus dot
org