Je voudrais utiliser bogofilter avec Gnus 5.10.6 pour trier le
spam. J'arrive a appeler correctement la règle spam-split pour que
filter soit appelé et il fait son boulot.
Bon contre, j'ai un soucis pour l'apprentissage de bogofilter. Je ne
comprends pas comment faire en sorte que Gnus injecte un spam ou ham, en
fonction de la marque de spam (M-d), dans bogofilter pour enrichir sa
base.
Pour l'instant, j'ai ça dans mon .gnus (péché par Google) et ça marche
pas terrible :
;;; from http://www.emacswiki.org/cgi-bin/wiki.pl?GnusSpam
(require 'spam)
(setq spam-use-bogofilter t) ; I am using bogofilter but there are others
(setq gnus-install-group-spam-parameters nil)
;; Here I define general anti-spam things
;; it only say that on exiting all groups matching nnml:private.*,
;; we launch the spam processor and ham processor (using bogofilter)
(setq gnus-spam-process-newsgroups
'(("nnml+private:.*" (gnus-group-spam-exit-processor-bogofilter
gnus-group-ham-exit-processor-bogofilter)))
;; All messages marked as spam in these groups should go to junk
gnus-spam-process-destinations '(("nnml+private:.*" "nnml+private:junk"))
;; and ham found into the junk should be moved to reclassify group
gnus-ham-process-destination '(("nnml+private:junk" "nnml+private:reclassify"))
spam-junk-mailgroups '("nnml+private:junk")
spam-split-group "nnml+private:junk")
Dans la doc de Gnus, il est dit:
_WARNING_
Instead of the obsolete
`gnus-group-spam-exit-processor-bogofilter', it is recommended
that you use `'(spam spam-use-bogofilter)'. Everything will work
the same way, we promise.
Mais comme d'hab., je comprends pas où mettre cette commande.
Merci d'avance pour tout coups de main,
Amicalement,
david
--
David Mentré
Cette action est irreversible, confirmez la suppression du commentaire ?
Signaler le commentaire
Veuillez sélectionner un problème
Nudité
Violence
Harcèlement
Fraude
Vente illégale
Discours haineux
Terrorisme
Autre
Remi Vanicat
David MENTRE writes:
Bonjour à tous,
Je voudrais utiliser bogofilter avec Gnus 5.10.6 pour trier le spam. J'arrive a appeler correctement la règle spam-split pour que filter soit appelé et il fait son boulot.
Bon contre, j'ai un soucis pour l'apprentissage de bogofilter. Je ne comprends pas comment faire en sorte que Gnus injecte un spam ou ham, en fonction de la marque de spam (M-d), dans bogofilter pour enrichir sa base.
Pour l'instant, j'ai ça dans mon .gnus (péché par Google) et ça marche pas terrible :
;;; from http://www.emacswiki.org/cgi-bin/wiki.pl?GnusSpam (require 'spam) (setq spam-use-bogofilter t) ; I am using bogofilter but there are others (setq gnus-install-group-spam-parameters nil) ;; Here I define general anti-spam things ;; it only say that on exiting all groups matching nnml:private.*, ;; we launch the spam processor and ham processor (using bogofilter) (setq gnus-spam-process-newsgroups '(("nnml+private:.*" (gnus-group-spam-exit-processor-bogofilter gnus-group-ham-exit-processor-bogofilter))) ;; All messages marked as spam in these groups should go to junk gnus-spam-process-destinations '(("nnml+private:.*" "nnml+private:junk")) ;; and ham found into the junk should be moved to reclassify group gnus-ham-process-destination '(("nnml+private:junk" "nnml+private:reclassify")) spam-junk-mailgroups '("nnml+private:junk") spam-split-group "nnml+private:junk")
Dans la doc de Gnus, il est dit: _WARNING_
Instead of the obsolete `gnus-group-spam-exit-processor-bogofilter', it is recommended that you use `'(spam spam-use-bogofilter)'. Everything will work the same way, we promise.
Mais comme d'hab., je comprends pas où mettre cette commande.
ben, a la place de gnus-group-spam-exit-processor-bogofilter :
Je voudrais utiliser bogofilter avec Gnus 5.10.6 pour trier le
spam. J'arrive a appeler correctement la règle spam-split pour que
filter soit appelé et il fait son boulot.
Bon contre, j'ai un soucis pour l'apprentissage de bogofilter. Je ne
comprends pas comment faire en sorte que Gnus injecte un spam ou ham, en
fonction de la marque de spam (M-d), dans bogofilter pour enrichir sa
base.
Pour l'instant, j'ai ça dans mon .gnus (péché par Google) et ça marche
pas terrible :
;;; from http://www.emacswiki.org/cgi-bin/wiki.pl?GnusSpam
(require 'spam)
(setq spam-use-bogofilter t) ; I am using bogofilter but there are others
(setq gnus-install-group-spam-parameters nil)
;; Here I define general anti-spam things
;; it only say that on exiting all groups matching nnml:private.*,
;; we launch the spam processor and ham processor (using bogofilter)
(setq gnus-spam-process-newsgroups
'(("nnml+private:.*" (gnus-group-spam-exit-processor-bogofilter
gnus-group-ham-exit-processor-bogofilter)))
;; All messages marked as spam in these groups should go to junk
gnus-spam-process-destinations '(("nnml+private:.*" "nnml+private:junk"))
;; and ham found into the junk should be moved to reclassify group
gnus-ham-process-destination '(("nnml+private:junk" "nnml+private:reclassify"))
spam-junk-mailgroups '("nnml+private:junk")
spam-split-group "nnml+private:junk")
Dans la doc de Gnus, il est dit:
_WARNING_
Instead of the obsolete
`gnus-group-spam-exit-processor-bogofilter', it is recommended
that you use `'(spam spam-use-bogofilter)'. Everything will work
the same way, we promise.
Mais comme d'hab., je comprends pas où mettre cette commande.
ben, a la place de gnus-group-spam-exit-processor-bogofilter :
Je voudrais utiliser bogofilter avec Gnus 5.10.6 pour trier le spam. J'arrive a appeler correctement la règle spam-split pour que filter soit appelé et il fait son boulot.
Bon contre, j'ai un soucis pour l'apprentissage de bogofilter. Je ne comprends pas comment faire en sorte que Gnus injecte un spam ou ham, en fonction de la marque de spam (M-d), dans bogofilter pour enrichir sa base.
Pour l'instant, j'ai ça dans mon .gnus (péché par Google) et ça marche pas terrible :
;;; from http://www.emacswiki.org/cgi-bin/wiki.pl?GnusSpam (require 'spam) (setq spam-use-bogofilter t) ; I am using bogofilter but there are others (setq gnus-install-group-spam-parameters nil) ;; Here I define general anti-spam things ;; it only say that on exiting all groups matching nnml:private.*, ;; we launch the spam processor and ham processor (using bogofilter) (setq gnus-spam-process-newsgroups '(("nnml+private:.*" (gnus-group-spam-exit-processor-bogofilter gnus-group-ham-exit-processor-bogofilter))) ;; All messages marked as spam in these groups should go to junk gnus-spam-process-destinations '(("nnml+private:.*" "nnml+private:junk")) ;; and ham found into the junk should be moved to reclassify group gnus-ham-process-destination '(("nnml+private:junk" "nnml+private:reclassify")) spam-junk-mailgroups '("nnml+private:junk") spam-split-group "nnml+private:junk")
Dans la doc de Gnus, il est dit: _WARNING_
Instead of the obsolete `gnus-group-spam-exit-processor-bogofilter', it is recommended that you use `'(spam spam-use-bogofilter)'. Everything will work the same way, we promise.
Mais comme d'hab., je comprends pas où mettre cette commande.
ben, a la place de gnus-group-spam-exit-processor-bogofilter :