From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/17536 Path: news.gmane.org!not-for-mail From: Enrico Schumann Newsgroups: gmane.emacs.gnus.user Subject: Re: newbie spam filtering with gnus Date: Wed, 01 Apr 2015 15:38:31 +0200 Message-ID: <87oan8c6js.fsf@enricoschumann.net> References: <87ego44m0v.fsf@stevenarntson.com> 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 1427900040 3251 80.91.229.3 (1 Apr 2015 14:54:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 1 Apr 2015 14:54:00 +0000 (UTC) Cc: info-gnus-english@gnu.org To: Steven Arntson Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Wed Apr 01 16:53:51 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 1YdK1c-00035U-UP for gegu-info-gnus-english@m.gmane.org; Wed, 01 Apr 2015 16:53:49 +0200 Original-Received: from localhost ([::1]:53107 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YdK1X-0005EN-9N for gegu-info-gnus-english@m.gmane.org; Wed, 01 Apr 2015 10:53:43 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40297) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YdIr0-000186-RO for info-gnus-english@gnu.org; Wed, 01 Apr 2015 09:38:47 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YdIqx-0004Bz-N9 for info-gnus-english@gnu.org; Wed, 01 Apr 2015 09:38:46 -0400 Original-Received: from www231.your-server.de ([188.40.28.11]:36143) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YdIqx-0004Aj-HD for info-gnus-english@gnu.org; Wed, 01 Apr 2015 09:38:43 -0400 Original-Received: from [88.198.220.131] (helo=sslproxy02.your-server.de) by www231.your-server.de with esmtpsa (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (Exim 4.80.1) (envelope-from ) id 1YdIqs-0005Gf-Ec; Wed, 01 Apr 2015 15:38:38 +0200 Original-Received: from [109.164.234.9] (helo=radiance.enricoschumann.net) by sslproxy02.your-server.de with esmtpsa (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (Exim 4.80) (envelope-from ) id 1YdIqp-0004sH-5M; Wed, 01 Apr 2015 15:38:35 +0200 In-Reply-To: <87ego44m0v.fsf@stevenarntson.com> (Steven Arntson's message of "Tue, 31 Mar 2015 19:31:28 -0700") X-Authenticated-Sender: es@enricoschumann.net X-Virus-Scanned: Clear (ClamAV 0.98.5/20274/Wed Apr 1 12:49:12 2015) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 188.40.28.11 X-Mailman-Approved-At: Wed, 01 Apr 2015 10:51:52 -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:17536 Archived-At: On Wed, 01 Apr 2015, Steven Arntson writes: > Several times in the last few months I've read through the Gnus manual > about filtering out spam, and I always end overwhelmed. But I would like > to accomplish something. I'm getting about 50 spam mails a day right now > in my POP "nnml:mail.misc". They are all pretty "obvious" spam of the > sort containing word salad under subject lines about discounted drugs > and impossible enhancements. I've downloaded Spamassassin, but haven't > been able to get my head around fancy splitting, connecting Gnus to > Spamassassin, &c. And there appear to be many other options besides > Spamassassin, which I am at a loss to evaluate. > > 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 -- Enrico Schumann Lucerne, Switzerland http://enricoschumann.net