Changes

Jump to navigation Jump to search
349 bytes added ,  06:57, 30 August 2017
Line 308: Line 308:  
Voir la [[Greylisting]].
 
Voir la [[Greylisting]].
   −
===Bayesian Filtering===
+
=== Filtrage bayésien ===
From [[wikipedia:Naive_Bayes_spam_filtering|Wikipedia]]:
+
De [[wikipedia: Naive_Bayes_spam_filtering | Wikipedia]]:
<blockquote>Naive Bayes classifiers work by correlating the use of tokens (typically words, or sometimes other things), with spam and non-spam e-mails and then using Bayes' theorem to calculate a probability that an email is or is not spam.</blockquote>
+
<Blockquote> Les classificateurs Naive Bayes fonctionnent en corrélant l'utilisation des jetons (généralement des mots, ou parfois d'autres choses), avec des pourriels et des courriels, puis en utilisant le théorème de Bayes pour calculer la probabilité qu'un courrier électronique soit ou non un spam.</Blockquote>
   −
SME server supports bayesian filtering, but does not have it enabled by default.
+
Le serveur SME prend en charge le filtrage bayésien, mais il n'est pas activé par défaut.
   −
Enabling bayesian filtering, autolearning, and spam/ham training allows spamassassin to learn from received email and improve spam filter performance. [[Bugzilla: 6822]]
+
L'activation du filtrage bayésien, de l'auto-apprentissage et de la formation sur le spam / ham permet à spamassassin d'apprendre à partir des courriels reçus et d'améliorer les performances du filtre anti-spam. [[Bugzilla: 6822]]
   −
====Bayesian Autolearning====
+
====Autoapprentissage bayésien====
The following command will enable the bayesian learning filter and set thresholds for the bayesian filter.
+
La commande suivante activera le filtre d'apprentissage bayésien et réglera des seuils pour le filtre bayésien.
 
  config setprop spamassassin UseBayes 1
 
  config setprop spamassassin UseBayes 1
 
  config setprop spamassassin BayesAutoLearnThresholdSpam 6.00
 
  config setprop spamassassin BayesAutoLearnThresholdSpam 6.00
Line 332: Line 332:  
  signal-event email-update
 
  signal-event email-update
   −
These commands will:
+
Ces commandes :
* enable spamassassin
+
* activeront spamassassin ;
* configure spamassassin to reject any email with a score above 12
+
* configuront spamassassin pour rejeter tout courriel de score supérieur à 12 ;
* tag spam scored between 4 and 12 in the email header
+
* marqueront comme pourriel dans l'objet ceux de score compris entre 4 et 12 ;
* enable bayesian filter
+
* activeront le filtre bayésien ;
* 'autolearn' as SPAM any email with a score above 6.00
+
* 'autoapprendront' comme POURRIEL tout courriel de score supérieur à 6.00 ;
Note: SpamAssassin requires at least 3 points from the header, and 3 points from the body
  −
to auto-learn as spam.
  −
Therefore, the minimum working value for this option is 6, to be changed in increments of 3,
  −
12 considered to be a good working value..
  −
* 'autolearn' as HAM any email with a score below 0.10
     −
Check the bayes stats with the command:
+
Note : SpamAssassin a besoin d'au moins 3 points de l'objet (header) et de 3 points du corps pour auto-apprendre à détecter un pourriel.
 +
Par conséquent, la valeur minimale de fonctionnement de cette option est 6, à modifier par incrément de 3, 12 étant considéré comme une
 +
bonne valeur de fonctionnement.
 +
* 'auto-apprendront' comme HAM tout courriel de score inférieur à 0.10.
 +
 
 +
Vérifiez les statistiques bayésiennes avec la commande :
 
  sa-learn --dump magic
 
  sa-learn --dump magic
   −
The database is located in /var/spool/spamd/.spamassassin/bayes
+
La base de données est située dans /var/spool/spamd/.spamassassin/bayes
    
====LearnAsSpam / LearnAsHam (spam/ham training)====
 
====LearnAsSpam / LearnAsHam (spam/ham training)====
3,054

edits

Navigation menu