[Maia-users] Spamassassin problems
Robert LeBlanc
rjl at renaissoft.com
Sun Aug 5 12:17:29 PDT 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Eugene Pefti wrote:
> [10115] dbg: bayes: using username: vscan
> [10115] dbg: bayes: unable to connect to database: Access denied for user
> 'vscan'@'localhost' (using password: NO)
>
> In my local.cf I have this entry
>
> bayes_sql_dsn DBI:mysql:maia
>
> bayes_sql_username vscan
>
> bayes_sql_password "somepassword"
Try removing the quotes around "somepassword", e.g.
bayes_sql_password somepassword
> And one more thing. Spamassassin can't load this module: PerMsgStatus.pm
> When I installed Mail-SpamAssassin-3.2.1 this module was copied to the Perl
> repository.
>
> This is the error message:
>
> check: no loaded plugin implements 'check_main': cannot scan! at
> /usr/local/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/PerMsgStatus.pm line
> 164.
No, the error is being triggered /in/ PerMsgStatus.pm when it tries to
call a subroutine from a plugin that you've told it to load, but which
doesn't actually have all of its supporting code installed.
In other words, somewhere in one of your *.pre files you've told
SpamAssassin to load a plugin (by adding or uncommenting a "loadplugin"
line, perhaps), but you haven't installed the plugin itself, so when
SpamAssassin tries to actually load the plugin it can't find what it
needs. It's also possible that you simply used the wrong path to the
plugin in your loadplugin line, such that the plugin isn't being found
when SpamAssassin tries to load it.
If you don't know which plugin is causing the problem, you can try
commenting their "loadplugin" lines out one at a time in your *.pre
files until the error message goes away. My guess, though, based on
another of your recent posts, would be the FuzzyOcr plugin.
- --
Robert LeBlanc <rjl at renaissoft.com>
Renaissoft, Inc.
Maia Mailguard <http://www.maiamailguard.com/>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
iD8DBQFGtiJJGmqOER2NHewRAuIcAKCJWN5FDYA1ll4cAb6JLge5N0RRjACaArpz
CJdN8XGoz07u9Pgrf1BKz9s=
=I4vY
-----END PGP SIGNATURE-----
More information about the Maia-users
mailing list