Re: ERROR: incorrect format on line "196"

Salvatore Toribio <[email protected]>
Newsgroups gmane.mail.qmail.scanner
Message-ID <a06240800c2293e893b5c@[10.0.1.2]>
At 20:40 +0100 22-03-2007, Max Andersen wrote:
>Hi,
>
>I get this funny error when generating the DB:
>
>deb01:/usr/local/src/qmail-scanner-2.01# setuidgid qmaild
>/var/qmail/bin/qmail-scanner-queue.pl -g
>perlscanner: generate new DB file from
>/var/spool/qscan/quarantine-events.txt
>ERROR: incorrect format on line "196"
>deb01:/usr/local/src/qmail-scanner-2.01#
>
>If I delete the latest entry in the following file, I get no error:
>
>deb01:/usr/local/src/qmail-scanner-2.01# tail -n5
>/var/spool/qscan/quarantine-events.txt
>.vbs    SIZE=-1 VBS files not allowed per Company security policy
>.lnk    SIZE=-1 LNK files not allowed per Company security policy
>.scr    SIZE=-1 SCR files not allowed per Company security policy
>.wsh    SIZE=-1 WSH files not allowed per Company security policy
>.bat    SIZE=-1 WSH files not allowed per Company security policy
>
>Anyone got a clue on what causes this behaviour? I have copied/pasted in
>vi, and wrote it clean.
>

Hi Max

You have to use a tab to separate the fields and add an end-line at the end:

.bat<tab>SIZE=-1<tab>BAT files not allowed per Company security policy<return>

Regards

ST

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.