RES: RES: RES: mcp help

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


Fixed. But mcp still don't working. Any suggestion?

May 28 12:31:37 netserver MailScanner[13591]: New Batch: Scanning 1
messages, 1885 bytes 
May 28 12:31:37 netserver MailScanner[13591]: Created attachment dirs for 1
messages 
May 28 12:31:37 netserver MailScanner[13591]: MCP Checks: Starting 
May 28 12:31:37 netserver MailScanner[13591]: Message Content Protection
SpamAssassin returned 512 
May 28 12:31:39 netserver MailScanner[13591]: SpamAssassin returned 0 
May 28 12:31:39 netserver MailScanner[13591]: Virus and Content Scanning:
Starting 
May 28 12:31:39 netserver MailScanner[13591]: Commencing scanning by
clamav... 
May 28 12:31:47 netserver MailScanner[13591]: Completed scanning by clamav 
May 28 12:31:47 netserver MailScanner[13591]: Completed checking by
/usr/bin/file 
May 28 12:31:47 netserver MailScanner[13591]: Requeue: 46CF01086FB.48D13 to
6438F1086FD 
May 28 12:31:47 netserver MailScanner[13591]: About to deliver 1 messages 
May 28 12:31:47 netserver postfix/qmgr[13574]: 6438F1086FD:
from=<wilson at ftpmanager.com>, size=1367, nrcpt=1 (queue active)
May 28 12:31:47 netserver MailScanner[13591]: Uninfected: Delivered 1
messages 
May 28 12:31:47 netserver MailScanner[13591]: Logging message
46CF01086FB.48D13 to SQL 
May 28 12:31:47 netserver MailScanner[13594]: 46CF01086FB.48D13: Logged to
MailWatch SQL 
May 28 12:31:47 netserver MailScanner[13591]: Config: calling custom end
function SQLBlacklist 
May 28 12:31:47 netserver MailScanner[13591]: Closing down by-domain spam
blacklist 
May 28 12:31:47 netserver MailScanner[13591]: Config: calling custom end
function MailWatchLogging 
May 28 12:31:47 netserver MailScanner[13591]: Config: calling custom end
function SQLWhitelist 
May 28 12:31:47 netserver MailScanner[13591]: Closing down by-domain spam
whitelist 
May 28 12:31:47 netserver MailScanner[13591]: MailScanner child dying of old
age 
May 28 12:31:51 netserver postfix/smtp[13631]: 6438F1086FD:
to=<wilson.galafassi at gmail.com>, relay=ftpmanager.com[65.132.196.114]:25,
delay=20, delays=16/0.02/3.2/0.85, dsn=2.0.0, status=sent (250 OK
id=1HshCI-0007g4-TE)
May 28 12:31:51 netserver postfix/qmgr[13574]: 6438F1086FD: removed

-----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 12:11
Para: MailScanner discussion
Assunto: Re: RES: RES: mcp help

Make sure that the account you are using for MailScanner (set in "Run As 
User =" in MailScanner.conf) can write to its home directory. If it 
doesn't have a home directory, then create one. Looks like you are using 
Postfix or Exim and their home dir is set in /etc/passwd to "/no/where".

Wilson A. Galafassi Jr. wrote:
> Running in debug mode i see:
> [7297] dbg: config: mkdir /no/where/.spamassassin failed: mkdir /no:
> Permission denied at /usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin.pm
> line 1578
>
> I can't find where to change this setting.
> This is related to my mcp problem?
>
> -----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
>
>   

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