From: yamaoka Date: Thu, 8 Jan 2004 03:22:23 +0000 (+0000) Subject: Translate. X-Git-Tag: t-gnus-6_17_4-quimby-~1149 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=afe5682351879051f012441575c3e9b8f6412327;p=elisp%2Fgnus.git- Translate. --- diff --git a/texi/gnus-ja.texi b/texi/gnus-ja.texi index cd728de..254cd89 100644 --- a/texi/gnus-ja.texi +++ b/texi/gnus-ja.texi @@ -22098,105 +22098,109 @@ Ham $B$,(B spam $B%0%k!<%W$+$i0\F0$5$l$kA0$K0u$r>C$7$?$$>l9g$O!"$3$NJQ?t$r%;% @cindex spam configuration examples @cindex spam -@subsubheading Ted's setup +@subsubheading Ted $B$N@_Dj(B From Ted Zlatanov . @example -;; for gnus-registry-split-fancy-with-parent and spam autodetection -;; see gnus-registry.el for more information +;; gnus-registry-split-fancy-with-parent $B$H(B spam $B$N<+F08!CN$N$?$a!#(B +;; $B>\:Y$O(B gnus-registry.el $B$r;2>H!#(B (gnus-registry-initialize) (spam-initialize) -;; I like control-S for marking spam +;; $B;d$O(B spam $B0u$rIU$1$k$N$K(B control-S $B$r9%$`!#(B (define-key gnus-summary-mode-map "\C-s" 'gnus-summary-mark-as-spam) (setq - spam-log-to-registry t ;; for spam autodetection + spam-log-to-registry t ;; Spam $B$N<+F08!CN$N$?$a!#(B spam-use-BBDB t - spam-use-regex-headers t ; catch X-Spam-Flag (SpamAssassin) - ;; all groups with "spam" in the name contain spam + spam-use-regex-headers t ;; X-Spam-Flag (SpamAssassin) $B$r$D$+$^$($k!#(B + ;; $BL>A0$K(B "spam" $B$r4^$`$9$Y$F$N%0%k!<%W$K$O(B spam $B5-;v$,$"$k!#(B gnus-spam-newsgroup-contents '(("spam" gnus-group-spam-classification-spam)) - ;; see documentation for these + ;; $B$3$l$i$N(B docstring $B$r;2>H!#(B spam-move-spam-nonspam-groups-only nil spam-mark-only-unseen-as-spam t spam-mark-ham-unread-before-move-from-spam-group t nnimap-split-rule 'nnimap-split-fancy - ;; understand what this does before you copy it to your own setup! + ;; $B$"$J$?$N@_Dj$KDI2C$9$kA0$K!"$3$l$,2?$r$9$k$+M}2r$;$h(B! nnimap-split-fancy '(| - ;; trace references to parents and put in their group + ;; References $B$r?F$^$GC)$C$F$=$l$i$N%0%k!<%W$rF~$l$k!#(B (: gnus-registry-split-fancy-with-parent) - ;; this will catch server-side SpamAssassin tags + ;; $B$3$l$O%5!<%P!e$G!";d$O(B SpamAssassin $B$,(B spam $B$rG'<1$9$k(B +;; $B%H%l!<%K%s%0$N$?$a$K(B "train" $B%0%k!<%W$r!"(Bham $B$rG'<1$9$k%H%l!<(B +;; $B%K%s%0$N$?$a$K(B "trainham" $B%0%k!<%W$r;H$$$^$9!#$G$b(B Gnus $B$O$=$&(B +;; $B$$$&$3$H$O$d$C$F$/$l$^$;$s!#(B @end example -@subsubheading Using @file{spam.el} on an IMAP server with a statistical filter on the server +@subsubheading $B%5!<%P!<>e$N(B IMAP $B%5!<%P!<$G!"E}7WE*$J_I2a4o$H(B @file{spam.el} $B$r;H$&(B From Reiner Steib . -My provider has set up bogofilter (in combination with @acronym{DCC}) on -the mail server (@acronym{IMAP}). Recognized spam goes to -@samp{spam.detected}, the rest goes through the normal filter rules, -i.e. to @samp{some.folder} or to @samp{INBOX}. Training on false -positives or negatives is done by copying or moving the article to -@samp{training.ham} or @samp{training.spam} respectively. A cron job on -the server feeds those to bogofilter with the suitable ham or spam -options and deletes them from the @samp{training.ham} and -@samp{training.spam} folders. +$B;d$N%W%m%P%$%@$O(B (@acronym{IMAP}) $B%a!<%k%5!<%P!<>e$G(B (@acronym{DCC} $B$HO"(B +$B78$7$?(B) bogofilter $B$r2TF/$5$;$F$$$^$9!#G'<1$5$l(B +$B$?(B spam $B$O(B @samp{spam.detected} $B$X9T$-!";D$j$K$ODL>o$N_I2a5,B'$,E,MQ$5$l(B +$B$k!"(B $B$9$J$o$A(B @samp{some.folder} $B$+(B @samp{INBOX} $B$K9T$-$^$9!#9NDj$N<:GT(B +$B$"$k$$$OH]Dj$N%H%l!<%K%s%0$O!"(B@samp{training.ham} $B$^$?(B +$B$O(B @samp{training.spam} $B$=$l$>$l$K5-;v$r%3%T!<$9$k$+0\F0$5$;$k$3$H$K$h$C(B +$B$F9T$J$o$l$^$9!#%5!<%P!<>e$N(B cron $B%8%g%V$,!"$=$l$i$rE,@Z$J(B ham $B$^$?(B +$B$O(B spam $B%*%W%7%g%s$H$H$b$K(B bogofilter $B$KM?$(!"(B@samp{training.ham} $B$*$h(B +$B$S(B @samp{training.spam} $B%U%)%k%@$+$i$=$l$i$r:o=|$7$^$9!#(B -With the following entries in @code{gnus-parameters}, @code{spam.el} -does most of the job for me: +$B0J2<$N(B @code{gnus-parameters} $B$N9`$K$h$C$F!"(B@code{spam.el} $B$O$[$H$s$I$N(B +$B;E;v$r;d$N$?$a$K$3$J$7$^$9(B: @lisp ("nnimap:spam\\.detected" @@ -22208,55 +22212,56 @@ does most of the job for me: (spam-contents gnus-group-spam-classification-ham)) @end lisp -@itemize +@itemize @item @b{The Spam folder:} -In the folder @samp{spam.detected}, I have to check for false positives -(i.e. legitimate mails, that were wrongly judged as spam by -bogofilter or DCC). - -Because of the @code{gnus-group-spam-classification-spam} entry, all -messages are marked as spam (with @code{$}). When I find a false -positive, I mark the message with some other ham mark (@code{ham-marks}, -@ref{Spam ELisp Package Global Variables}). On group exit, those -messages are copied to both groups, @samp{INBOX} (were I want to have -the article) and @samp{training.ham} (for training bogofilter) and -deleted from the @samp{spam.detected} folder. - -The @code{gnus-article-sort-by-chars} entry simplifies detection of -false positives for me. I receive lots of worms (sweN, @dots{}), that all -have a similar size. Grouping them by size (i.e. chars) makes finding -other false positives easier. (Of course worms aren't @i{spam} -(@acronym{UCE}, @acronym{UBE}) strictly speaking. Anyhow, bogofilter is -an excellent tool for filtering those unwanted mails for me.) +@samp{spam.detected} $B%U%)%k%@$K$*$$$F!";d$O9NDj$N<:GT(B ($B$9$J$o$A!"(B +bogofilter $B$+(B DCC $B$,(B spam $B$G$"$k$H8m$C$FH=Dj$7$?@5Ev$J%a!<%k(B) $B$N%A%'%C%/(B +$B$r$7$J$1$l$P$J$j$^$;$s!#(B + +@code{gnus-group-spam-classification-spam} $B$N9`$N$?$a$K!"$9$Y$F$N%a%C%;!<(B +$B%8$K$O(B spam $B$N0u(B (@code{$}) $B$,IU$1$i$l$^$9!#9NDj$K<:GT$7$?$b$N$r8+$D$1$?(B +$B$i!";d$O5-;v$K$$$/$D$+$NB>$N(B ham $B0u(B (@code{ham-marks}, @ref{Spam ELisp +Package Global Variables}) $B$rIU$1$^$9!#%0%k!<%W$r=P$k$H$-!"$=$l$i$N5-;v(B +$B$O(B @samp{INBOX} ($B;d$,5-;v$rCV$$$F$*$-$?$$$H$3(B +$B$m(B) $B$H(B @samp{training.ham} (bogofilter $B$N%H%l!<%K%s%0MQ(B) $B$NN>J}$N%0%k!<(B +$B%W$K%3%T!<$5$l!"(B@samp{spam.detected} $B%U%)%k%@$+$i:o=|$5$l$^$9!#(B + +@code{gnus-article-sort-by-chars} $B$N9`$O!";d$N<:GT$7$?9NDj$N8!CN$rC1=c$K(B +$B$7$^$9!#;d$O!"$9$Y$F;w$?%5%$%:$N!"$?$/$5$s$N%o!<%`(B (sweN, @dots{}) $B$r$N4V0c$C$?9NDj(B +$B$r8+$D$1$d$9$/$J$k$N$G$9!#(B($B$b$A$m$s87L)$K$O%o!<%`$O(B @i{spam} +(@acronym{UCE}, @acronym{UBE}) $B$G$O$"$j$^$;$s!#$H$b$"$l!"$=$l$i$NMW$i$J(B +$B$$%a!<%k$r_I2a$9$k$N$K(B bogofilter $B$O;d$K$H$C$FM%=($JF;6q$G$9!#(B) @item @b{Ham folders:} -In my ham folders, I just hit @kbd{S x} -(@code{gnus-summary-mark-as-spam}) whenever I see an unrecognized spam -mail (false negative). On group exit, those messages are moved to -@samp{training.ham}. +$B;d$N(B ham $B%U%)%k%@$G!"G'<1$5$l$J$+$C$?(B spam $B%a!<%k(B ($BH]Dj$N<:GT(B) $B$r8+$?$H(B +$B$-$O$$$D$G$b!";d$OC1$K(B @kbd{S x} (@code{gnus-summary-mark-as-spam}) $B$rC!(B +$B$-$^$9!#%0%k!<%W$r=P$k$H$-!"$=$l$i$N%a%C%;!<%8$O(B @samp{training.ham} $B$K(B +$B0\$5$l$^$9!#(B @end itemize -@subsubheading Reporting spam articles in Gmane groups with @code{spam-report.el} +@subsubheading @code{spam-report.el} $B$G(B Gmane $B%0%k!<%W$N(B spam $B$rJs9p$9$k(B From Reiner Steib . -With following entry in @code{gnus-parameters}, @kbd{S x} -(@code{gnus-summary-mark-as-spam}) marks articles in @code{gmane.*} -groups as spam and reports the to Gmane at group exit: +$B0J2<$N(B @code{gnus-parameters} $B$KG<$a$?9`L\$K$h$C$F!"(B@kbd{S x} +(@code{gnus-summary-mark-as-spam}) $B$G(B @code{gmane.*} $B%0%k!<%W$N(B spam $B5-(B +$B;v$K0u$rIU$1!"%0%k!<%W$r=P$k$H$-$K(B Gmane $B$KJs9p$7$^$9(B: @lisp ("^gmane\\." (spam-process (gnus-group-spam-exit-processor-report-gmane))) @end lisp -Additionally, I use @code{(setq spam-report-gmane-use-article-number nil)} -because I don't read the groups directly from news.gmane.org, but -through my local news server (leafnode). I.e. the article numbers are -not the same as on news.gmane.org, thus @code{spam-report.el} has to check -the @code{X-Report-Spam} header to find the correct number. +$B2C$($F!";d$O(B news.gmane.org $B$+$i$G$O$J$/%m!<%+%k%K%e!<%9%5!<(B +$B%P!<(B (leafnode) $B$rDL$7$F5-;v$rFI$s$G$$$k$N$G!"(B +@code{(setq spam-report-gmane-use-article-number nil)} $B$r;H$C$F$$$^$9!#(B +$B$D$^$j!"5-;vHV9f$,(B news.gmane.org $B$K$*$1$k$b$N$H0[$J$k$N$G!"@5$7$$5-;vHV(B +$B9f$r8+$D$1$k$?$a$K(B @code{spam-report.el} $B$K(B @code{X-Report-Spam} $B%X%C%@!<(B +$B$r8!::$5$;$J$1$l$P$J$j$^$;$s!#(B @node Blacklists and Whitelists @subsubsection $B%V%i%C%/%j%9%H$H%[%o%$%H%j%9%H(B