You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by li...@pcnetsources.com on 2007/05/15 11:51:01 UTC

no loaded plugin implements

Hello,

I just got finished the install from here:
http://www.flakshack.com/anti-spam/wiki/index.php . When i start amavis in
debug mode and it runs through its check I get the following error:

###############################
May 14 21:29:21 MARTINI.happynetworks.net /usr/local/sbin/amavisd[23697]:
(!!)TROUBLE in pre_loop_hook: check: no loaded plugin implements
'check_main': cannot scan! at
/usr/local/libdata/perl5/site_perl/Mail/SpamAssassin/PerMsgStatus.pm line
164.
Suicide () TROUBLE in pre_loop_hook: check: no loaded plugin implements
'check_main': cannot scan! at
/usr/local/libdata/perl5/site_perl/Mail/SpamAssassin/PerMsgStatus.pm line
164.
##############################

Now line 164 of this file:
/usr/local/libdata/perl5/site_perl/Mail/SpamAssassin/PerMsgStatus.pm

reads

die "check: no loaded plugin implements 'check_main': cannot scan!";


My v320.pre file has:

# Check - Provides main check functionality
#
loadplugin Mail::SpamAssassin::Plugin::Check


Googling didnt bring up anything in particular.. anyone have any ideas?

Thanks!


Re: no loaded plugin implements

Posted by li...@pcnetsources.com.
> On its own SA appears to be working.  I'd check to make sure that
> whatever user amavisd runs as (or at least starts as) can read your
> config files.  If that looks good and it still doesn't work I'd check
> with the folks on the amavisd list.
>
> Daryl
>
BTW the permissions for the spamassassin directory is:

drwxr-xr-x   2 root  wheel    512 May 13 14:02 spamassassin

Thanks again ..

Re: no loaded plugin implements

Posted by "Daryl C. W. O'Shea" <sp...@dostech.ca>.
listserv@pcnetsources.com wrote:
>> Run 'spamassassin -D --lint' to make sure SA is loading your config from
>> where you think it should be.  For whatever reason it's not reading your
>> v320.pre file (probably due to location or permissions).
>>
>> Daryl
>>
> 
> Thanks Daryl,
> 
> Here is the output and the config file is being read where i edited and
> expect. Any ideas from the output?
> 
> # spamassassin -D --lint

> [28524] dbg: plugin: Mail::SpamAssassin::Plugin::Check=HASH(0x813b0fdc)
> implements 'check_main', priority 0

On its own SA appears to be working.  I'd check to make sure that 
whatever user amavisd runs as (or at least starts as) can read your 
config files.  If that looks good and it still doesn't work I'd check 
with the folks on the amavisd list.

Daryl

Re: no loaded plugin implements

Posted by Theo Van Dinter <fe...@apache.org>.
On Tue, May 15, 2007 at 01:23:08PM -0400, listserv@pcnetsources.com wrote:
> Here is the output and the config file is being read where i edited and
> expect. Any ideas from the output?
[...]
> [28524] dbg: config: read file /etc/mail/spamassassin/v320.pre
[...]
> [28524] dbg: plugin: loading Mail::SpamAssassin::Plugin::Check from @INC

It appears that SA is working fine and loads the plugin.  You said
you were running through amavis though, which is something completely
different.  If there's a debug option there, you'd want to check it
that way.

-- 
Randomly Selected Tagline:
"...Unix, MS-DOS, and Windows NT (also known as the Good, the Bad, and
 the Ugly)."
 (By Matt Welsh)

Re: no loaded plugin implements

Posted by li...@pcnetsources.com.
> Ah, running amavisd-new chrooted, yes?
>
> Gary V

Yes Sir!

I had copy all files over but I guess some way some how that 320 file
didnt copy over.

Now to sort through the rest of the setup and get it to start filtering :)

Thanks!

Re: no loaded plugin implements

Posted by Gary V <mr...@hotmail.com>.
> >> # amavisd -d config debug-sa
> >> ps: pid: No such file or directory
> >> Pid_file "/var/amavisd/amavisd.pid" already exists.  Overwriting!
> >> [13583] dbg: config: score set 0 chosen.
> >> [13583] dbg: config: using "/etc/mail/spamassassin" for site rules pre
> >> files
> >> [13583] dbg: config: read file /etc/mail/spamassassin/init.pre
> >> [13583] dbg: config: read file /etc/mail/spamassassin/v310.pre
> >> [13583] dbg: config: using "/usr/local/share/spamassassin" for sys 
>rules
> >> pre files
> >
> > It's not using v320.pre.  Make sure the permissions for that file are
> > the same as init.pre or v310.pre.
> >
> > Daryl
> >
> >
>
>Thanks guys.. You were right .. It was file location. I looked over the
>docs again and its referring to /var/amavisd/etc/mail/spamassassin .. So
>after copying over the files from /etc/mail/spamassassin .. All is well
>now.
>
>Thank you.

