Re: [p3scan-main] Problem to recive mails if virusscanner return code is not 0 or a defined virus r
Brought to you by:
laitcg
|
From: Patrick S. <pat...@bl...> - 2004-09-29 07:35:20
|
sorry spamchecking works very well but do you can help me with the regex to catch the virusname from the last output line: here the example output again: testhost:~# /opt/kav/bin/aveclient -p /var/run/aveserver -s eicar.com eicar.com INFECTED LINFECTED EICAR-Test-File What i need is "Eicar-Test-File" I have no idea how to write a regex which works on multiple lines many thanks greets patrick Patrick Steiner wrote: > yes it is! the only thing i need is "EICAR-Test-File" because on this > position is the name of the virus > > another question: in the new patch you send me, have you anything > changed with the spamchecking? i have problems to activate the > spamchecking. > if not then i think i have a configuration problem and i try to > configure again. > > thank you for your good support.!! > > Jack S. Lai wrote: > >>----- Original Message ----- >>From: Patrick Steiner <pat...@bl...> >>Date: Sun, 26 Sep 2004 00:45:32 +0200 >>Subject: Re: [p3scan-main] Problem to recive mails if virusscanner >>return code is not 0 or a defined virus return code >>To: p3s...@li... >><snip> >> >> >>>and my last question for today: can i parse more the one line from my >>>virusscanner output? because kaspersky generate more than 1 line >>>here a sample output: >>> >>>testhost:~# /opt/kav/bin/aveclient -p /var/run/aveserver -s eicar.com >>>eicar.com INFECTED >>>LINFECTED EICAR-Test-File >>> >>> >>Isn't this last line the only one you need? >> >> |