URL: https://linuxfr.org/forums/linux-mandriva/posts/comment-marche-spamassassin Title: Comment marche SpamAssassin ? Authors: Zorro Date: 2004年12月01日T20:56:06+01:00 Tags: Score: 0 Bonjour, Est-ce que vous savez comment marche SpamAssassin 2.63 (installé sur ma Mdk 9.2 à partir des RPM de [http://www.eslrahc.com/9.2/(...)](http://www.eslrahc.com/9.2/) ) ? Je viens de l'installer, j'ai tout bien réglé les filtres d'Evolution 1.4.6, avec spamc -c et spamd est bien lancé, j'ai bien rempli local.cf avec l'aide du script de [http://www.yrex.com/spam/spamconfig.php(...)](http://www.yrex.com/spam/spamconfig.php) ... Et rien n'est filtré. Pour que ça commence à filtrer, il faut que je lui apprenne, avec la commande sa-learn --spam et --ham, avec un répertoire plein de spam pour lui apprendre. Or d'après ce que je lis ici et là, SA commence tout de suite à filtrer, sans avoir à lui apprendre, pourtant, non ? Merci de vos lumières... Pour info, voilà mon local.cf : # SpamAssassin config file for version 2.5x # generated by [http://www.yrex.com/spam/spamconfig.php(...)](http://www.yrex.com/spam/spamconfig.php) (version 1.01) # How many hits before a message is considered spam. required_hits 5.0 # Whether to change the subject of suspected spam rewrite_subject 0 # Text to prepend to subject if rewrite_subject is used subject_tag *****SPAM***** # Encapsulate spam in an attachment report_safe 0 # Use terse version of the spam report use_terse_report 0 # Enable the Bayes system use_bayes 1 # Enable Bayes auto-learning auto_learn 1 # Enable or disable network checks skip_rbl_checks 0 use_razor2 0 use_dcc 0 use_pyzor 0 # Mail using languages used in these country codes will not be marked # as being possibly spam in a foreign language. # - english french ok_languages en fr # Mail using locales used in these country codes will not be marked # as being possibly spam in a foreign language. ok_locales en auto_whitelist_path /var/spool/spamassassin/auto-whitelist auto_whitelist_file_mode 0666