Bayes and Mailwatch

Pete russell pete at EATATHOME.COM.AU
Tue Nov 11 09:51:18 GMT 2003


Thanks a lot, again - any clues on how to rectify this? It's the last
thing I need to get working before I can tell the boss - it all works :)

I followed your instructions and now get

SA Learn: error code 13 returned from sa-learn
Delete: not deleting file
/var/spool/MailScanner/quarantine/20031111/spam/A805233B9A due to
previous errors

BTW
The line in your install file is incorrect path - should be 2 x nn in
MailScaner

spamassassin -D -p /etc/MailScaner/spam.assassin.prefs.conf --lint


Thanks again
Pete

-----Original Message-----
From: MailScanner mailing list [mailto:MAILSCANNER at JISCMAIL.AC.UK] On
Behalf Of Steve Freegard
Sent: Tuesday, 11 November 2003 7:13 PM
To: MAILSCANNER at JISCMAIL.AC.UK
Subject: Re: Bayes and Mailwatch

Hi Pete,

You'll need to refer to the INSTALL docs for 0.4 and follow the
instructions
for how to move the bayes databases and change the permissions so
MailWatch
can write to them.

Regards,
Steve


-----Original Message-----
From: Pete Russell <pete at EATATHOME.COM.AU>
To: MAILSCANNER at JISCMAIL.AC.UK <MAILSCANNER at JISCMAIL.AC.UK>
Sent: Tue Nov 11 04:01:48 2003
Subject: Re: Bayes and Mailwatch

Sorry to keep 'spamming' but i am stuck.

I have used the sa-learn script to learn 240 messages as spam from the
quarantine/currentdate/spam dir.

I do sa-learn --dump magic and see my 240 messages have been learned.

But now, if i use the mailwatch to try and learn anything, it returns an
error everytime
Result Messages: Release: message released to pmarshal at mydomain.com.au

Error Messages: SA Learn: error code 2 returned from sa-learn

I am not sure where to check for log of this action for more details?
But
maybe some one has seen this brefore and knows a solution?

We have mounds of spam piled up in quarantine and i would like to start
learning and deleting it.

Thanks
Pete


-----Original Message-----
From: MailScanner mailing list [mailto:MAILSCANNER at JISCMAIL.AC.UK]On
Behalf Of Pete Russell
Sent: Tuesday, 11 November 2003 2:27 PM
To: MAILSCANNER at JISCMAIL.AC.UK
Subject: Re: Bayes and Mailwatch


Ok, didnt have DB_File installed, installed that and re run the learn
script
on a couple of files and it worked. Is that it, let MailScanner handle
the
rest and use the quarantine learn script in mailwatch 3?

sa-learn --dump returns info now, instead of nothing and errors.

thanks - sorry for the noob questions
Pete

-----Original Message-----
From: MailScanner mailing list [mailto:MAILSCANNER at JISCMAIL.AC.UK]On
Behalf Of Pete Russell
Sent: Tuesday, 11 November 2003 12:11 PM
To: MAILSCANNER at JISCMAIL.AC.UK
Subject: Bayes and Mailwatch


While trying to work out if bayes is working for me, i did sa-lean
--dump
and recieved the follwing output - doesnt seem like its working. I have
been
using the sa-learn bit in the wailwatch page, and i had a bit fo a read
through archives here and iot would seem MS is meant to auto leArn,
nbayes
should be working by default?

Any tips for me?

Thanks again
Pete


Use of uninitialized value in numeric lt (<) at
/usr/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin/BayesStore.pm line
1281.
0.000          0          0          0  non-token data: bayes db version
0.000          0          0          0  non-token data: nspam
0.000          0          0          0  non-token data: nham
0.000          0          0          0  non-token data: ntokens
0.000          0          0          0  non-token data: oldest atime
0.000          0          0          0  non-token data: current
scan-count
0.000          0          0          0  non-token data: last expiry
atime

-----Original Message-----
From: MailScanner mailing list [mailto:MAILSCANNER at JISCMAIL.AC.UK]On
Behalf Of Pete Russell
Sent: Tuesday, 11 November 2003 11:59 AM
To: MAILSCANNER at JISCMAIL.AC.UK
Subject: Re: Dual TO: names in Mailwatch


Thanks, i want to use bayes i think - i have checked and the
spam.assassin.prefs.conf has the use_bayes 0 commented out
# use_bayes 0

this means bayes is working? and when i use the sa-learn functions of
mailwatch 3, that mail will be learned as spam or ham? Is there anything
else i need to do, i have not touched any settings in mailscanner
regarding
bayes, and only action and scores regarding spamassassin

thanks in advance
Pete



-----Original Message-----
From: MailScanner mailing list [mailto:MAILSCANNER at JISCMAIL.AC.UK]On
Behalf Of Steve Freegard
Sent: Tuesday, 11 November 2003 1:23 AM
To: MAILSCANNER at JISCMAIL.AC.UK
Subject: Re: Dual TO: names in Mailwatch


Hi Pete,

