From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/18553 Path: news.gmane.org!.POSTED!not-for-mail From: =?utf-8?B?U2HFoWEgSmFuacWha2E=?= Newsgroups: gmane.emacs.gnus.user Subject: Re: Is there a simple way to set up spam filtering? Date: Mon, 03 Apr 2017 09:39:17 +0200 Message-ID: <87a87ylz2y.fsf@atmarama.com> References: <87wprr9kfj.fsf@gmail.com> <87ziwm1qvk.fsf@mithlond.arda> <1454178890.2637.62.camel@atmarama.com> <87egcydgio.fsf@iki.fi> <1454185422.2637.72.camel@atmarama.com> <8760yadbp3.fsf@iki.fi> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0866127362486785309==" X-Trace: blaine.gmane.org 1491205196 25058 195.159.176.226 (3 Apr 2017 07:39:56 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 3 Apr 2017 07:39:56 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) To: info-gnus-english@gnu.org Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Mon Apr 03 09:39:47 2017 Return-path: Envelope-to: gegu-info-gnus-english@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cuwaU-0004pj-1i for gegu-info-gnus-english@m.gmane.org; Mon, 03 Apr 2017 09:39:42 +0200 Original-Received: from localhost ([::1]:57912 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cuwaY-0001FA-EH for gegu-info-gnus-english@m.gmane.org; Mon, 03 Apr 2017 03:39:46 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38349) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cuwaS-0001F3-Uf for info-gnus-english@gnu.org; Mon, 03 Apr 2017 03:39:41 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cuwaP-00063o-P1 for info-gnus-english@gnu.org; Mon, 03 Apr 2017 03:39:40 -0400 Original-Received: from [195.159.176.226] (port=58073 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cuwaP-00061v-Gm for info-gnus-english@gnu.org; Mon, 03 Apr 2017 03:39:37 -0400 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1cuwaA-00036X-EJ for info-gnus-english@gnu.org; Mon, 03 Apr 2017 09:39:22 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 101 Original-X-Complaints-To: usenet@blaine.gmane.org Cancel-Lock: sha1:MU/OdKWi1/HHwgkErxQMvokOzM0= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 195.159.176.226 X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader \(in English\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Original-Sender: "info-gnus-english" Xref: news.gmane.org gmane.emacs.gnus.user:18553 Archived-At: --===============0866127362486785309== Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Teemu Likonen writes: > It sounds like you are using IMAP method. Then you need to read the info > page "(gnus) Client-Side IMAP Splitting" and use nnimap-split-fancy > variable. After long time and some experience with spam package I decided to replace it with (simpler) gnus-bogofilter. Spam package worked OK, but was not able to properly handly false positives=E2=80=A6 > After reading the info page "(gnus) Fancy Mail Splitting" I'd say that > putting the symbol nil as the split rule will leave the message where it > was. Here's again my fancy split rule example: > > (| (: bogofilter-split "spam" "unsure") > ;; You can add split rules here if you want to. > "misc")) > > So in the example replace the string "misc" with symbol nil. I haven't > tested it and I don't use IMAP splitting so I give no guarantees. I use several IMAP accounts and my setup looks as: (setq gnus-secondary-select-methods '( (nnimap "gour" (nnimap-address "=E2=80=A6=E2=80=9C") (nnimap-server-port 993) (nnimap-stream ssl) (nnimap-authinfo-file "~/.authinfo.gpg") (nnimap-inbox ("INBOX" "spam")) (nnimap-split-methods 'nnimap-split-fancy) (nnimap-split-fancy (| (: gnus-registry-split-fancy-with-parent) (: bogofilter-split "spam" "unsure") ("List-Id" ".*