You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Thiago Henrique <th...@digirati.com.br> on 2008/08/21 22:14:49 UTC
check: no loaded plugin implements 'check_main': cannot scan!
Hi,
I have a MTA server with Postfix2.4.5 + Amavisd-New2.5.2 +
SpamAssassin3.2.3.
When i start amavis in debug mode (amavisd -d config debug-sa), I get
the following error:
Suicide () TROUBLE in pre_loop_hook: check: no loaded plugin implements
'check_main': cannot scan!
at /usr/lib/perl5/vendor_perl/5.8.8/Mail/SpamAssassin/PerMsgStatus.pm
line 164.
Note: Amavis isn't chrooted.
Someone could help me?
Thank you all in advance.
Best Regards
--
[]'s
Thiago Henrique
Network Administration
Digirati Networks
K8 Networks
Re: check: no loaded plugin implements 'check_main': cannot scan!
Posted by Thiago Henrique <th...@digirati.com.br>.
Mark,
Thanks!
My problem was acces denied in /etc/mail to amavis user.
Greetings...
--
[]'s
Thiago Henrique
Network Administration
Digirati Networks
K8 Networks
On Sex, 2008-08-22 at 18:23 +0200, Mark Martinec wrote:
> Thiago,
>
> > Running "spamassassin - lint -D" the .pre files are read:
> >
> > # spamassassin --lint -D
> > ...
> > [1002] dbg: config: using "/etc/mail/spamassassin" for site rules pre
> > files
> > [1002] dbg: config: read file /etc/mail/spamassassin/init.pre
> > [1002] dbg: config: read file /etc/mail/spamassassin/v310.pre
> > [1002] dbg: config: read file /etc/mail/spamassassin/v312.pre
> > [1002] dbg: config: read file /etc/mail/spamassassin/v320.pre
>
> For a valid test, run spamassassin under the same uid as amavisd, e.g.:
> # su vscan -c 'spamassassin --lint -D'
>
> Mark
Re: check: no loaded plugin implements 'check_main': cannot scan!
Posted by Mark Martinec <Ma...@ijs.si>.
Thiago,
> Running "spamassassin - lint -D" the .pre files are read:
>
> # spamassassin --lint -D
> ...
> [1002] dbg: config: using "/etc/mail/spamassassin" for site rules pre
> files
> [1002] dbg: config: read file /etc/mail/spamassassin/init.pre
> [1002] dbg: config: read file /etc/mail/spamassassin/v310.pre
> [1002] dbg: config: read file /etc/mail/spamassassin/v312.pre
> [1002] dbg: config: read file /etc/mail/spamassassin/v320.pre
For a valid test, run spamassassin under the same uid as amavisd, e.g.:
# su vscan -c 'spamassassin --lint -D'
Mark
Re: check: no loaded plugin implements 'check_main': cannot scan!
Posted by Thiago Henrique <th...@digirati.com.br>.
Matt, thank you for help.
Running "spamassassin - lint -D" the .pre files are read:
# spamassassin --lint -D
...
[1002] dbg: config: using "/etc/mail/spamassassin" for site rules pre
files
[1002] dbg: config: read file /etc/mail/spamassassin/init.pre
[1002] dbg: config: read file /etc/mail/spamassassin/v310.pre
[1002] dbg: config: read file /etc/mail/spamassassin/v312.pre
[1002] dbg: config: read file /etc/mail/spamassassin/v320.pre
I think that the permissions are correct for the Amavis read the files
# ls -ld /etc/mail/spamassassin/
drwxr-xr-x 3 amavis amavis 4096 2008-08-22
13:02 /etc/mail/spamassassin//
# ls -ld /etc/mail/spamassassin/*
-rw-r--r-- 1 amavis amavis 1299 2007-09-08
11:22 /etc/mail/spamassassin/init.pre
-rw-r--r-- 1 amavis amavis 1366 2007-09-08
11:22 /etc/mail/spamassassin/local.cf
drwx------ 2 amavis amavis 79 2008-08-20
19:44 /etc/mail/spamassassin/sa-update-keys/
-rw-r--r-- 1 amavis amavis 62 2007-09-08
11:22 /etc/mail/spamassassin/spamassassin-default.rc
-rw-r--r-- 1 amavis amavis 55 2007-09-08
11:22 /etc/mail/spamassassin/spamassassin-spamc.rc
-rw-r--r-- 1 amavis amavis 2604 2007-09-08
11:22 /etc/mail/spamassassin/v310.pre
-rw-r--r-- 1 amavis amavis 1195 2007-09-08
11:22 /etc/mail/spamassassin/v312.pre
-rw-r--r-- 1 amavis amavis 2416 2008-08-21
19:37 /etc/mail/spamassassin/v320.pre
--
[]'s
Thiago Henrique
Network Administration
Digirati Networks
K8 Networks
> Do you get the same thing out of spamassassin --lint -D?
>
> In general, it sounds like your site config directory (ie:
> /etc/mail/spamassassin) doesn't have the requisite .pre files in it, so
> no plugins are loaded.
Re: check: no loaded plugin implements 'check_main': cannot scan!
Posted by Matt Kettler <mk...@verizon.net>.
Thiago Henrique wrote:
> Hi,
>
> I have a MTA server with Postfix2.4.5 + Amavisd-New2.5.2 +
> SpamAssassin3.2.3.
>
> When i start amavis in debug mode (amavisd -d config debug-sa), I get
> the following error:
>
> Suicide () TROUBLE in pre_loop_hook: check: no loaded plugin implements
> 'check_main': cannot scan!
> at /usr/lib/perl5/vendor_perl/5.8.8/Mail/SpamAssassin/PerMsgStatus.pm
> line 164.
>
> Note: Amavis isn't chrooted.
>
> Someone could help me?
>
>
Do you get the same thing out of spamassassin --lint -D?
In general, it sounds like your site config directory (ie:
/etc/mail/spamassassin) doesn't have the requisite .pre files in it, so
no plugins are loaded.
Re: check: no loaded plugin implements 'check_main': cannot scan!
Posted by Jo Rhett <jr...@netconsonance.com>.
Try the amavisd mailing list, as nothing you've mentioned relates to
spamassassin.
On Aug 21, 2008, at 1:14 PM, Thiago Henrique wrote:
> I have a MTA server with Postfix2.4.5 + Amavisd-New2.5.2 +
> SpamAssassin3.2.3.
>
> When i start amavis in debug mode (amavisd -d config debug-sa), I get
> the following error:
>
> Suicide () TROUBLE in pre_loop_hook: check: no loaded plugin
> implements
> 'check_main': cannot scan!
> at /usr/lib/perl5/vendor_perl/5.8.8/Mail/SpamAssassin/PerMsgStatus.pm
> line 164.
>
> Note: Amavis isn't chrooted.
>
> Someone could help me?
>
>
> Thank you all in advance.
> Best Regards
> --
> []'s
> Thiago Henrique
> Network Administration
> Digirati Networks
> K8 Networks
>
--
Jo Rhett
Net Consonance : consonant endings by net philanthropy, open source
and other randomness