You can still use the quarantine release functions even if you don't use
bayes, the sa-learn function will still work, but would be redundant in
this
case.

Bayes is fantastic - it makes a huge difference to the amount of spam
you
catch - see http://www.paulgraham.com/spam.html for info on bayes.

You could always enable it (it'll take a while for it to autolearn the
required 200 spam and 200 not-spam anyway) and see if your machine copes
with it and disable it again if it doesn't.

Regards,
Steve.


-----Original Message-----
From: Pete russell <pete at EATATHOME.COM.AU>
To: MAILSCANNER at JISCMAIL.AC.UK <MAILSCANNER at JISCMAIL.AC.UK>
Sent: Mon Nov 10 14:11:09 2003
Subject: Re: Dual TO: names in Mailwatch

-----Original Message-----
From: Pete russell [mailto:pete at eatathome.com.au]
Sent: Tuesday, 11 November 2003 1:09 AM
To: 'MailScanner mailing list'
Subject: RE: Dual TO: names in Mailwatch

Thanks - don't put in too much effort, its not the end of the world,
just a nice to have.

While I have your ear - on my production system, mailwatch 0.3,  I have
use_bayes 0 commented out (as default) in the spam.assassin.prefs.conf
file. ( I don't know anything about bayes to warrant turning it on).

Does this mean that the learn features/functions in the quarantine page
don't actually work? It cannot learn from here, without using bayes? But
I can still use this tool to release the mail to the user?

If the above is true, and I have a very low spec machine, do I need ot
turn on bayes, and to do this, all I need to do is uncomment that file?

If a response requires too much detail for here, could you point me
towards further reading?

Kind regards and thanks
Pete

-----Original Message-----
From: MailScanner mailing list [mailto:MAILSCANNER at JISCMAIL.AC.UK] On
Behalf Of Steve Freegard
Sent: Tuesday, 11 November 2003 12:59 AM
To: MAILSCANNER at JISCMAIL.AC.UK
Subject: Re: Dual TO: names in Mailwatch

Hi Pete,

This is a MailScanner or Postfix issue as MailWatch only uses
information
from MailScanner's $message object which is populated by MailScanner
parseing the Postfix message file.

You'll also find the same problem of duplicated 'To' entries in the
admin
notices as reported by someone else.

The postcat command didn't really give me much to go on at all (thought
it'd
be better than that) - so I'll have a Google around and see if I can
find
any info about the file spec for Postfix and see if I can find the
problem.

Regards,
Steve.


-----Original Message-----
From: Pete russell <pete at EATATHOME.COM.AU>
To: MAILSCANNER at JISCMAIL.AC.UK <MAILSCANNER at JISCMAIL.AC.UK>
Sent: Mon Nov 10 13:47:28 2003
Subject: Re: Dual TO: names in Mailwatch

Funny, this happened ona %100 fresh install of mailscanner and fedora
and MW .4 - my previous post was regarding my existing MW .3 machines.

If you do find a fault I can repair myself, please le tme know as I
would like to fix the .3 install on the production servers - cos I wont
be moving to .4 just yet.

thanks
Pete

-----Original Message-----
From: MailScanner mailing list [mailto:MAILSCANNER at JISCMAIL.AC.UK] On
Behalf Of Steve Freegard
Sent: Tuesday, 11 November 2003 12:37 AM
To: MAILSCANNER at JISCMAIL.AC.UK
Subject: Re: Dual TO: names in Mailwatch

Hi Pete,

Can you stop the outbound queue runner temporarily to stop the messages
that
have been processed by MailScanner from being delievered, then run the
'postcat' command across one of the messages and post the output to the
list.

Kind regards,
Steve.


-----Original Message-----
From: Pete russell <pete at EATATHOME.COM.AU>
To: MAILSCANNER at JISCMAIL.AC.UK <MAILSCANNER at JISCMAIL.AC.UK>
Sent: Mon Nov 10 08:38:36 2003
Subject: Dual TO: names in Mailwatch

I have the latest version of mailwatch, mailscanner, postfix, mysql and
RH9 - in the TO: column, when looking at recent messages, all the names
are listed twice - this also makes the Top Recipients by Volume graph
unreadable as the legend has 2 entries for each person. Doesn't seem
like we are getting 2 deliveries though, and doesn't seem like anything
is written twice to the maillog.



Any ideas?



Pete

--
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the sender and delete the message from your mailbox.

This footnote also confirms that this email message has been swept by
MailScanner (www.mailscanner.info) for the presence of computer viruses.


--
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the sender and delete the message from your mailbox.

This footnote also confirms that this email message has been swept by
MailScanner (www.mailscanner.info) for the presence of computer viruses.

--
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the sender and delete the message from your mailbox.

This footnote also confirms that this email message has been swept by
MailScanner (www.mailscanner.info) for the presence of computer viruses.

--
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the sender and delete the message from your mailbox.

This footnote also confirms that this email message has been swept by
MailScanner (www.mailscanner.info) for the presence of computer viruses.



More information about the MailScanner mailing list