|
View:
New views
15 Messages
—
Rating Filter:
Alert me
|
|
|
Cannot scan! SpamAssassin/PerMsgStatus.pm line 164.
Hello, this is the first time I've used a 'list' so if I have posted in the wrong context or using the wrong protocol please forgive my blunder.
Let me try again as clearly I did something wrong and 'hijacked' a thread accidentally. Can someone help me with Spamassassin? Here is an overview of where I am at: I'm running Ubuntu gutsy and have spamassassin installed. The original plan was to use it with Evolution. However, when I selected it as a plugin within Evolution it put every item of mail into the 'junk' folder and there were no spamassassin headers. My thinking was, let me test spamassassin is working at all before I get into MTA's, MUA's etc. So, I ran this: spamassassin --lint and ended up with: [9086] dbg: bayes: untie-ing check: no loaded plugin implements 'check_main': cannot scan! at /usr/share/perl5/Mail/SpamAssassin/PerMsgStatus.pm line 164. I then ran: spamassassin -D --lint and got: [9086] dbg: logger: adding facilities: all [9086] dbg: logger: logging level is DBG [9086] dbg: generic: SpamAssassin version 3.2.4 [9086] dbg: config: score set 0 chosen. [9086] dbg: util: running in taint mode? yes [9086] dbg: util: taint mode: deleting unsafe environment variables, resetting PATH [9086] dbg: util: PATH included '/usr/local/sbin', keeping [9086] dbg: util: PATH included '/usr/local/bin', keeping [9086] dbg: util: PATH included '/usr/sbin', keeping [9086] dbg: util: PATH included '/usr/bin', keeping [9086] dbg: util: PATH included '/sbin', keeping [9086] dbg: util: PATH included '/bin', keeping [9086] dbg: util: PATH included '/usr/games', keeping [9086] dbg: util: final PATH set to: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games [9086] dbg: dns: no ipv6 [9086] dbg: dns: is Net::DNS::Resolver available? yes [9086] dbg: dns: Net::DNS version: 0.60 [9086] dbg: diag: perl platform: 5.008008 linux [9086] dbg: diag: module installed: Digest::SHA1, version 2.11 [9086] dbg: diag: module installed: HTML::Parser, version 3.56 [9086] dbg: diag: module installed: Net::DNS, version 0.60 [9086] dbg: diag: module installed: MIME::Base64, version 3.07 [9086] dbg: diag: module installed: DB_File, version 1.814 [9086] dbg: diag: module installed: Net::SMTP, version 2.29 [9086] dbg: diag: module installed: Mail::SPF, version v2.005 [9086] dbg: diag: module not installed: Mail::SPF::Query ('require' failed) [9086] dbg: diag: module not installed: IP::Country::Fast ('require' failed) [9086] dbg: diag: module not installed: Razor2::Client::Agent ('require' failed) [9086] dbg: diag: module not installed: Net::Ident ('require' failed) [9086] dbg: diag: module not installed: IO::Socket::INET6 ('require' failed) [9086] dbg: diag: module not installed: IO::Socket::SSL ('require' failed) [9086] dbg: diag: module installed: Compress::Zlib, version 2.005 [9086] dbg: diag: module installed: Time::HiRes, version 1.86 [9086] dbg: diag: module not installed: Mail::DomainKeys ('require' failed) [9086] dbg: diag: module not installed: Mail::DKIM ('require' failed) [9086] dbg: diag: module installed: DBI, version 1.57 [9086] dbg: diag: module installed: Getopt::Long, version 2.35 [9086] dbg: diag: module installed: LWP::UserAgent, version 2.033 [9086] dbg: diag: module installed: HTTP::Date, version 1.47 [9086] dbg: diag: module installed: Archive::Tar, version 1.31 [9086] dbg: diag: module installed: IO::Zlib, version 1.04 [9086] dbg: diag: module not installed: Encode::Detect ('require' failed) [9086] dbg: ignore: using a test message to lint rules [9086] dbg: config: using "/etc/spamassassin" for site rules pre files [9086] dbg: config: using "/usr/share/spamassassin" for sys rules pre files [9086] dbg: config: using "/usr/share/spamassassin" for default rules dir [9086] dbg: config: read file /usr/share/spamassassin/10_default_prefs.cf [9086] dbg: config: read file /usr/share/spamassassin/20_advance_fee.cf [9086] dbg: config: read file /usr/share/spamassassin/20_body_tests.cf [9086] dbg: config: read file /usr/share/spamassassin/20_compensate.cf [9086] dbg: config: read file /usr/share/spamassassin/20_dnsbl_tests.cf [9086] dbg: config: read file /usr/share/spamassassin/20_drugs.cf [9086] dbg: config: read file /usr/share/spamassassin/20_dynrdns.cf [9086] dbg: config: read file /usr/share/spamassassin/20_fake_helo_tests.cf [9086] dbg: config: read file /usr/share/spamassassin/20_head_tests.cf [9086] dbg: config: read file /usr/share/spamassassin/20_html_tests.cf [9086] dbg: config: read file /usr/share/spamassassin/20_imageinfo.cf [9086] dbg: config: read file /usr/share/spamassassin/20_meta_tests.cf [9086] dbg: config: read file /usr/share/spamassassin/20_net_tests.cf [9086] dbg: config: read file /usr/share/spamassassin/20_phrases.cf [9086] dbg: config: read file /usr/share/spamassassin/20_porn.cf [9086] dbg: config: read file /usr/share/spamassassin/20_ratware.cf [9086] dbg: config: read file /usr/share/spamassassin/20_uri_tests.cf [9086] dbg: config: read file /usr/share/spamassassin/20_vbounce.cf [9086] dbg: config: read file /usr/share/spamassassin/23_bayes.cf [9086] dbg: config: read file /usr/share/spamassassin/25_accessdb.cf [9086] dbg: config: read file /usr/share/spamassassin/25_antivirus.cf [9086] dbg: config: read file /usr/share/spamassassin/25_asn.cf [9086] dbg: config: read file /usr/share/spamassassin/25_dcc.cf [9086] dbg: config: read file /usr/share/spamassassin/25_dkim.cf [9086] dbg: config: read file /usr/share/spamassassin/25_domainkeys.cf [9086] dbg: config: read file /usr/share/spamassassin/25_hashcash.cf [9086] dbg: config: read file /usr/share/spamassassin/25_pyzor.cf [9086] dbg: config: read file /usr/share/spamassassin/25_razor2.cf [9086] dbg: config: read file /usr/share/spamassassin/25_replace.cf [9086] dbg: config: read file /usr/share/spamassassin/25_spf.cf [9086] dbg: config: read file /usr/share/spamassassin/25_textcat.cf [9086] dbg: config: read file /usr/share/spamassassin/25_uribl.cf [9086] dbg: config: read file /usr/share/spamassassin/30_text_de.cf [9086] dbg: config: read file /usr/share/spamassassin/30_text_fr.cf [9086] dbg: config: read file /usr/share/spamassassin/30_text_it.cf [9086] dbg: config: read file /usr/share/spamassassin/30_text_nl.cf [9086] dbg: config: read file /usr/share/spamassassin/30_text_pl.cf [9086] dbg: config: read file /usr/share/spamassassin/30_text_pt_br.cf [9086] dbg: config: read file /usr/share/spamassassin/50_scores.cf [9086] dbg: config: read file /usr/share/spamassassin/60_awl.cf [9086] dbg: config: read file /usr/share/spamassassin/60_shortcircuit.cf [9086] dbg: config: read file /usr/share/spamassassin/60_whitelist.cf [9086] dbg: config: read file /usr/share/spamassassin/60_whitelist_dk.cf [9086] dbg: config: read file /usr/share/spamassassin/60_whitelist_dkim.cf [9086] dbg: config: read file /usr/share/spamassassin/60_whitelist_spf.cf [9086] dbg: config: read file /usr/share/spamassassin/60_whitelist_subject.cf [9086] dbg: config: read file /usr/share/spamassassin/72_active.cf [9086] dbg: config: using "/etc/spamassassin" for site rules dir [9086] dbg: config: using "/home/user1/.spamassassin/user_prefs" for user prefs file [9086] dbg: config: read file /home/user1/.spamassassin/user_prefs [9086] dbg: rules: __MO_OL_9B90B merged duplicates: __MO_OL_C65FA [9086] dbg: rules: __XM_OL_22B61 merged duplicates: __XM_OL_A842E [9086] dbg: rules: __MO_OL_07794 merged duplicates: __MO_OL_8627E __MO_OL_F3B05 [9086] dbg: rules: __XM_OL_07794 merged duplicates: __XM_OL_25340 __XM_OL_3857F __XM_OL_4F240 __XM_OL_58CB5 __XM_OL_6554A __XM_OL_812FF __XM_OL_C65FA __XM_OL_CF0C0 __XM_OL_F475E __XM_OL_F6D01 [9086] dbg: rules: FH_MSGID_01C67 merged duplicates: __MSGID_VGA [9086] dbg: rules: FS_NEW_SOFT_UPLOAD merged duplicates: HS_SUBJ_NEW_SOFTWARE [9086] dbg: rules: __FH_HAS_XMSMAIL merged duplicates: __HAS_MSMAIL_PRI [9086] dbg: rules: __MO_OL_015D5 merged duplicates: __MO_OL_6554A [9086] dbg: rules: __MO_OL_91287 merged duplicates: __MO_OL_B30D1 __MO_OL_CF0C0 [9086] dbg: rules: KAM_STOCKOTC merged duplicates: KAM_STOCKTIP15 KAM_STOCKTIP20 KAM_STOCKTIP21 KAM_STOCKTIP4 KAM_STOCKTIP6 [9086] dbg: rules: __XM_OL_015D5 merged duplicates: __XM_OL_4BF4C __XM_OL_4EEDB __XM_OL_5B79A __XM_OL_9B90B __XM_OL_ADFF7 __XM_OL_B30D1 __XM_OL_B4B40 __XM_OL_BC7E6 __XM_OL_F3B05 __XM_OL_FF5C8 [9086] dbg: rules: __MO_OL_22B61 merged duplicates: __MO_OL_4F240 __MO_OL_ADFF7 [9086] dbg: rules: __MO_OL_812FF merged duplicates: __MO_OL_BC7E6 [9086] dbg: rules: __MO_OL_25340 merged duplicates: __MO_OL_4EEDB __MO_OL_7533E [9086] dbg: rules: __MO_OL_58CB5 merged duplicates: __MO_OL_B4B40 [9086] dbg: rules: __DOS_HAS_ANY_URI merged duplicates: __HAS_ANY_URI [9086] dbg: rules: __XM_OL_C9068 merged duplicates: __XM_OL_EF20B [9086] dbg: rules: __MO_OL_72641 merged duplicates: __MO_OL_A842E [9086] dbg: rules: __MO_OL_F475E merged duplicates: __MO_OL_FF5C8 [9086] dbg: rules: __MO_OL_4BF4C merged duplicates: __MO_OL_F6D01 [9086] dbg: conf: finish parsing [9086] dbg: bayes: tie-ing to DB file R/O /home/user1/.spamassassin/bayes_toks [9086] dbg: bayes: tie-ing to DB file R/O /home/user1/.spamassassin/bayes_seen [9086] dbg: bayes: found bayes db version 3 [9086] dbg: bayes: DB journal sync: last sync: 1214824766 [9086] dbg: bayes: not available for scanning, only 1 spam(s) in bayes DB < 200 [9086] dbg: bayes: untie-ing [9086] dbg: config: score set 0 chosen. [9086] dbg: message: main message type: text/plain [9086] dbg: message: ---- MIME PARSER START ---- [9086] dbg: message: parsing normal part [9086] dbg: message: ---- MIME PARSER END ---- [9086] dbg: bayes: tie-ing to DB file R/O /home/user1/.spamassassin/bayes_toks [9086] dbg: bayes: tie-ing to DB file R/O /home/user1/.spamassassin/bayes_seen [9086] dbg: bayes: found bayes db version 3 [9086] dbg: bayes: DB journal sync: last sync: 1214824766 [9086] dbg: bayes: not available for scanning, only 1 spam(s) in bayes DB < 200 [9086] dbg: bayes: untie-ing check: no loaded plugin implements 'check_main': cannot scan! at /usr/share/perl5/Mail/SpamAssassin/PerMsgStatus.pm line 164. I've spent a number of days googling to resolve this, but I'm getting nowhere. Any pointers would be very welcome. |
|
|
Re: Cannot scan! SpamAssassin/PerMsgStatus.pm line 164.On Thu, 2008-07-03 at 10:11 +0100, Richard Johnson wrote:
> I'm running Ubuntu gutsy and have spamassassin installed. The original > plan was to use it with Evolution. However, when I selected it as a > plugin within Evolution it put every item of mail into the 'junk' > folder and there were no spamassassin headers. The Evolution plugin will not alter the message, but check the return code only. It does not insert X-Spam headers. > My thinking was, let me test spamassassin is working at all before I > get into MTA's, MUA's etc. > > So, I ran this: > spamassassin --lint > > and ended up with: > > [9086] dbg: bayes: untie-ing > check: no loaded plugin implements 'check_main': cannot scan! > at /usr/share/perl5/Mail/SpamAssassin/PerMsgStatus.pm line 164. Last time I've seen this (chatter on bugzilla, sigh) the cause of this problem was, that the .pre files have been missing. > [9086] dbg: config: using "/etc/spamassassin" for site rules pre > files Check there, if there are any *.pre files, and which plugins they include. If not, your install (or the package) likely is broken. The requested, failing functionality is added in the default .pre files. guenther -- char *t="\10pse\0r\0dtu\0.@ghno\x4e\xc8\x79\xf4\xab\x51\x8a\x10\xf4\xf4\xc4"; main(){ char h,m=h=*t++,*x=t+2*h,c,i,l=*x,s=0; for (i=0;i<l;i++){ i%8? c<<=1: (c=*++x); c&128 && (s+=h); if (!(h>>=1)||!t[s+h]){ putchar(t[s]);h=m;s=0; }}} |
|
|
|
|
|
Re: Cannot scan! SpamAssassin/PerMsgStatus.pm line 164.On Thu, 2008-07-03 at 16:34 +0200, Karsten Bräckelmann wrote: > > Leaving the evolution plugin thing to one side for now. > > > > I don't have any .pre files. /etc/spamassassin is empty. > > See, there's your problem. > Thank you, Karsten. I've learned the [ctrl] + [l] now. My apologies, I did not want to start a war. As the .pre files are missing, what would I do to rectify it? What should they contain? |
|
|
Re: Cannot scan! SpamAssassin/PerMsgStatus.pm line 164.On Thu, Jul 03, 2008 at 06:01:21PM +0100, Richard Johnson wrote:
> As the .pre files are missing, what would I do to rectify it? What > should they contain? If you're missing pre files, I would suggest reinstalling SA. A normal installation will include the content you need, and who knows what else you are missing. -- Randomly Selected Tagline: You just have to give guys a chance. Sometimes you meet a guy and think he's a pig, but then later on you realize that he has a really good body. - Amy on Futurama, "Love's Labour Lost in Space" |
|
|
Re: Cannot scan! SpamAssassin/PerMsgStatus.pm line 164.On Thu, 2008-07-03 at 18:01 +0100, Richard Johnson wrote:
> Thank you, Karsten. I've learned the [ctrl] + [l] now. My apologies, I > did not want to start a war. Nah, you didn't, don't worry. :) guenther -- char *t="\10pse\0r\0dtu\0.@ghno\x4e\xc8\x79\xf4\xab\x51\x8a\x10\xf4\xf4\xc4"; main(){ char h,m=h=*t++,*x=t+2*h,c,i,l=*x,s=0; for (i=0;i<l;i++){ i%8? c<<=1: (c=*++x); c&128 && (s+=h); if (!(h>>=1)||!t[s+h]){ putchar(t[s]);h=m;s=0; }}} |
|
|
Re: Cannot scan! SpamAssassin/PerMsgStatus.pm line 164.On Thu, 2008-07-03 at 13:34 -0400, Theo Van Dinter wrote: > On Thu, Jul 03, 2008 at 06:01:21PM +0100, Richard Johnson wrote: > > As the .pre files are missing, what would I do to rectify it? What > > should they contain? > > If you're missing pre files, I would suggest reinstalling SA. A normal > installation will include the content you need, and who knows what else you > are missing. > I tried that before I started to look for help. The results were the same. Only at first I also had warnings of empty/no bayes DB's. What do the .pre files contain and can I recreate them? |
|
|
Re: Cannot scan! SpamAssassin/PerMsgStatus.pm line 164.On Thu, 2008-07-03 at 20:38 +0100, Richard Johnson wrote:
> On Thu, 2008-07-03 at 13:34 -0400, Theo Van Dinter wrote: > > If you're missing pre files, I would suggest reinstalling SA. A normal > > installation will include the content you need, and who knows what else you > > are missing. > > I tried that before I started to look for help. The results were the > same. Only at first I also had warnings of empty/no bayes DB's. > > What do the .pre files contain and can I recreate them? Then your install is seriously broken. Are you using the official Ubuntu debs, or anything else? guenther -- char *t="\10pse\0r\0dtu\0.@ghno\x4e\xc8\x79\xf4\xab\x51\x8a\x10\xf4\xf4\xc4"; main(){ char h,m=h=*t++,*x=t+2*h,c,i,l=*x,s=0; for (i=0;i<l;i++){ i%8? c<<=1: (c=*++x); c&128 && (s+=h); if (!(h>>=1)||!t[s+h]){ putchar(t[s]);h=m;s=0; }}} |
|
|
Re: Cannot scan! SpamAssassin/PerMsgStatus.pm line 164.On Thu, 2008-07-03 at 21:53 +0200, Karsten Bräckelmann wrote: > On Thu, 2008-07-03 at 20:38 +0100, Richard Johnson wrote: > > On Thu, 2008-07-03 at 13:34 -0400, Theo Van Dinter wrote: > > > > If you're missing pre files, I would suggest reinstalling SA. A normal > > > installation will include the content you need, and who knows what else you > > > are missing. > > > > I tried that before I started to look for help. The results were the > > same. Only at first I also had warnings of empty/no bayes DB's. > > > > What do the .pre files contain and can I recreate them? > > Then your install is seriously broken. Are you using the official Ubuntu > debs, or anything else? > > guenther > > (I don't use 'sudo' as I have a root account): apt-get remove spamassassin Reading package lists... Done Building dependency tree Reading state information... Done The following packages will be REMOVED spamassassin 0 upgraded, 0 newly installed, 1 to remove and 6 not upgraded. Need to get 0B of archives. After unpacking 3494kB disk space will be freed. Do you want to continue [Y/n]? y (Reading database ... 137636 files and directories currently installed.) Removing spamassassin ... Stopping SpamAssassin Mail Filter Daemon: No /usr/bin/perl found running; none killed. spamd. I have just spotted the line: "No /usr/bin/perl found" I know I have perl on the machine, as I use a number of perl scripts - so I need to look at why the SA install is complaining. I then reinstall: apt-get install spamassassin Reading package lists... Done Building dependency tree Reading state information... Done Suggested packages: razor libnet-ident-perl libio-socket-ssl-perl pyzor libmail-dkim-perl Recommended packages: spamc re2c libsys-syslog-perl The following NEW packages will be installed spamassassin 0 upgraded, 1 newly installed, 0 to remove and 6 not upgraded. Need to get 0B/1082kB of archives. After unpacking 3494kB of additional disk space will be used. Selecting previously deselected package spamassassin. (Reading database ... 137379 files and directories currently installed.) Unpacking spamassassin (from .../spamassassin_3.2.4-2ubuntu1~gutsy1_all.deb) ... Setting up spamassassin (3.2.4-2ubuntu1~gutsy1) ... Starting SpamAssassin Mail Filter Daemon: spamd. I then run: spamassassin -D --lint [6727] dbg: logger: adding facilities: all [6727] dbg: logger: logging level is DBG [6727] dbg: generic: SpamAssassin version 3.2.4 [6727] dbg: config: score set 0 chosen. [6727] dbg: util: running in taint mode? yes [6727] dbg: util: taint mode: deleting unsafe environment variables, resetting PATH [6727] dbg: util: PATH included '/usr/local/sbin', keeping [6727] dbg: util: PATH included '/usr/local/bin', keeping [6727] dbg: util: PATH included '/usr/sbin', keeping [6727] dbg: util: PATH included '/usr/bin', keeping [6727] dbg: util: PATH included '/sbin', keeping [6727] dbg: util: PATH included '/bin', keeping [6727] dbg: util: PATH included '/usr/games', keeping [6727] dbg: util: final PATH set to: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games [6727] dbg: dns: no ipv6 [6727] dbg: dns: is Net::DNS::Resolver available? yes [6727] dbg: dns: Net::DNS version: 0.60 [6727] dbg: diag: perl platform: 5.008008 linux [6727] dbg: diag: module installed: Digest::SHA1, version 2.11 [6727] dbg: diag: module installed: HTML::Parser, version 3.56 [6727] dbg: diag: module installed: Net::DNS, version 0.60 [6727] dbg: diag: module installed: MIME::Base64, version 3.07 [6727] dbg: diag: module installed: DB_File, version 1.814 [6727] dbg: diag: module installed: Net::SMTP, version 2.29 [6727] dbg: diag: module installed: Mail::SPF, version v2.005 [6727] dbg: diag: module not installed: Mail::SPF::Query ('require' failed) [6727] dbg: diag: module not installed: IP::Country::Fast ('require' failed) [6727] dbg: diag: module not installed: Razor2::Client::Agent ('require' failed) [6727] dbg: diag: module not installed: Net::Ident ('require' failed) [6727] dbg: diag: module not installed: IO::Socket::INET6 ('require' failed) [6727] dbg: diag: module not installed: IO::Socket::SSL ('require' failed) [6727] dbg: diag: module installed: Compress::Zlib, version 2.005 [6727] dbg: diag: module installed: Time::HiRes, version 1.86 [6727] dbg: diag: module not installed: Mail::DomainKeys ('require' failed) [6727] dbg: diag: module not installed: Mail::DKIM ('require' failed) [6727] dbg: diag: module installed: DBI, version 1.57 [6727] dbg: diag: module installed: Getopt::Long, version 2.35 [6727] dbg: diag: module installed: LWP::UserAgent, version 2.033 [6727] dbg: diag: module installed: HTTP::Date, version 1.47 [6727] dbg: diag: module installed: Archive::Tar, version 1.31 [6727] dbg: diag: module installed: IO::Zlib, version 1.04 [6727] dbg: diag: module not installed: Encode::Detect ('require' failed) [6727] dbg: ignore: using a test message to lint rules [6727] dbg: config: using "/etc/spamassassin" for site rules pre files [6727] dbg: config: using "/usr/share/spamassassin" for sys rules pre files [6727] dbg: config: using "/usr/share/spamassassin" for default rules dir [6727] dbg: config: read file /usr/share/spamassassin/10_default_prefs.cf [6727] dbg: config: read file /usr/share/spamassassin/20_advance_fee.cf [6727] dbg: config: read file /usr/share/spamassassin/20_body_tests.cf [6727] dbg: config: read file /usr/share/spamassassin/20_compensate.cf [6727] dbg: config: read file /usr/share/spamassassin/20_dnsbl_tests.cf [6727] dbg: config: read file /usr/share/spamassassin/20_drugs.cf [6727] dbg: config: read file /usr/share/spamassassin/20_dynrdns.cf [6727] dbg: config: read file /usr/share/spamassassin/20_fake_helo_tests.cf [6727] dbg: config: read file /usr/share/spamassassin/20_head_tests.cf [6727] dbg: config: read file /usr/share/spamassassin/20_html_tests.cf [6727] dbg: config: read file /usr/share/spamassassin/20_imageinfo.cf [6727] dbg: config: read file /usr/share/spamassassin/20_meta_tests.cf [6727] dbg: config: read file /usr/share/spamassassin/20_net_tests.cf [6727] dbg: config: read file /usr/share/spamassassin/20_phrases.cf [6727] dbg: config: read file /usr/share/spamassassin/20_porn.cf [6727] dbg: config: read file /usr/share/spamassassin/20_ratware.cf [6727] dbg: config: read file /usr/share/spamassassin/20_uri_tests.cf [6727] dbg: config: read file /usr/share/spamassassin/20_vbounce.cf [6727] dbg: config: read file /usr/share/spamassassin/23_bayes.cf [6727] dbg: config: read file /usr/share/spamassassin/25_accessdb.cf [6727] dbg: config: read file /usr/share/spamassassin/25_antivirus.cf [6727] dbg: config: read file /usr/share/spamassassin/25_asn.cf [6727] dbg: config: read file /usr/share/spamassassin/25_dcc.cf [6727] dbg: config: read file /usr/share/spamassassin/25_dkim.cf [6727] dbg: config: read file /usr/share/spamassassin/25_domainkeys.cf [6727] dbg: config: read file /usr/share/spamassassin/25_hashcash.cf [6727] dbg: config: read file /usr/share/spamassassin/25_pyzor.cf [6727] dbg: config: read file /usr/share/spamassassin/25_razor2.cf [6727] dbg: config: read file /usr/share/spamassassin/25_replace.cf [6727] dbg: config: read file /usr/share/spamassassin/25_spf.cf [6727] dbg: config: read file /usr/share/spamassassin/25_textcat.cf [6727] dbg: config: read file /usr/share/spamassassin/25_uribl.cf [6727] dbg: config: read file /usr/share/spamassassin/30_text_de.cf [6727] dbg: config: read file /usr/share/spamassassin/30_text_fr.cf [6727] dbg: config: read file /usr/share/spamassassin/30_text_it.cf [6727] dbg: config: read file /usr/share/spamassassin/30_text_nl.cf [6727] dbg: config: read file /usr/share/spamassassin/30_text_pl.cf [6727] dbg: config: read file /usr/share/spamassassin/30_text_pt_br.cf [6727] dbg: config: read file /usr/share/spamassassin/50_scores.cf [6727] dbg: config: read file /usr/share/spamassassin/60_awl.cf [6727] dbg: config: read file /usr/share/spamassassin/60_shortcircuit.cf [6727] dbg: config: read file /usr/share/spamassassin/60_whitelist.cf [6727] dbg: config: read file /usr/share/spamassassin/60_whitelist_dk.cf [6727] dbg: config: read file /usr/share/spamassassin/60_whitelist_dkim.cf [6727] dbg: config: read file /usr/share/spamassassin/60_whitelist_spf.cf [6727] dbg: config: read file /usr/share/spamassassin/60_whitelist_subject.cf [6727] dbg: config: read file /usr/share/spamassassin/72_active.cf [6727] dbg: config: using "/etc/spamassassin" for site rules dir [6727] dbg: config: using "/root/.spamassassin/user_prefs" for user prefs file [6727] dbg: config: read file /root/.spamassassin/user_prefs [6727] dbg: rules: __MO_OL_9B90B merged duplicates: __MO_OL_C65FA [6727] dbg: rules: __XM_OL_22B61 merged duplicates: __XM_OL_A842E [6727] dbg: rules: __MO_OL_07794 merged duplicates: __MO_OL_8627E __MO_OL_F3B05 [6727] dbg: rules: __XM_OL_07794 merged duplicates: __XM_OL_25340 __XM_OL_3857F __XM_OL_4F240 __XM_OL_58CB5 __XM_OL_6554A __XM_OL_812FF __XM_OL_C65FA __XM_OL_CF0C0 __XM_OL_F475E __XM_OL_F6D01 [6727] dbg: rules: FH_MSGID_01C67 merged duplicates: __MSGID_VGA [6727] dbg: rules: FS_NEW_SOFT_UPLOAD merged duplicates: HS_SUBJ_NEW_SOFTWARE [6727] dbg: rules: __FH_HAS_XMSMAIL merged duplicates: __HAS_MSMAIL_PRI [6727] dbg: rules: __MO_OL_015D5 merged duplicates: __MO_OL_6554A [6727] dbg: rules: __MO_OL_91287 merged duplicates: __MO_OL_B30D1 __MO_OL_CF0C0 [6727] dbg: rules: KAM_STOCKOTC merged duplicates: KAM_STOCKTIP15 KAM_STOCKTIP20 KAM_STOCKTIP21 KAM_STOCKTIP4 KAM_STOCKTIP6 [6727] dbg: rules: __XM_OL_015D5 merged duplicates: __XM_OL_4BF4C __XM_OL_4EEDB __XM_OL_5B79A __XM_OL_9B90B __XM_OL_ADFF7 __XM_OL_B30D1 __XM_OL_B4B40 __XM_OL_BC7E6 __XM_OL_F3B05 __XM_OL_FF5C8 [6727] dbg: rules: __MO_OL_22B61 merged duplicates: __MO_OL_4F240 __MO_OL_ADFF7 [6727] dbg: rules: __MO_OL_812FF merged duplicates: __MO_OL_BC7E6 [6727] dbg: rules: __MO_OL_25340 merged duplicates: __MO_OL_4EEDB __MO_OL_7533E [6727] dbg: rules: __MO_OL_58CB5 merged duplicates: __MO_OL_B4B40 [6727] dbg: rules: __DOS_HAS_ANY_URI merged duplicates: __HAS_ANY_URI [6727] dbg: rules: __XM_OL_C9068 merged duplicates: __XM_OL_EF20B [6727] dbg: rules: __MO_OL_72641 merged duplicates: __MO_OL_A842E [6727] dbg: rules: __MO_OL_F475E merged duplicates: __MO_OL_FF5C8 [6727] dbg: rules: __MO_OL_4BF4C merged duplicates: __MO_OL_F6D01 [6727] dbg: conf: finish parsing [6727] dbg: bayes: no dbs present, cannot tie DB R/O: /root/.spamassassin/bayes_toks [6727] dbg: config: score set 0 chosen. [6727] dbg: message: main message type: text/plain [6727] dbg: message: ---- MIME PARSER START ---- [6727] dbg: message: parsing normal part [6727] dbg: message: ---- MIME PARSER END ---- [6727] dbg: bayes: no dbs present, cannot tie DB R/O: /root/.spamassassin/bayes_toks check: no loaded plugin implements 'check_main': cannot scan! at /usr/share/perl5/Mail/SpamAssassin/PerMsgStatus.pm line 164. Would that look 'seriously broke'? |
|
|
Re: Cannot scan! SpamAssassin/PerMsgStatus.pm line 164.Richard Johnson <richard@...> wrote:
[...] > Stopping SpamAssassin Mail Filter Daemon: No /usr/bin/perl found This is odd, try to fix it. [...] > check: no loaded plugin implements 'check_main': cannot scan! > at /usr/share/perl5/Mail/SpamAssassin/PerMsgStatus.pm line 164. > > Would that look 'seriously broke'? Your SA installation is suspect because it does not (at least based on the evidence you provide) install the .pre files. Your problem may now be better addressed on an Ubuntu mailing list. -- Sahil Tandon <sahil@...> |
|
|
Re: Cannot scan! SpamAssassin/PerMsgStatus.pm line 164.With this in mind it started to look like a perl issue:
> I have just spotted the line: "No /usr/bin/perl found" So I checked: -rwxr-xr-x 2 root root 1.1M 2007-12-04 09:18 perl -rwxr-xr-x 2 root root 1.1M 2007-12-04 09:18 perl5.8.8 -rwxr-xr-x 1 root root 37K 2007-12-04 09:18 perlbug -rwxr-xr-x 1 root root 18K 2007-12-04 09:18 perlcc -rwxr-xr-x 1 root root 125 2007-12-04 09:18 perldoc -rwxr-xr-x 1 root root 12K 2007-12-04 09:18 perlivp -rwxr-xr-x 1 root root 1.3M 2008-03-19 20:58 perror It is there without any doubt. I then did: perl -v This is perl, v5.8.8 built for i486-linux-gnu-thread-multi I notice two versions, but in any case "No /usr/bin/perl found" is clearly incorrect as it is there. So, it is on to the merrygoround. So, where can that problem be? Any ideas? |
|
|
Re: Cannot scan! SpamAssassin/PerMsgStatus.pm line 164.Richard Johnson wrote:
> Stopping SpamAssassin Mail Filter Daemon: No /usr/bin/perl found > running; none killed. > spamd. > I have just spotted the line: "No /usr/bin/perl found" It didn't just say that. It said "No /usr/bin/perl found running; none killed.", wich has a very different meaning. Considering that it was prefixed "Stopping SpamAssassin Mail Filter Daemon:" I suspect that the script was looking for a running spamd (wich would be a perl process) and didn't find any. > check: no loaded plugin implements 'check_main': cannot scan! > at /usr/share/perl5/Mail/SpamAssassin/PerMsgStatus.pm line 164. > Would that look 'seriously broke'? For a just installed and never modified SpamAssassin package that do look broken. Unless the package came with some information about additional setup instructions the maintainer expects you to follow in order to get it wirking. Regards /Jonas -- Jonas Eckerman, FSDB & Fruktträdet http://whatever.frukt.org/ http://www.fsdb.org/ http://www.frukt.org/ |
|
|
Re: Cannot scan! SpamAssassin/PerMsgStatus.pm line 164.Richard Johnson schrieb am 04.07.2008 06:35:
> I then reinstall: > apt-get install spamassassin [...] > Suggested packages: > razor libnet-ident-perl libio-socket-ssl-perl pyzor libmail-dkim-perl > Recommended packages: > spamc re2c libsys-syslog-perl > The following NEW packages will be installed > spamassassin > 0 upgraded, 1 newly installed, 0 to remove and 6 not upgraded. Your Linux distribution seems to have split SpamAssassin in 2 packages: spamassassin and spamc. Spamc is a light-weight spamassassin replacement (used in combination with spamd). Perhaps the missing *.pre files are contained in that package. Try to install it in addition to the spamassassin package. Tschau Alex |
|
|
Re: Cannot scan! SpamAssassin/PerMsgStatus.pm line 164.On Fri, 2008-07-04 at 16:47 +0200, Alex Woick wrote: > Richard Johnson schrieb am 04.07.2008 06:35: > > I then reinstall: > > apt-get install spamassassin > [...] > > Suggested packages: > > razor libnet-ident-perl libio-socket-ssl-perl pyzor libmail-dkim-perl > > Recommended packages: > > spamc re2c libsys-syslog-perl > > The following NEW packages will be installed > > spamassassin > > 0 upgraded, 1 newly installed, 0 to remove and 6 not upgraded. > > Your Linux distribution seems to have split SpamAssassin in 2 packages: > spamassassin and spamc. Spamc is a light-weight spamassassin replacement > (used in combination with spamd). Perhaps the missing *.pre files are > contained in that package. Try to install it in addition to the > spamassassin package. > > Tschau > Alex > Tried adding spamc, then even re2c, libsys-syslog-perl but still doing just the same. There are still no *.pre files to be found on the system. If I try to restart spamassassin I get this: /etc/init.d/spamassassin stop Stopping SpamAssassin Mail Filter Daemon: No /usr/bin/perl found running; none killed. spamd. and as before the spamassassin -D --lint gives: [27161] dbg: bayes: no dbs present, cannot tie DB R/O: /user1/.spamassassin/bayes_toks check: no loaded plugin implements 'check_main': cannot scan! at /usr/share/perl5/Mail/SpamAssassin/PerMsgStatus.pm line 164. This is driving me crazy now. This has to be a bust install? |
|
|
Re: Cannot scan! SpamAssassin/PerMsgStatus.pm line 164.On Fri, 2008-07-04 at 16:47 +0200, Alex Woick wrote: > Richard Johnson schrieb am 04.07.2008 06:35: > > I then reinstall: > > apt-get install spamassassin > [...] > > Suggested packages: > > razor libnet-ident-perl libio-socket-ssl-perl pyzor libmail-dkim-perl > > Recommended packages: > > spamc re2c libsys-syslog-perl > > The following NEW packages will be installed > > spamassassin > > 0 upgraded, 1 newly installed, 0 to remove and 6 not upgraded. > > Your Linux distribution seems to have split SpamAssassin in 2 packages: > spamassassin and spamc. Spamc is a light-weight spamassassin replacement > (used in combination with spamd). Perhaps the missing *.pre files are > contained in that package. Try to install it in addition to the > spamassassin package. > > Tschau > Alex > tried apt-get remove spamassassin and then apt-get install spamassassin a number of times there was no difference. However, I removed it and its dependencies using apt-get autoremove, purged it, apt-get clean to clear the cache and then apt-get install spamassassin and it now works. Why, I can't answer. May I thank everyone who took the time to reply to me. |
| Free Forum Powered by Nabble | Forum Help |