From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/17538 Path: news.gmane.org!not-for-mail From: Steven Arntson Newsgroups: gmane.emacs.gnus.user Subject: Re: newbie spam filtering with gnus Date: Thu, 02 Apr 2015 09:56:40 -0700 Message-ID: <87pp7msc3b.fsf@stevenarntson.com> References: <87ego44m0v.fsf@stevenarntson.com> <87oan8c6js.fsf@enricoschumann.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1427996409 11668 80.91.229.3 (2 Apr 2015 17:40:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 2 Apr 2015 17:40:09 +0000 (UTC) Cc: info-gnus-english@gnu.org To: Enrico Schumann Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Thu Apr 02 19:40:04 2015 Return-path: Envelope-to: gegu-info-gnus-english@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Ydj63-0005CQ-NG for gegu-info-gnus-english@m.gmane.org; Thu, 02 Apr 2015 19:40:03 +0200 Original-Received: from localhost ([::1]:59649 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ydj63-0001rd-6J for gegu-info-gnus-english@m.gmane.org; Thu, 02 Apr 2015 13:40:03 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59505) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YdiQA-0002be-OM for info-gnus-english@gnu.org; Thu, 02 Apr 2015 12:56:47 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YdiQ8-00039n-2l for info-gnus-english@gnu.org; Thu, 02 Apr 2015 12:56:46 -0400 Original-Received: from imap2-2.ox.privateemail.com ([192.64.116.207]:55866) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YdiQ7-00039L-VE for info-gnus-english@gnu.org; Thu, 02 Apr 2015 12:56:44 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by imap2.ox.privateemail.com (Postfix) with ESMTP id 47DE98C0083; Thu, 2 Apr 2015 12:56:42 -0400 (EDT) X-Virus-Scanned: Debian amavisd-new at imap2.ox.privateemail.com Original-Received: from imap2.ox.privateemail.com ([127.0.0.1]) by localhost (imap2.ox.privateemail.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id Q9adHxXVFFYb; Thu, 2 Apr 2015 12:56:42 -0400 (EDT) Original-Received: from THENIGHTLAND.stevenarntson.com (unknown [104.244.220.59]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by imap2.ox.privateemail.com (Postfix) with ESMTPSA id 7D5038C0081; Thu, 2 Apr 2015 12:56:41 -0400 (EDT) In-Reply-To: <87oan8c6js.fsf@enricoschumann.net> (Enrico Schumann's message of "Wed, 01 Apr 2015 15:38:31 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] X-Received-From: 192.64.116.207 X-Mailman-Approved-At: Thu, 02 Apr 2015 13:37:18 -0400 X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.14 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-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.gnus.user:17538 Archived-At: Enrico Schumann writes: > On Wed, 01 Apr 2015, Steven Arntson writes: >> Is there any sort of simple "starter kit" for newcomers getting going on >> filtering out spam? >> >> Thank you for any advice aimed at a not-very-technical person! >> -steven >> > > When I used POP some years ago, what worked out of the box for me was > using SpamAssassin as an external programme (spamc) during splitting, as > described in the manual: > > http://www.gnu.org/software/emacs/manual/html_node/gnus/SpamAssassin.html > > To quote from the relevant section: > > ,---- > | [A] solution is to call the external tools during splitting. Example > | fancy split method: > | > | (setq nnmail-split-fancy '(| (: kevin-spamassassin) > | ...)) > | > | (defun kevin-spamassassin () > | (save-excursion > | (save-restriction > | (widen) > | (if (eq 1 (call-process-region (point-min) (point-max) > | "spamc" nil nil nil "-c")) > | "spam")))) > `---- > > > > Kind regards, > Enrico Thank you for this---I've read, or tried to, the page you've referenced, though it's far over my head. I put the code above into my .gnus.el file. However, I really am in the dark! For instance, is the `...' in the second line of that code an ellipsis telling me to put my own items in there, or is it active code that should be preserved? Do I really use "kevin-spamassassin" or am I to change that to something that has to do with my own system? At present, the code isn't doing anything as far as I can tell.