AW: MCP Check not working
daniel at danielf.ch
Thu Jun 21 12:18:46 IST 2007
Thanks a lot for your help. Now it works perfectly. I hope I didn't bother you to much.
I have some more questions about MCP.
Can I make some rules according to the sender or the recipient? We have some automatic mailboxes, where only certain subject's or message body's are allowed. We also have some mailboxes where only certain customers are allowed to send emails.
Thank you very much for your help.
Von: mailscanner-bounces at lists.mailscanner.info [mailto:mailscanner-bounces at lists.mailscanner.info] Im Auftrag von Glenn Steen
Gesendet: Donnerstag, 21. Juni 2007 11:44
Betreff: Re: MCP Check not working
On 21/06/07, Daniel Fuhrer <daniel at danielf.ch> wrote:
> Hi Glenn
> Thanks for your answer.
> I had a v320.pre (/usr/local/etc/mail/spamassassin/v320.pre) file. In there are the Lines:
Daniel, stop right there and go back and read my last message again.
MCP is all about running a second _specially configured_ spamassassin
instance. It does not, nor should it, read the standard spamassassin
So please, undo the damage you did to your v320.pre in
/usr/etc/mail/spamassassin, and create a v320.pre in
/etc/MailScanner/mcp (which is where MCP needs it to be), as I
instructed in the previous message.
> # Check - Provides main check functionality
> loadplugin Mail::SpamAssassin::Plugin::Check
> # HTTPSMismatch - find URI mismatches between href and anchor text
> loadplugin Mail::SpamAssassin::Plugin::HTTPSMismatch
> So I tried to comment this out. But still not working. Then I tried to copy it to the mcp Directory (/usr/local/etc/MailScanner/mcp/). But without success.
> In the same directory I have as well a v310.pre, v310.pre.sample and a v320.pre.sample
> For me it look, that SpamAssassin is not loading the Plugin for some reason.
That is because you haven't considered what MCP is ... a _second,
separate_ invocation of spamassassin, that share _no_ configuration
with the normal spamassassin run by MailScanner.
The error is simply due to that second (MCP) invocation of
spamassassin not finding a function that previously used to be part of
spamassassin proper, but now is part of a plugin... so all you need do
is tell that instance what plugin to load. And that is the whole point
of the v320.pre file you need place in /etc/MailScanner/mcp ...
email: glenn < dot > steen < at > gmail < dot > com
work: glenn < dot > steen < at > ap1 < dot > se
MailScanner mailing list
mailscanner at lists.mailscanner.info
Before posting, read http://wiki.mailscanner.info/posting
Support MailScanner development - buy the book off the website!
More information about the MailScanner