Spam Folder: Difference between revisions

Back up to the Email Features Category
From AAISP Support Site
m (Folders are being created automatically)
(Interaction between Spam checking and Sieve filtering)
 
(17 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<indicator name="Faults">[[File:Menu-emailadd.svg|link=:Category:Email_Features|30px|Back up to the Email Features Category]]</indicator>
<indicator name="Faults">[[File:Menu-emailadd.svg|link=:Category:Email_Features|30px|Back up to the Email Features Category]]</indicator>
We create some special folders manually to help with dealing with spam.


When connecting to our email service over IMAP we will create a special folder named <code>spam</code> (lowercase). If you delete the spam folder it will be re-created next time you log in.
*spam
*learnspam
*learnham


Some email clients recognise this folder as being 'special' and may call it something else, e.g. our webmail calls it <code>Junk</code>
Note that these names are case sensitive.


The service will then move messages that have been classified as spam into this folder (unless you are doing your own Sieve filtering). This helps
===spam===
keep your inbox free of spam and you should keep an eye on this folder in case there are messages
Messages which the system has marked as spam will be placed
that are not spam.
in to the spam folder rather than your inbox. -this helps
keep your inbox free of spam.


Some email clients (e.g. K-9 Mail for Android) refuse to notify the user of new mail in the Spam folder. This behaviour can be corrected by declaring (e.g. in the account's folder settings) that there is no special Spam folder.
You should keep an eye on this folder in case there are messages
that are not spam. -if you do find such messages, then move then
to the learnham folder which is in your Inbox.


If you delete the spam folder, then spam messages will go to
==Disabling the spam folder ==
To stop the mail system from putting spam (or any) messages then you can create an allow list for your address on the Control Pages.
your Inbox folder instead.


==Spam 'learning'==
===learnspam and learnham===


Our spam checking system performs many checks on a
The special spam folders leanspam and
message to decide whether it is spam or not. One of the
are folders that you can move messages in to so as to help
checks it can do, is to compare the message with previous
the Bayesian system deal with your email.
messages -this is called Bayesian Learning.


==Checking the learning==
TEACHING A MESSAGE AS SPAM:
If you view the '[[Email_Viewing_Headers|headers]]' of a message, you should see the spam report, and a line looking like:
-3.0 BAYES_00 BODY: Bayes spam probability is 0 to 1%
or perhaps
0.8 BAYES_50 BODY: Bayes spam probability is 40 to 60%
Here you can see the 'Bayes spam probability' as a percentage.
In the first example the Bayes really thinks the message is not spam - it says 0-1%. The second example is less sure about it.


If you have a message which is spam, but the system
==Teaching the system==
If the 'Bayes spam probability' is incorrect, then it can be taught about messages that it has got wrong in the following ways:
has not marked as spam, then you can move the message to
your spam folder. This will get learnt as it's moved.


*Move a message '''OUT''' of the spam folder to tell the system it is '''NOT spam'''
You can also move the message in to the learnspam folder
*Move a message '''IN''' to the spam folder to tell the system it '''IS spam'''
for it to get learnt overnight, it will then be moved
back to your spam folder once learnt.


If you make a mistake, just move the message back.
TEACHING A MESSAGE AS NOT-SPAM (HAM):


The process of learning doesn't guarantee that the system will be correct next time a similar message is received, but it should help
If you have a message that has been marked as spam, but
and you should see a change in the 'probability' in the headers.
is not a spam message, then you can do move it out
of the spam folder and in to your Inbox and it will be
learnt as it's moved.



Here is how the look in webmail:

[[File:Email-default-folders.png]]

(The 'Junk; folder is actually called 'spam', but in this case, Roundcube displays the folder as 'Junk' instead of 'spam'.)


==Legacy folders==
In the past we used to have a system that used folders called <code>learnham</code> and <code>learnspam</code> - this system is no longer used. These
folders can be removed.


[[Category:Email Features]]
[[Category:Email Features]]
[[Category:Email How to]]

Latest revision as of 10:47, 18 December 2023


When connecting to our email service over IMAP we will create a special folder named spam (lowercase). If you delete the spam folder it will be re-created next time you log in.

Some email clients recognise this folder as being 'special' and may call it something else, e.g. our webmail calls it Junk

The service will then move messages that have been classified as spam into this folder (unless you are doing your own Sieve filtering). This helps keep your inbox free of spam and you should keep an eye on this folder in case there are messages that are not spam.

Some email clients (e.g. K-9 Mail for Android) refuse to notify the user of new mail in the Spam folder. This behaviour can be corrected by declaring (e.g. in the account's folder settings) that there is no special Spam folder.

Disabling the spam folder

To stop the mail system from putting spam (or any) messages then you can create an allow list for your address on the Control Pages.

Spam 'learning'

Our spam checking system performs many checks on a message to decide whether it is spam or not. One of the checks it can do, is to compare the message with previous messages -this is called Bayesian Learning.

Checking the learning

If you view the 'headers' of a message, you should see the spam report, and a line looking like:

 -3.0 BAYES_00               BODY: Bayes spam probability is 0 to 1%

or perhaps

 0.8 BAYES_50               BODY: Bayes spam probability is 40 to 60%

Here you can see the 'Bayes spam probability' as a percentage. In the first example the Bayes really thinks the message is not spam - it says 0-1%. The second example is less sure about it.

Teaching the system

If the 'Bayes spam probability' is incorrect, then it can be taught about messages that it has got wrong in the following ways:

  • Move a message OUT of the spam folder to tell the system it is NOT spam
  • Move a message IN to the spam folder to tell the system it IS spam

If you make a mistake, just move the message back.

The process of learning doesn't guarantee that the system will be correct next time a similar message is received, but it should help and you should see a change in the 'probability' in the headers.

Legacy folders

In the past we used to have a system that used folders called learnham and learnspam - this system is no longer used. These folders can be removed.