no loaded plugin implements 'check_main'
Glenn Steen
glenn.steen at gmail.com
Tue Mar 18 12:04:25 GMT 2008
On 18/03/2008, Allen Jiang <allenjiang at clicktosee.com> wrote:
> on /Wed Mar 12 09:45:09 GMT 2008/,*Glenn Steen* glenn.steen at
> gmail.com
> <mailto:mailscanner%40lists.mailscanner.info?Subject=no%20loaded%20plugin%20implements%20%27check_main%27&In-Reply-To=47D78CAE.1060407%40clicktosee.com>
> wrote:
>
> >So then it is only when run from within MailScanner... Do you by any
> chance run Postfix? If so, could you >try that SA lint as your postfix
> user (Do "su - postfix -s /bin/bash" to get a valid shell...)? Does that
> >show the same error? If so, your PF user likely can't get at the
> /etc/mail/spamassassin/* files, for some >reason.
>
> I try that MailScanner -debug as postfix user got the same wrong!
>
> [root at yide2 ~]# su - postfix -s /bin/bash
> -bash-3.00$ MailScanner -debug
> -bash: MailScanner: command not found
> -bash-3.00$ /usr/sbin/MailScanner -debug
>
(snip)
Thanks for checking back with us Allen.
Could you try the "spamassassin --lint -D" as the postfix user as well?
Might be as simple as having the wrong permissions on the SA .pre file
containing the LoadPlugin line I mentioned. Also check (with less, or
similar paginator) that you can read all the .pre files... Something
like "less -e /etc/mail/spamassassin/*.pre", also as the postfix
user... Hopefully it'll be that sinple:-).
Cheers
--
-- Glenn
email: glenn < dot > steen < at > gmail < dot > com
work: glenn < dot > steen < at > ap1 < dot > se
More information about the MailScanner
mailing list