Ah, running amavisd-new chrooted, yes?

Gary V

_________________________________________________________________
More photos, more messages, more storage—get 2GB with Windows Live Hotmail. 
http://imagine-windowslive.com/hotmail/?locale=en-us&ocid=TXT_TAGHM_migration_HM_mini_2G_0507


Re: no loaded plugin implements

Posted by li...@pcnetsources.com.
>> # amavisd -d config debug-sa
>> ps: pid: No such file or directory
>> Pid_file "/var/amavisd/amavisd.pid" already exists.  Overwriting!
>> [13583] dbg: config: score set 0 chosen.
>> [13583] dbg: config: using "/etc/mail/spamassassin" for site rules pre
>> files
>> [13583] dbg: config: read file /etc/mail/spamassassin/init.pre
>> [13583] dbg: config: read file /etc/mail/spamassassin/v310.pre
>> [13583] dbg: config: using "/usr/local/share/spamassassin" for sys rules
>> pre files
>
> It's not using v320.pre.  Make sure the permissions for that file are
> the same as init.pre or v310.pre.
>
> Daryl
>
>

Thanks guys.. You were right .. It was file location. I looked over the
docs again and its referring to /var/amavisd/etc/mail/spamassassin .. So
after copying over the files from /etc/mail/spamassassin .. All is well
now.

Thank you.

Re: no loaded plugin implements

Posted by "Daryl C. W. O'Shea" <sp...@dostech.ca>.
listserv@pcnetsources.com wrote:
>> Now run
>> amavisd -d config debug-sa
>>
>> Amavisd-new may disagree on where it looks for SA stuff.
>>
>> Gary V
>>
> 
> Thanks all for the help .. Here is the output to Gary's suggeston .. Seems
> all the same .. Again thank you everyone.
> 
> # amavisd -d config debug-sa
> ps: pid: No such file or directory
> Pid_file "/var/amavisd/amavisd.pid" already exists.  Overwriting!
> [13583] dbg: config: score set 0 chosen.
> [13583] dbg: config: using "/etc/mail/spamassassin" for site rules pre files
> [13583] dbg: config: read file /etc/mail/spamassassin/init.pre
> [13583] dbg: config: read file /etc/mail/spamassassin/v310.pre
> [13583] dbg: config: using "/usr/local/share/spamassassin" for sys rules
> pre files

It's not using v320.pre.  Make sure the permissions for that file are 
the same as init.pre or v310.pre.

Daryl


Re: no loaded plugin implements

Posted by li...@pcnetsources.com.
> Now run
> amavisd -d config debug-sa
>
> Amavisd-new may disagree on where it looks for SA stuff.
>
> Gary V
>

Thanks all for the help .. Here is the output to Gary's suggeston .. Seems
all the same .. Again thank you everyone.

