Make Spamassassin learn spam mails
Eoin Kim
Eoin.Kim at rcst.com.au
Tue May 2 22:57:39 UTC 2017
Hi all,
Thanks for your help, really appreciate it. Got a bit more questions if you guys don't mind.
1. So, if I make SA learn the spam/ham through the MailWatch, where does the learnt results get stored? In the bayes directory (e.g. bayes_journal, bayes_seen and so on)? My spamassassin has the following settings at the moment:
bayes_path /etc/MailScanner/bayes/bayes
bayes_file_mode 0660
2. If I am thinking correctly regarding the #1, during the disaster recovery (thinking of the worst case), copying those bayes files would be enough? Or should I make SA learn again?
Thanks a lot.
Eoin
From: MailScanner [mailto:mailscanner-bounces+eoin.kim=rcst.com.au at lists.mailscanner.info] On Behalf Of David While
Sent: Tuesday, 2 May 2017 9:22 PM
To: MailScanner Discussion <mailscanner at lists.mailscanner.info>
Subject: Re: Make Spamassassin learn spam mails
Yes if you set store & deliver then the email is delivered and stored on the server.
The learning is done manually from Mailwatch so once that is done you can delete the meesage off the server.
David
On 02/05/2017 11:31, Eoin Kim wrote:
Oh, good to know. Thanks mate, really appreciate it. So, I believe you are talking about setting Non Spam Actions? If I set it to store and deliver, does it automatically deliver the clean emails to receivers and store them for setting SA learning? What if I delete the message files on the system after delivery? Does the SA still keep what it learnt? Storing the clean messages might occupy the disk quite quickly though I guess. Thanks again.
Eoin Kim
Systems Administrator
RCS Telecommunications
Level 1 - The Annexe
133 Mary Street
Brisbane, QLD, 4000
Office: 07 3228 0843
Mobile: 0419 726 231
________________________________
From: MailScanner <mailscanner-bounces+eoin.kim=rcst.com.au at lists.mailscanner.info><mailto:mailscanner-bounces+eoin.kim=rcst.com.au at lists.mailscanner.info> on behalf of David While <dwhile at while.org.uk><mailto:dwhile at while.org.uk>
Sent: Tuesday, 2 May 2017 6:48 PM
To: MailScanner Discussion
Subject: Re: Make Spamassassin learn spam mails
I do it using Mailwatch. To do this you have to configure MailScanner to store all mail including the non-spam messages. Then the clean spam can be learned using mailwatch.
David
On 02/05/2017 03:13, Eoin Kim wrote:
Hello all,
This might sound like a stupid question but I am having trouble with making SA learn spam emails. I have MailScanner and MailWatch running in my work. Recently, we have received some spams. Few of them were actually just delivered to receivers as a clean email. I wanted to make SA learn these clean emails as a spam but it looks like I can't do that. The ones I can do are the emails already regarded as spam. They already have {Spam?} prefix in the subject and its status already shows spam in MailWatch. Are there any ways I can achieve this? Thanks in advance.
Eoin Kim
Systems Administrator
RCS Telecommunications
Level 1 - The Annexe
133 Mary Street
Brisbane, QLD, 4000
Office: 07 3228 0843
Mobile: 0419 726 231
[RCST logo drop shadow]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mailscanner.info/pipermail/mailscanner/attachments/20170502/6cf709a2/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 3384 bytes
Desc: image001.jpg
URL: <http://lists.mailscanner.info/pipermail/mailscanner/attachments/20170502/6cf709a2/attachment.jpg>
More information about the MailScanner
mailing list