Bug#463992: lire: spamassassin2dlf does not work with spamassassin's 3.2.3 logs
On 2008-02-09 10:16 user Joost van Baal wrote: Hi Mikołaj, Could you show me some lines of your log file? (Mail me privately, if you prefer.) You _are_ using spamassassin's spamd, aren't you? Hello. Yes, I am using spamd from debian etch spamassassin package. Below is the beginning of the log: Sun Feb 10 06:28:24 2008 [27237] info: config: failed to parse, now \ a plugin, skipping, in /etc/spamassassin/local.cf: ok_languages en pl Sun Feb 10 06:28:24 2008 [27237] info: logger: removing stderr method Sun Feb 10 06:28:25 2008 [27243] info: spamd: server started on \ port 783/tcp (running version 3.2.3) Sun Feb 10 06:28:25 2008 [27243] info: spamd: server pid: 27243 Sun Feb 10 06:28:25 2008 [27243] info: spamd: server \ successfully spawned child process, pid 27248 Sun Feb 10 06:28:25 2008 [27243] info: spamd: server \ successfully spawned child process, pid 27249 Sun Feb 10 06:28:25 2008 [27243] info: prefork: child states: II Sun Feb 10 07:48:18 2008 [27248] info: spamd: connection from \ localhost [127.0.0.1] at port 53047 Sun Feb 10 07:48:18 2008 [27248] info: spamd: setuid to \ Debian-exim succeeded Sun Feb 10 07:48:18 2008 [27248] info: spamd: processing \ message [EMAIL PROTECTED] for Debian-exim:112 Sun Feb 10 07:48:22 2008 [27248] info: spamd: identified spam \ (15.0/5.0) for Debian-exim:112 in 3.8 seconds, 979 bytes. Sun Feb 10 07:48:22 2008 [27248] info: spamd: result: Y 14 \ - BAYES_99,RCVD_IN_PBL,STOX_REPLY_TYPE,TVD_FINGER_02,URIBL_BLACK,\ URIBL_JP_SURBL,URIBL_OB_SURBL,URIBL_SC_SURBL,URIBL_WS_SURBL scantime=3.8,size=979,user=Debian-exim,uid=112,required_score=5.0,\ rhost=localhost,raddr=127.0.0.1,rport=53047,mid=\ [EMAIL PROTECTED],bayes=1.00,autolearn=spam Sun Feb 10 07:48:22 2008 [27243] info: prefork: child states: II -- http://miki.menek.one.pl [EMAIL PROTECTED] Gadu-gadu: 2128279 Mobile: +48607345846 IRC: `miki` -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#463992: lire: spamassassin2dlf does not work with spamassassin's 3.2.3 logs
On 2008-02-09 02:17 user Joost van Baal wrote: It seems it's not spamassassin, but your syslog which makes Lire choke. Please try to run: while read wday month day time year pid level rest; do echo $month $day $time localhost spamassassin$pid $rest; done /var/log/spamd/spamd.log | lr_log2report spamassassin spam . This would mangle your syslog stuff to a more common format, likely understandable by Lire. Please report if this helps. Hello. Seems to help, as there are no errors now, but there is also nothing counted in the report just like the log did not contain valid records. Parsing log file using spamassassin DLF Converter... Extracted 0 DLF records on 811 lines. Encountered 0 errors and ignored 0 lines. Running analysers... Generating XML report... Formatting report as txt in -... This is the report: Report generated: 2008-02-09 09:51:19 CET Reporting on period: Unknown Period Statistics -- Messages Scanned by 1d Period No content in report. Total Number of Messages Tagged As SPAM by 1d Period No content in report. Maximum SPAM Score by 1d Period No content in report. Delay by 1d Period No content in report. Mailboxes - Top 10 People Receiving SPAM No content in report. Thank you for your work. -- http://miki.menek.one.pl [EMAIL PROTECTED] Gadu-gadu: 2128279 Mobile: +48607345846 IRC: `miki` -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#463992: lire: spamassassin2dlf does not work with spamassassin's 3.2.3 logs
Hi Mikołaj, Op Sat 9 Feb 2008 om 10:01:40 +0100 schreef Mikołaj Menke: On 2008-02-09 02:17 user Joost van Baal wrote: It seems it's not spamassassin, but your syslog which makes Lire choke. Please try to run: while read wday month day time year pid level rest; do echo $month $day $time localhost spamassassin$pid $rest; done /var/log/spamd/spamd.log | lr_log2report spamassassin spam . This would mangle your syslog stuff to a more common format, likely understandable by Lire. Please report if this helps. Hello. Seems to help, as there are no errors now, but there is also nothing counted in the report just like the log did not contain valid records. Parsing log file using spamassassin DLF Converter... Extracted 0 DLF records on 811 lines. Encountered 0 errors and ignored 0 lines. Running analysers... Generating XML report... Formatting report as txt in -... Could you show me some lines of your log file? (Mail me privately, if you prefer.) You _are_ using spamassassin's spamd, aren't you? Bye, Joost -- .. Log Analysis and Report Generation | '.|/^LogReport$/ | Lirehttp://www.logreport.org/ signature.asc Description: Digital signature
Bug#463992: lire: spamassassin2dlf does not work with spamassassin's 3.2.3 logs
Hi, Thanks for your bugreport! Op Mon 4 Feb 2008 om 04:55:48 +0100 schreef Mikolaj Menke: Package: lire Version: 2:2.0.2-3 Severity: normal Seems like spamassassin2dlf is no more compatible with spamassassin logs, my spamassassin version is 3.2.3. menek:~# lr_log2report spamassassin /var/log/spamd/spamd.log spam Parsing log file using spamassassin DLF Converter... lr_log2report: ERROR old-style DLF converter exited with non-zero status: 256 menek:~# ./spamassassin2dlf /var/log/spamd/spamd.log all all UNSET spamassassin2dlf info started with /var/log/spamd/spamd.log all all UNSET spamassassin2dlf err 'Mon Feb 4 15:44:38 2008 [16959] info: \config: failed to parse, now a plugin, skipping, in \/etc/spamassassin/local.cf: ok_languages en pl' wasn't recognized as a valid \ syslog format. all all UNSET spamassassin2dlf err If this indeed comes from a syslog variant, \ please contact [EMAIL PROTECTED] all all UNSET spamassassin2dlf err with your version of syslog so that support \can be added for it. all all UNSET spamassassin2dlf info elapsed time in seconds real=0 user=0.74 \system=0.01 all all UNSET spamassassin2dlf info stopped It seems it's not spamassassin, but your syslog which makes Lire choke. Please try to run: while read wday month day time year pid level rest; do echo $month $day $time localhost spamassassin$pid $rest; done /var/log/spamd/spamd.log | lr_log2report spamassassin spam . This would mangle your syslog stuff to a more common format, likely understandable by Lire. Please report if this helps. Thanks, Bye, Joost -- .. Log Analysis and Report Generation | '.|/^LogReport$/ | Lirehttp://www.logreport.org/ signature.asc Description: Digital signature
Bug#463992: lire: spamassassin2dlf does not work with spamassassin's 3.2.3 logs
Package: lire Version: 2:2.0.2-3 Severity: normal Seems like spamassassin2dlf is no more compatible with spamassassin logs, my spamassassin version is 3.2.3. menek:~# lr_log2report spamassassin /var/log/spamd/spamd.log spam Parsing log file using spamassassin DLF Converter... lr_log2report: ERROR old-style DLF converter exited with non-zero status: 256 menek:~# ./spamassassin2dlf /var/log/spamd/spamd.log all all UNSET spamassassin2dlf info started with /var/log/spamd/spamd.log all all UNSET spamassassin2dlf err 'Mon Feb 4 15:44:38 2008 [16959] info: \config: failed to parse, now a plugin, skipping, in \/etc/spamassassin/local.cf: ok_languages en pl' wasn't recognized as a valid \ syslog format. all all UNSET spamassassin2dlf err If this indeed comes from a syslog variant, \ please contact [EMAIL PROTECTED] all all UNSET spamassassin2dlf err with your version of syslog so that support \can be added for it. all all UNSET spamassassin2dlf info elapsed time in seconds real=0 user=0.74 \system=0.01 all all UNSET spamassassin2dlf info stopped -- System Information: Debian Release: 4.0 APT prefers proposed-updates APT policy: (500, 'proposed-updates'), (500, 'stable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.18 Locale: LANG=pl_PL, LC_CTYPE=pl_PL (charmap=ISO-8859-2) Versions of packages lire depends on: ii adduser 3.102Add and remove users and groups ii debconf [debconf-2.0] 1.5.11etch1 Debian configuration management sy ii exim4-daemon-heavy [mail-tr 4.63-17 exim MTA (v4) daemon with extended ii libcurses-ui-perl 0.95-5 curses-based OO user interface fra ii libdbd-sqlite2-perl 2:0.33-6 Perl DBI driver with a self-contai ii libintl-perl1.16-1 Uniforum message translations syst ii libmime-perl5.420-0.1Perl5 modules for MIME-compliant m ii libtime-modules-perl2003.1126-2 Various Perl modules for time/date ii libxml-parser-perl 2.34-4.2 Perl module for parsing XML files ii perl5.8.8-7etch1 Larry Wall's Practical Extraction Versions of packages lire recommends: pn libterm-readline-perl-perlnone (no description available) ii ploticus 2.33-2 script driven business graphics pa -- debconf information: * lire/use_existing_user: true * lire/purge_user_files: true * lire/use_existing_group: true -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]