[MAILSCANNER] {MCP?} RE: [MAILSCANNER] Problem with new MCP rules?

Julian Field MailScanner at ecs.soton.ac.uk
Tue Sep 20 21:53:39 IST 2005


    [ The following text is in the "ISO-8859-1" character set. ]
    [ Your display is set for the "US-ASCII" character set.  ]
    [ Some characters may be displayed incorrectly. ]

I have just updated the patches so that there is now a set for 
SpamAssassin 3.1.0. Without all 3 patches applied, MCP won't be able to 
see inside binary attachments (such as Word docs).

Scott Silva wrote:

>Julian Field spake the following on 9/20/2005 1:01 PM:
>  
>
>>Have you tried my SpamAssassin 3.0.4 patches on SpamAssassin 3.1.0 yet?
>>I would be very interested to hear if they apply okay.
>>
>>Johnny Stork wrote:
>>
>>    
>>
>>>Thanks Julian and Scott, that fixed it. Was the name of the rule, just
>>>changed to underscores. And yes Scott, the name of the rules file was
>>>not *.cf, it is pbco_passwords.cf.
>>>
>>>Just tested it out, way too cool and even inside Word docs...excellent!!
>>>
>>>-----Original Message-----
>>>From: Julian Field [mailto:MailScanner at ECS.SOTON.AC.UK]
>>>Sent: September 20, 2005 12:28 PM
>>>To: MAILSCANNER at JISCMAIL.AC.UK
>>>Subject: Re: [MAILSCANNER] Problem with new MCP rules?
>>>
>>>
>>>Scott Silva wrote:
>>>
>>> 
>>>
>>>      
>>>
>>>>Johnny Stork spake the following on 9/20/2005 10:27 AM:
>>>>
>>>>
>>>>  
>>>>
>>>>        
>>>>
>>>>>After going through the instructions for coniguring MCP, I had no
>>>>>problem getting MailScanner to identify subject or body text
>>>>>contained in the default example rule file 10_example.cf. So I
>>>>>created a new file with the extension *cf, with the contents below,
>>>>>and resstared MailScanner. Going to the MailWatch interface, Tools,
>>>>>and "Update MCP Rules Descriptions" and it correctly showed the new
>>>>>rules listed below, But sending an email with only the word
>>>>>"password" in the subject line got through just fine? What am I
>>>>>missing?
>>>>>
>>>>>Thanks
>>>>>
>>>>>
>>>>>
>>>>># Rules for PBCO Message Content Protection
>>>>>#
>>>>>
>>>>>header   PASSWORD-SUBJECT-RULE    Subject =~ /password/i
>>>>>describe PASSWORD-SUBJECT-RULE    Banned Subject
>>>>>score    PASSWORD-SUBJECT-RULE    5
>>>>>
>>>>>body     PASSWORD-BODY-RULE    /password/i
>>>>>describe PASSWORD-BODY-RULE    Banned body text
>>>>>score    PASSWORD-BODY-RULE    5
>>>>>
>>>>> 
>>>>>    
>>>>>          
>>>>>
>>>>I don't see any rules with "-" dashes, they all have '_' underscores.
>>>>Maybe this isn't an allowed character in a rule name.
>>>>
>>>>
>>>>  
>>>>        
>>>>
>>>SpamAssassin generates a Perl function for each rule, so only the
>>>characters allowed in Perl function names are allowed in SpamAssassin
>>>rule names. So "-" is certainly not allowed, as it is the arithmetic
>>>"minus" operator.
>>>
>>> 
>>>
>>>      
>>>
>PerMsgStatus patch fails but the others apply clean.
>I don't run MCP, but had some free time to at least try the patches.
>
>
>  
>

-- 
Julian Field
www.MailScanner.info
Buy the MailScanner book at www.MailScanner.info/store
Professional Support Services at www.MailScanner.biz
MailScanner thanks transtec Computers for their support

PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654

------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the Wiki (http://wiki.mailscanner.info/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).

Support MailScanner development - buy the book off the website!



More information about the MailScanner mailing list