# amavisd -d config debug-sa
ps: pid: No such file or directory
Pid_file "/var/amavisd/amavisd.pid" already exists.  Overwriting!
[13583] dbg: config: score set 0 chosen.
[13583] dbg: config: using "/etc/mail/spamassassin" for site rules pre files
[13583] dbg: config: read file /etc/mail/spamassassin/init.pre
[13583] dbg: config: read file /etc/mail/spamassassin/v310.pre
[13583] dbg: config: using "/usr/local/share/spamassassin" for sys rules
pre files
[13583] dbg: config: using "/usr/local/share/spamassassin" for default
rules dir
[13583] dbg: config: read file
/usr/local/share/spamassassin/10_default_prefs.cf
[13583] dbg: config: read file
/usr/local/share/spamassassin/20_advance_fee.cf
[13583] dbg: config: read file /usr/local/share/spamassassin/20_body_tests.cf
[13583] dbg: config: read file /usr/local/share/spamassassin/20_compensate.cf
[13583] dbg: config: read file
/usr/local/share/spamassassin/20_dnsbl_tests.cf
[13583] dbg: config: read file /usr/local/share/spamassassin/20_drugs.cf
[13583] dbg: config: read file /usr/local/share/spamassassin/20_dynrdns.cf
[13583] dbg: config: read file
/usr/local/share/spamassassin/20_fake_helo_tests.cf
[13583] dbg: config: read file /usr/local/share/spamassassin/20_head_tests.cf
[13583] dbg: config: read file /usr/local/share/spamassassin/20_html_tests.cf
[13583] dbg: config: read file /usr/local/share/spamassassin/20_imageinfo.cf
[13583] dbg: config: read file /usr/local/share/spamassassin/20_meta_tests.cf
[13583] dbg: config: read file /usr/local/share/spamassassin/20_net_tests.cf
[13583] dbg: config: read file /usr/local/share/spamassassin/20_phrases.cf
[13583] dbg: config: read file /usr/local/share/spamassassin/20_porn.cf
[13583] dbg: config: read file /usr/local/share/spamassassin/20_ratware.cf
[13583] dbg: config: read file /usr/local/share/spamassassin/20_uri_tests.cf
[13583] dbg: config: read file /usr/local/share/spamassassin/20_vbounce.cf
[13583] dbg: config: read file /usr/local/share/spamassassin/23_bayes.cf
[13583] dbg: config: read file /usr/local/share/spamassassin/25_accessdb.cf
[13583] dbg: config: read file /usr/local/share/spamassassin/25_antivirus.cf
[13583] dbg: config: read file /usr/local/share/spamassassin/25_asn.cf
[13583] dbg: config: read file /usr/local/share/spamassassin/25_dcc.cf
[13583] dbg: config: read file /usr/local/share/spamassassin/25_dkim.cf
[13583] dbg: config: read file /usr/local/share/spamassassin/25_domainkeys.cf
[13583] dbg: config: read file /usr/local/share/spamassassin/25_hashcash.cf
[13583] dbg: config: read file /usr/local/share/spamassassin/25_pyzor.cf
[13583] dbg: config: read file /usr/local/share/spamassassin/25_razor2.cf
[13583] dbg: config: read file /usr/local/share/spamassassin/25_replace.cf
[13583] dbg: config: read file /usr/local/share/spamassassin/25_spf.cf
[13583] dbg: config: read file /usr/local/share/spamassassin/25_textcat.cf
[13583] dbg: config: read file /usr/local/share/spamassassin/25_uribl.cf
[13583] dbg: config: read file /usr/local/share/spamassassin/30_text_de.cf
[13583] dbg: config: read file /usr/local/share/spamassassin/30_text_fr.cf
[13583] dbg: config: read file /usr/local/share/spamassassin/30_text_it.cf
[13583] dbg: config: read file /usr/local/share/spamassassin/30_text_nl.cf
[13583] dbg: config: read file /usr/local/share/spamassassin/30_text_pl.cf
[13583] dbg: config: read file /usr/local/share/spamassassin/30_text_pt_br.cf
[13583] dbg: config: read file /usr/local/share/spamassassin/50_scores.cf
[13583] dbg: config: read file /usr/local/share/spamassassin/60_awl.cf
[13583] dbg: config: read file
/usr/local/share/spamassassin/60_shortcircuit.cf
[13583] dbg: config: read file /usr/local/share/spamassassin/60_whitelist.cf
[13583] dbg: config: read file
/usr/local/share/spamassassin/60_whitelist_dk.cf
[13583] dbg: config: read file
/usr/local/share/spamassassin/60_whitelist_dkim.cf
[13583] dbg: config: read file
/usr/local/share/spamassassin/60_whitelist_spf.cf
[13583] dbg: config: read file
/usr/local/share/spamassassin/60_whitelist_subject.cf
[13583] dbg: config: read file /usr/local/share/spamassassin/72_active.cf
[13583] dbg: config: using "/etc/mail/spamassassin" for site rules dir
[13583] dbg: config: read file /etc/mail/spamassassin/local.cf
[13583] dbg: config: using "/var/amavisd/.spamassassin/user_prefs" for
user prefs file
[13583] dbg: config: score set 1 chosen.
Suicide () TROUBLE in pre_loop_hook: check: no loaded plugin implements
'check_main': cannot scan! at
/usr/local/libdata/perl5/site_perl/Mail/SpamAssassin/PerMsgStatus.pm line
164.
#


Re: no loaded plugin implements

Posted by Gary V <mr...@hotmail.com>.
> > Run 'spamassassin -D --lint' to make sure SA is loading your config from
> > where you think it should be.  For whatever reason it's not reading your
> > v320.pre file (probably due to location or permissions).
> >
> > Daryl
> >
>
>Thanks Daryl,
>
>Here is the output and the config file is being read where i edited and
>expect. Any ideas from the output?
>
># spamassassin -D --lint

<...>
>[28524] dbg: config: read file /etc/mail/spamassassin/v320.pre
>[28524] dbg: config: using "/usr/local/share/spamassassin" for sys rules
>pre files
>[28524] dbg: config: using "/usr/local/share/spamassassin" for default
>rules dir

Now run
amavisd -d config debug-sa

Amavisd-new may disagree on where it looks for SA stuff.

Gary V

_________________________________________________________________
More photos, more messages, more storage—get 2GB with Windows Live Hotmail. 
http://imagine-windowslive.com/hotmail/?locale=en-us&ocid=TXT_TAGHM_migration_HM_mini_2G_0507


Re: no loaded plugin implements

