RES: mcp help

Wilson A. Galafassi Jr. wilson.galafassi at gmail.com
Mon May 28 15:37:37 IST 2007


Hello.

Here is my output using --debug-sa and --lint
I'm not using rbl checks. This is done by my external Server.

[root at netserver MailScanner]# /usr/sbin/MailScanner --debug-sa 
In Debugging mode, not forking...
[5447] dbg: logger: adding facilities: all
[5447] dbg: logger: logging level is DBG
[5447] dbg: generic: SpamAssassin version 3.2.0
[5447] dbg: config: score set 0 chosen.
[5447] dbg: util: running in taint mode? no
[5447] dbg: dns: no ipv6
[5447] dbg: dns: is Net::DNS::Resolver available? yes
[5447] dbg: dns: Net::DNS version: 0.59
[5447] 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
[5447] dbg: config: Permission denied
[5447] info: config: failed to parse line, skipping, in
"/etc/MailScanner/mcp/mcp.spam.assassin.prefs.conf": use_dcc 0
[5447] info: config: failed to parse line, skipping, in
"/etc/MailScanner/mcp/mcp.spam.assassin.prefs.conf": use_pyzor 0
[5447] info: config: failed to parse line, skipping, in
"/etc/MailScanner/mcp/mcp.spam.assassin.prefs.conf": use_razor1 0
[5447] info: config: failed to parse line, skipping, in
"/etc/MailScanner/mcp/mcp.spam.assassin.prefs.conf": use_razor2 0
[5447] info: config: failed to parse line, skipping, in
"/etc/MailScanner/mcp/mcp.spam.assassin.prefs.conf": decode_attachments 1
[5447] dbg: logger: adding facilities: all
[5447] dbg: logger: logging level is DBG
[5447] dbg: generic: SpamAssassin version 3.2.0
[5447] dbg: config: score set 0 chosen.
[5447] dbg: dns: no ipv6
[5447] dbg: dns: is Net::DNS::Resolver available? yes
[5447] dbg: dns: Net::DNS version: 0.59
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.
[5447] dbg: config: read_scoreonly_config: cannot open "": No such file or
directory


[root at netserver MailScanner]# /usr/sbin/MailScanner --lint
Read 764 hostnames from the phishing whitelist
Config: calling custom init function SQLBlacklist
Config: calling custom init function MailWatchLogging
Config: calling custom init function SQLWhitelist
Checking version numbers...
Version number in MailScanner.conf (4.59.4) is correct.
MailScanner setting GID to  (12345)
MailScanner setting UID to  (12345)

Checking for SpamAssassin errors (if you use it)...
Using SpamAssassin results cache
Connected to SpamAssassin cache database
config: SpamAssassin failed to parse line, "/usr/bin/pyzor" is not valid for
"pyzor_path", skipping: pyzor_path /usr/bin/pyzor
config: failed to parse line, skipping, in
"/etc/mail/spamassassin/mailscanner.cf": use_dcc             0
SpamAssassin reported an error.
lock.pl sees Config  LockType =  flock
lock.pl sees have_module =  0
Using locktype = flock
MailScanner.conf says "Virus Scanners = clamav"
Found these virus scanners installed: clamav, clamd

-----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 09:49
Para: mailscanner at lists.mailscanner.info
Assunto: Re: mcp help

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Have you run MailScanner using --lint and --debug-sa ?

On Mon, 28 May 2007 09:17:35 -0300
"Wilson A. Galafassi Jr." <wilson.galafassi at gmail.com> 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
> > 
> >  
> > 
> >  
> > 
> >  
> > 
> >  
> > 
> > 
> 
> 


- --
- --[ UxBoD ]--
// PGP Key: "curl -s https://www.splatnix.net/uxbod.asc | gpg --import"
// Fingerprint: C759 8F52 1D17 B3C5 5854  36BD 1FB1 B02F 5DB5 687B //
Keyserver: www.keyserver.net Key-ID: 0x5DB5687B // Phone: +44 845 869 2749
SIP Phone: uxbod at sip.splatnix.net -----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4 (GNU/Linux)

iD8DBQFGWs+nH7GwL121aHsRAlTJAJ94n3+bJ6WRqXmi/Vgd7Eul0rB9KACeKGDI
MkJKF8NSnFpI9Ry7dD/fzrk=
=YGdg
-----END PGP SIGNATURE-----

--
This message has been scanned for viruses and dangerous content by
MailScanner, and is believed to be clean.




More information about the MailScanner mailing list