MCP Check not working

Glenn Steen glenn.steen at gmail.com
Wed Jun 20 11:43:48 IST 2007


On 20/06/07, Daniel Fuhrer <daniel at danielf.ch> wrote:
> Hi Glenn
> Ok her is he output.
>
(snip)
>
> Does that help?
>
Nope, sorry... I forgot to set the relevant siteconfigdir etc ... Try
do this instead:
1) Create a very basic "testmessage" like this:
echo "Subject: this subject is banned\

this text is banned" > testmcp.txt

2) Run it through like this:
spamassassin -D -t -C /etc/MailScanner/mcp/
--siteconfigpath=/etc/MailScanner/mcp/ -p
/etc/MailScanner/mcp/mcp.spam.assassin.prefs.conf < testmcp.txt 2>&1 |
less -e
(that is all on one line...)

If everything is correct, you should get a score of 7 on that... Else
you should eb seeing some error messages (the ones about missing
directives like use_dcc (etc) shouldn't matter one whit... But you
might see whatever is preventing things from working;).

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