Posted by li...@pcnetsources.com.
> Run 'spamassassin -D --lint' to make sure SA is loading your config from
> where you think it should be.  For whatever reason it's not reading your
> v320.pre file (probably due to location or permissions).
>
> Daryl
>

Thanks Daryl,

Here is the output and the config file is being read where i edited and
expect. Any ideas from the output?

# spamassassin -D --lint
[28524] dbg: logger: adding facilities: all
[28524] dbg: logger: logging level is DBG
[28524] dbg: generic: SpamAssassin version 3.2.0
[28524] dbg: config: score set 0 chosen.
[28524] dbg: util: running in taint mode? yes
[28524] dbg: util: taint mode: deleting unsafe environment variables,
resetting PATH
[28524] dbg: util: PATH included '/sbin', keeping
[28524] dbg: util: PATH included '/usr/sbin', keeping
[28524] dbg: util: PATH included '/bin', keeping
[28524] dbg: util: PATH included '/usr/bin', keeping
[28524] dbg: util: PATH included '/usr/X11R6/bin', which doesn't exist,
dropping
[28524] dbg: util: PATH included '/usr/local/sbin', keeping
[28524] dbg: util: PATH included '/usr/local/bin', keeping
[28524] dbg: util: final PATH set to:
/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/sbin:/usr/local/bin
[28524] dbg: dns: is Net::DNS::Resolver available? yes
[28524] dbg: dns: Net::DNS version: 0.59
[28524] dbg: diag: perl platform: 5.008008 openbsd
[28524] dbg: diag: module installed: Digest::SHA1, version 2.11
[28524] dbg: diag: module installed: HTML::Parser, version 3.56
[28524] dbg: diag: module installed: Net::DNS, version 0.59
[28524] dbg: diag: module installed: MIME::Base64, version 3.07
[28524] dbg: diag: module installed: DB_File, version 1.814
[28524] dbg: diag: module installed: Net::SMTP, version 2.29
[28524] dbg: diag: module not installed: Mail::SPF ('require' failed)
[28524] dbg: diag: module installed: Mail::SPF::Query, version 1.999001
[28524] dbg: diag: module installed: IP::Country::Fast, version 604.001
[28524] dbg: diag: module installed: Razor2::Client::Agent, version 2.82
[28524] dbg: diag: module not installed: Net::Ident ('require' failed)
[28524] dbg: diag: module installed: IO::Socket::INET6, version 2.51
[28524] dbg: diag: module installed: IO::Socket::SSL, version 1.06
[28524] dbg: diag: module installed: Compress::Zlib, version 2.004
[28524] dbg: diag: module installed: Time::HiRes, version 1.9707
[28524] dbg: diag: module not installed: Mail::DomainKeys ('require' failed)
[28524] dbg: diag: module not installed: Mail::DKIM ('require' failed)
[28524] dbg: diag: module not installed: DBI ('require' failed)
[28524] dbg: diag: module installed: Getopt::Long, version 2.36
[28524] dbg: diag: module installed: LWP::UserAgent, version 2.033
[28524] dbg: diag: module installed: HTTP::Date, version 1.47
[28524] dbg: diag: module installed: Archive::Tar, version 1.30
[28524] dbg: diag: module installed: IO::Zlib, version 1.05
[28524] dbg: diag: module not installed: Encode::Detect ('require' failed)
[28524] dbg: ignore: using a test message to lint rules
[28524] dbg: config: using "/etc/mail/spamassassin" for site rules pre files
[28524] dbg: config: read file /etc/mail/spamassassin/init.pre
[28524] dbg: config: read file /etc/mail/spamassassin/v310.pre
[28524] dbg: config: read file /etc/mail/spamassassin/v312.pre
[28524] dbg: config: read file /etc/mail/spamassassin/v320.pre
[28524] dbg: config: using "/usr/local/share/spamassassin" for sys rules
pre files
[28524] dbg: config: using "/usr/local/share/spamassassin" for default
rules dir
[28524] dbg: config: read file
/usr/local/share/spamassassin/10_default_prefs.cf
[28524] dbg: config: read file
/usr/local/share/spamassassin/20_advance_fee.cf
[28524] dbg: config: read file /usr/local/share/spamassassin/20_body_tests.cf
[28524] dbg: config: read file /usr/local/share/spamassassin/20_compensate.cf
[28524] dbg: config: read file
/usr/local/share/spamassassin/20_dnsbl_tests.cf
[28524] dbg: config: read file /usr/local/share/spamassassin/20_drugs.cf
[28524] dbg: config: read file /usr/local/share/spamassassin/20_dynrdns.cf
[28524] dbg: config: read file
/usr/local/share/spamassassin/20_fake_helo_tests.cf
[28524] dbg: config: read file /usr/local/share/spamassassin/20_head_tests.cf
[28524] dbg: config: read file /usr/local/share/spamassassin/20_html_tests.cf
[28524] dbg: config: read file /usr/local/share/spamassassin/20_imageinfo.cf
[28524] dbg: config: read file /usr/local/share/spamassassin/20_meta_tests.cf
[28524] dbg: config: read file /usr/local/share/spamassassin/20_net_tests.cf
[28524] dbg: config: read file /usr/local/share/spamassassin/20_phrases.cf
[28524] dbg: config: read file /usr/local/share/spamassassin/20_porn.cf
[28524] dbg: config: read file /usr/local/share/spamassassin/20_ratware.cf
[28524] dbg: config: read file /usr/local/share/spamassassin/20_uri_tests.cf
[28524] dbg: config: read file /usr/local/share/spamassassin/20_vbounce.cf
[28524] dbg: config: read file /usr/local/share/spamassassin/23_bayes.cf
[28524] dbg: config: read file /usr/local/share/spamassassin/25_accessdb.cf
[28524] dbg: config: read file /usr/local/share/spamassassin/25_antivirus.cf
[28524] dbg: config: read file /usr/local/share/spamassassin/25_asn.cf
[28524] dbg: config: read file /usr/local/share/spamassassin/25_dcc.cf
[28524] dbg: config: read file /usr/local/share/spamassassin/25_dkim.cf
[28524] dbg: config: read file /usr/local/share/spamassassin/25_domainkeys.cf
[28524] dbg: config: read file /usr/local/share/spamassassin/25_hashcash.cf
[28524] dbg: config: read file /usr/local/share/spamassassin/25_pyzor.cf
[28524] dbg: config: read file /usr/local/share/spamassassin/25_razor2.cf
[28524] dbg: config: read file /usr/local/share/spamassassin/25_replace.cf
[28524] dbg: config: read file /usr/local/share/spamassassin/25_spf.cf
[28524] dbg: config: read file /usr/local/share/spamassassin/25_textcat.cf
[28524] dbg: config: read file /usr/local/share/spamassassin/25_uribl.cf
[28524] dbg: config: read file /usr/local/share/spamassassin/30_text_de.cf
[28524] dbg: config: read file /usr/local/share/spamassassin/30_text_fr.cf
[28524] dbg: config: read file /usr/local/share/spamassassin/30_text_it.cf
[28524] dbg: config: read file /usr/local/share/spamassassin/30_text_nl.cf
[28524] dbg: config: read file /usr/local/share/spamassassin/30_text_pl.cf
[28524] dbg: config: read file /usr/local/share/spamassassin/30_text_pt_br.cf
[28524] dbg: config: read file /usr/local/share/spamassassin/50_scores.cf
[28524] dbg: config: read file /usr/local/share/spamassassin/60_awl.cf
[28524] dbg: config: read file
/usr/local/share/spamassassin/60_shortcircuit.cf
[28524] dbg: config: read file /usr/local/share/spamassassin/60_whitelist.cf
[28524] dbg: config: read file
/usr/local/share/spamassassin/60_whitelist_dk.cf
[28524] dbg: config: read file
/usr/local/share/spamassassin/60_whitelist_dkim.cf
[28524] dbg: config: read file
/usr/local/share/spamassassin/60_whitelist_spf.cf
[28524] dbg: config: read file
/usr/local/share/spamassassin/60_whitelist_subject.cf
[28524] dbg: config: read file /usr/local/share/spamassassin/72_active.cf
[28524] dbg: config: using "/etc/mail/spamassassin" for site rules dir
[28524] dbg: config: read file /etc/mail/spamassassin/local.cf
[28524] dbg: plugin: loading Mail::SpamAssassin::Plugin::URIDNSBL from @INC
[28524] dbg: plugin: loading Mail::SpamAssassin::Plugin::Hashcash from @INC
[28524] dbg: plugin: loading Mail::SpamAssassin::Plugin::SPF from @INC
[28524] dbg: plugin: loading Mail::SpamAssassin::Plugin::DCC from @INC
[28524] dbg: dcc: local tests only, disabling DCC
[28524] dbg: plugin: loading Mail::SpamAssassin::Plugin::Razor2 from @INC
[28524] dbg: razor2: local tests only, skipping Razor
[28524] dbg: plugin: loading Mail::SpamAssassin::Plugin::AWL from @INC
[28524] dbg: plugin: loading
Mail::SpamAssassin::Plugin::AutoLearnThreshold from @INC
[28524] dbg: plugin: loading Mail::SpamAssassin::Plugin::WhiteListSubject
from @INC
[28524] dbg: plugin: loading Mail::SpamAssassin::Plugin::MIMEHeader from @INC
[28524] dbg: plugin: loading Mail::SpamAssassin::Plugin::ReplaceTags from
@INC
[28524] dbg: plugin: loading Mail::SpamAssassin::Plugin::Check from @INC
[28524] dbg: plugin: loading Mail::SpamAssassin::Plugin::HTTPSMismatch
from @INC
[28524] dbg: plugin: loading Mail::SpamAssassin::Plugin::URIDetail from @INC
[28524] dbg: plugin: loading Mail::SpamAssassin::Plugin::Bayes from @INC
[28524] dbg: plugin: loading Mail::SpamAssassin::Plugin::BodyEval from @INC
[28524] dbg: plugin: loading Mail::SpamAssassin::Plugin::DNSEval from @INC
[28524] dbg: plugin: loading Mail::SpamAssassin::Plugin::HTMLEval from @INC
[28524] dbg: plugin: loading Mail::SpamAssassin::Plugin::HeaderEval from @INC
[28524] dbg: plugin: loading Mail::SpamAssassin::Plugin::MIMEEval from @INC
[28524] dbg: plugin: loading Mail::SpamAssassin::Plugin::RelayEval from @INC
[28524] dbg: plugin: loading Mail::SpamAssassin::Plugin::URIEval from @INC
[28524] dbg: plugin: loading Mail::SpamAssassin::Plugin::WLBLEval from @INC
[28524] dbg: plugin: loading Mail::SpamAssassin::Plugin::VBounce from @INC
[28524] dbg: plugin: loading Mail::SpamAssassin::Plugin::ImageInfo from @INC
[28524] dbg: rules: __MO_OL_9B90B merged duplicates: __MO_OL_C65FA
[28524] dbg: rules: __XM_OL_22B61 merged duplicates: __XM_OL_A842E
[28524] dbg: rules: __MO_OL_07794 merged duplicates: __MO_OL_8627E
__MO_OL_F3B05
[28524] 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
[28524] dbg: rules: FH_MSGID_01C67 merged duplicates: __MSGID_VGA
[28524] dbg: rules: FS_NEW_SOFT_UPLOAD merged duplicates:
HS_SUBJ_NEW_SOFTWARE
[28524] dbg: rules: __FH_HAS_XMSMAIL merged duplicates: __HAS_MSMAIL_PRI
[28524] dbg: rules: __MO_OL_015D5 merged duplicates: __MO_OL_6554A
[28524] dbg: rules: __MO_OL_91287 merged duplicates: __MO_OL_B30D1
__MO_OL_CF0C0
[28524] 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
[28524] dbg: rules: __XM_OL_5E7ED merged duplicates: __XM_OL_D03AB
[28524] dbg: rules: __MO_OL_22B61 merged duplicates: __MO_OL_4F240
__MO_OL_ADFF7
[28524] dbg: rules: __MO_OL_812FF merged duplicates: __MO_OL_BC7E6
[28524] dbg: rules: __MO_OL_25340 merged duplicates: __MO_OL_4EEDB
__MO_OL_7533E
[28524] dbg: rules: __MO_OL_58CB5 merged duplicates: __MO_OL_B4B40
[28524] dbg: rules: __DOS_HAS_ANY_URI merged duplicates: __HAS_ANY_URI
[28524] dbg: rules: __XM_OL_C7C33 merged duplicates: __XM_OL_C9068
__XM_OL_EF20B
[28524] dbg: rules: __MO_OL_72641 merged duplicates: __MO_OL_A842E
[28524] dbg: rules: __MO_OL_5E7ED merged duplicates: __MO_OL_C7C33
[28524] dbg: rules: __MO_OL_F475E merged duplicates: __MO_OL_FF5C8
[28524] dbg: rules: __MO_OL_4BF4C merged duplicates: __MO_OL_F6D01
[28524] dbg: conf: finish parsing
[28524] dbg: plugin:
Mail::SpamAssassin::Plugin::ReplaceTags=HASH(0x87403cc0) implements
'finish_parsing_end', priority 0
[28524] dbg: replacetags: replacing tags
[28524] dbg: replacetags: done replacing tags
[28524] dbg: bayes: no dbs present, cannot tie DB R/O:
/var/amavisd/.spamassassin/bayes_toks
[28524] dbg: config: score set 0 chosen.
[28524] dbg: message: main message type: text/plain
[28524] dbg: message: ---- MIME PARSER START ----
[28524] dbg: message: parsing normal part
[28524] dbg: message: ---- MIME PARSER END ----
[28524] dbg: plugin: Mail::SpamAssassin::Plugin::DNSEval=HASH(0x81e3fbb8)
implements 'check_start', priority 0
[28524] dbg: bayes: no dbs present, cannot tie DB R/O:
/var/amavisd/.spamassassin/bayes_toks
[28524] dbg: plugin: Mail::SpamAssassin::Plugin::Check=HASH(0x813b0fdc)
implements 'check_main', priority 0
[28524] dbg: conf: trusted_networks are not configured; it is recommended
that you configure trusted_networks manually
[28524] dbg: metadata: X-Spam-Relays-Trusted:
[28524] dbg: metadata: X-Spam-Relays-Untrusted:
[28524] dbg: metadata: X-Spam-Relays-Internal:
[28524] dbg: metadata: X-Spam-Relays-External:
[28524] dbg: message: no encoding detected
[28524] dbg: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x7d295df8)
implements 'parsed_metadata', priority 0
[28524] dbg: dns: is DNS available? 0
[28524] dbg: rules: local tests only, ignoring RBL eval
[28524] dbg: check: running tests for priority: -1000
[28524] dbg: rules: running head tests; score so far=0
[28524] dbg: rules: compiled head tests
[28524] dbg: eval: all '*From' addrs: ignore@compiling.spamassassin.taint.org
[28524] dbg: eval: all '*To' addrs:
[28524] dbg: rules: running body tests; score so far=0
[28524] dbg: rules: compiled body tests
[28524] dbg: rules: running uri tests; score so far=0
[28524] dbg: rules: compiled uri tests
[28524] dbg: rules: running rawbody tests; score so far=0
[28524] dbg: rules: compiled rawbody tests
[28524] dbg: rules: running full tests; score so far=0
[28524] dbg: rules: compiled full tests
[28524] dbg: rules: running meta tests; score so far=0
[28524] dbg: rules: compiled meta tests
[28524] dbg: check: running tests for priority: -950
[28524] dbg: rules: running head tests; score so far=0
[28524] dbg: rules: compiled head tests
[28524] dbg: rules: running body tests; score so far=0
[28524] dbg: rules: compiled body tests
[28524] dbg: rules: running uri tests; score so far=0
[28524] dbg: rules: compiled uri tests
[28524] dbg: rules: running rawbody tests; score so far=0
[28524] dbg: rules: compiled rawbody tests
[28524] dbg: rules: running full tests; score so far=0
[28524] dbg: rules: compiled full tests
[28524] dbg: rules: running meta tests; score so far=0
[28524] dbg: rules: compiled meta tests
[28524] dbg: check: running tests for priority: -900
[28524] dbg: rules: running head tests; score so far=0
[28524] dbg: rules: compiled head tests
[28524] dbg: rules: running body tests; score so far=0
[28524] dbg: rules: compiled body tests
[28524] dbg: rules: running uri tests; score so far=0
[28524] dbg: rules: compiled uri tests
[28524] dbg: rules: running rawbody tests; score so far=0
[28524] dbg: rules: compiled rawbody tests
[28524] dbg: rules: running full tests; score so far=0
[28524] dbg: rules: compiled full tests
[28524] dbg: rules: running meta tests; score so far=0
[28524] dbg: rules: compiled meta tests
[28524] dbg: check: running tests for priority: -400
[28524] dbg: rules: running head tests; score so far=0
[28524] dbg: rules: compiled head tests
[28524] dbg: rules: running body tests; score so far=0
[28524] dbg: rules: compiled body tests
[28524] dbg: rules: running uri tests; score so far=0
[28524] dbg: rules: compiled uri tests
[28524] dbg: rules: running rawbody tests; score so far=0
[28524] dbg: rules: compiled rawbody tests
[28524] dbg: rules: running full tests; score so far=0
[28524] dbg: rules: compiled full tests
[28524] dbg: rules: running meta tests; score so far=0
[28524] dbg: rules: compiled meta tests
[28524] dbg: check: running tests for priority: 0
[28524] dbg: rules: running head tests; score so far=0
[28524] dbg: rules: compiled head tests
[28524] dbg: rules: ran header rule __MISSING_REF ======> got hit: "UNSET"
[28524] dbg: rules: ran header rule __MSGID_OK_HOST ======> got hit:
"@lint_rules>"
[28524] dbg: rules: ran header rule __MSGID_OK_DIGITS ======> got hit:
"1179250201"
[28524] dbg: rules: ran header rule __MSOE_MID_WRONG_CASE ======> got hit: "
[28524] dbg: rules: Message-Id: "
[28524] dbg: rules: ran header rule __HAS_MSGID ======> got hit: "<"
[28524] dbg: rules: ran header rule __SANE_MSGID ======> got hit:
"<11...@lint_rules>
[28524] dbg: rules: "
[28524] dbg: rules: ran header rule MISSING_DATE ======> got hit: "UNSET"
[28524] dbg: spf: checking to see if the message has a Received-SPF header
that we can use
[28524] dbg: spf: already checked for Received-SPF headers, proceeding
with DNS based checks
[28524] dbg: spf: already checked for Received-SPF headers, proceeding
with DNS based checks
[28524] dbg: rules: ran eval rule NO_RELAYS ======> got hit (1)
[28524] dbg: spf: already checked for Received-SPF headers, proceeding
with DNS based checks
[28524] dbg: spf: already checked for Received-SPF headers, proceeding
with DNS based checks
[28524] dbg: spf: cannot get Envelope-From, cannot use SPF
[28524] dbg: spf: def_spf_whitelist_from: could not find useable envelope
sender
[28524] dbg: spf: already checked for Received-SPF headers, proceeding
with DNS based checks
[28524] dbg: spf: already checked for Received-SPF headers, proceeding
with DNS based checks
[28524] dbg: spf: already checked for Received-SPF headers, proceeding
with DNS based checks
[28524] dbg: rules: ran eval rule __UNUSABLE_MSGID ======> got hit (1)
[28524] dbg: rules: ran eval rule MISSING_HEADERS ======> got hit (1)
[28524] dbg: spf: spf_whitelist_from: could not find useable envelope sender
[28524] dbg: rules: running body tests; score so far=1.899
[28524] dbg: rules: compiled body tests
[28524] dbg: rules: ran body rule __NONEMPTY_BODY ======> got hit: "I"
[28524] dbg: rules: running uri tests; score so far=1.899
[28524] dbg: rules: compiled uri tests
[28524] dbg: https_http_mismatch: anchors 0
[28524] dbg: eval: stock info total: 0
[28524] dbg: rules: running rawbody tests; score so far=1.899
[28524] dbg: rules: compiled rawbody tests
[28524] dbg: rules: running full tests; score so far=1.899
[28524] dbg: rules: compiled full tests
[28524] dbg: rules: running meta tests; score so far=1.899
[28524] dbg: rules: compiled meta tests
[28524] dbg: check: running tests for priority: 500
[28524] dbg: rules: running head tests; score so far=1.899
[28524] dbg: rules: compiled head tests
[28524] dbg: rules: running body tests; score so far=1.899
[28524] dbg: rules: compiled body tests
[28524] dbg: rules: running uri tests; score so far=1.899
[28524] dbg: rules: compiled uri tests
[28524] dbg: rules: running rawbody tests; score so far=1.899
[28524] dbg: rules: compiled rawbody tests
[28524] dbg: rules: running full tests; score so far=1.899
[28524] dbg: rules: compiled full tests
[28524] dbg: rules: running meta tests; score so far=1.899
[28524] dbg: rules: meta test DIGEST_MULTIPLE has undefined dependency
'PYZOR_CHECK'
[28524] info: rules: meta test HS_PHARMA_1 has dependency
'HS_SUBJ_ONLINE_PHARMACEUTICAL' with a zero score
[28524] dbg: rules: compiled meta tests
[28524] dbg: check: running tests for priority: 1000
[28524] dbg: rules: running head tests; score so far=4.205
[28524] dbg: rules: compiled head tests
[28524] dbg: rules: running body tests; score so far=4.205
[28524] dbg: rules: compiled body tests
[28524] dbg: rules: running uri tests; score so far=4.205
[28524] dbg: rules: compiled uri tests
[28524] dbg: rules: running rawbody tests; score so far=4.205
[28524] dbg: rules: compiled rawbody tests
[28524] dbg: rules: running full tests; score so far=4.205
[28524] dbg: rules: compiled full tests
[28524] dbg: rules: running meta tests; score so far=4.205
[28524] dbg: rules: compiled meta tests
[28524] dbg: check: is spam? score=4.205 required=5
[28524] dbg: check:
tests=MISSING_DATE,MISSING_HEADERS,MISSING_SUBJECT,NO_RECEIVED,NO_RELAYS
[28524] dbg: check:
subtests=__HAS_MSGID,__MISSING_REF,__MSGID_OK_DIGITS,__MSGID_OK_HOST,__MSOE_MID_WRONG_CASE,__NONEMPTY_BODY,__SANE_MSGID,__UNUSABLE_MSGID
#


Re: no loaded plugin implements

Posted by "Daryl C. W. O'Shea" <sp...@dostech.ca>.
listserv@pcnetsources.com wrote:

> ###############################
> May 14 21:29:21 MARTINI.happynetworks.net /usr/local/sbin/amavisd[23697]:
> (!!)TROUBLE in pre_loop_hook: check: no loaded plugin implements
> 'check_main': cannot scan! at
> /usr/local/libdata/perl5/site_perl/Mail/SpamAssassin/PerMsgStatus.pm line
> 164.

> My v320.pre file has:
> 
> # Check - Provides main check functionality
> #
> loadplugin Mail::SpamAssassin::Plugin::Check
> 
> 
> Googling didnt bring up anything in particular.. anyone have any ideas?

Run 'spamassassin -D --lint' to make sure SA is loading your config from 
where you think it should be.  For whatever reason it's not reading your 
v320.pre file (probably due to location or permissions).

Daryl