RES: RES: mcp help

Wilson A. Galafassi Jr. wilson.galafassi at gmail.com
Mon May 28 16:52:07 IST 2007


Hello.

Using debug-sa option i have this other error:

Use of uninitialized value in concatenation (.) or string at
/usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin.pm line 1087.
Use of uninitialized value in concatenation (.) or string at
/usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin.pm line 1089.
[14206] dbg: config: read_scoreonly_config: cannot open "": No such file or
directory

-----Mensagem original-----
De: mailscanner-bounces at lists.mailscanner.info
[mailto:mailscanner-bounces at lists.mailscanner.info] Em nome de Julian Field
Enviada em: segunda-feira, 28 de maio de 2007 11:39
Para: MailScanner discussion
Assunto: Re: RES: mcp help

What is the name and location of this cf file?
Is it being read when MailScanner starts?
Do 'ls -lu /etc/MailScanner/mcp'
Then wait a minute or two
Then 'MailScanner -debug'
Then 'ls -lu /etc/MailScanner/mcp'
The 'last used' date stamp on the file should have changed. If it hasn't 
then the file isn't being read, and there's your problem.

Wilson A. Galafassi Jr. wrote:
> I have only a cf file with this content:
>  
>  body     SAMPLE_RULE3    /test/i
>  describe SAMPLE_RULE3    Banned body text
>  score    SAMPLE_RULE3    5
>
> what i need to have in rules file?
>
> -----Mensagem original-----
> De: mailscanner-bounces at lists.mailscanner.info
> [mailto:mailscanner-bounces at lists.mailscanner.info] Em nome de --[ UxBoD
]--
> Enviada em: segunda-feira, 28 de maio de 2007 07:55
> Para: mailscanner at lists.mailscanner.info
> Assunto: Re: mcp help
>
> Hi,
>
> Would be useful to see what is in your configuration file with respect
> to MCP, and also what you have in your rules file.
>
> Thanks,
>
> On Mon, 28 May 2007 07:38:13 -0300
> "Wilson A. Galafassi Jr." <wilson.galafassi at gmail.com> wrote:
>
>   
>> Hello to all.
>>
>>  
>>
>> I'm configuring mailscanner and mcp settings don't working. 
>>
>>  
>>
>> When i send or receive a mail with containing in the body the
>> expression "test" the mail isn't mcp marked.
>>
>>  
>>
>> Can someone tell me what i have to change?
>>
>>  
>>
>> Very thanks.
>>
>>  
>>
>> Wilson
>>
>>  
>>
>>  
>>
>> I have this in my cf file:
>>
>>  
>>
>> body     SAMPLE_RULE3    /test/i
>>
>> describe SAMPLE_RULE3    Banned body text
>>
>> score    SAMPLE_RULE3    5
>>
>>  
>>
>>  
>>
>> in MailScanner.conf i have:
>>
>>  
>>
>> MCP Checks = yes
>>
>>  
>>
>> # Do the spam checks first, or the MCP checks first?
>>
>> # This cannot be the filename of a ruleset, only a fixed value.
>>
>> First Check = mcp
>>
>>  
>>
>> # The rest of these options are clones of the equivalent spam options
>> MCP Required SpamAssassin Score = 1 MCP High SpamAssassin Score = 10
>> MCP Error Score = 1
>>
>>  
>>
>> MCP Header = X-%org-name%-MailScanner-MCPCheck:
>>
>> Non MCP Actions = deliver
>>
>> MCP Actions = deliver store
>>
>> High Scoring MCP Actions = store
>>
>> Bounce MCP As Attachment = no
>>
>>  
>>
>> MCP Modify Subject = start
>>
>> MCP Subject Text = {MCP?}
>>
>> High Scoring MCP Modify Subject = start
>>
>> High Scoring MCP Subject Text = {MCP?}
>>
>>  
>>
>> Is Definitely MCP = no
>>
>> Is Definitely Not MCP = no
>>
>> Definite MCP Is High Scoring = yes
>>
>> Always Include MCP Report = yes
>>
>> Detailed MCP Report = yes
>>
>> Include Scores In MCP Report = yes
>>
>> Log MCP = yes
>>
>>  
>>
>> MCP Max SpamAssassin Timeouts = 20
>>
>> MCP Max SpamAssassin Size = 100k
>>
>> MCP SpamAssassin Timeout = 10
>>
>>  
>>
>> MCP SpamAssassin Prefs File = %mcp-dir%/mcp.spam.assassin.prefs.conf
>>
>> MCP SpamAssassin User State Dir =
>>
>> MCP SpamAssassin Local Rules Dir = %mcp-dir% MCP SpamAssassin Default
>> Rules Dir = %mcp-dir% MCP SpamAssassin Install Prefix = %mcp-dir%
>> Recipient MCP Report = %report-dir%/recipient.mcp.report.txt
>>
>> Sender MCP Report = %report-dir%/sender.mcp.report.txt
>>
>>  
>>
>>  
>>
>>  
>>
>>  
>>
>>
>>     
>
>
>   

Jules

-- 
Julian Field MEng CITP
www.MailScanner.info
Buy the MailScanner book at www.MailScanner.info/store

MailScanner customisation, or any advanced system administration help?
Contact me at Jules at Jules.FM

PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
For all your IT requirements visit www.transtec.co.uk



-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
For all your IT requirements visit www.transtec.co.uk

-- 
MailScanner mailing list
mailscanner at lists.mailscanner.info
http://lists.mailscanner.info/mailman/listinfo/mailscanner

Before posting, read http://wiki.mailscanner.info/posting

Support MailScanner development - buy the book off the website! 



More information about the MailScanner mailing list