[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: newbie spam filtering with gnus
From: |
Enrico Schumann |
Subject: |
Re: newbie spam filtering with gnus |
Date: |
Fri, 03 Apr 2015 12:08:20 +0200 |
On Thu, 02 Apr 2015, Steven Arntson <steven@stevenarntson.com> writes:
[...]
> Spamc -V does give me a version number, so that seems to be working. I
> added the code you recommended, so the full splitting/spam-oriented
> lines of my .gnus are:
>
> | (setq nnmail-split-methods 'nnmail-split-fancy
> | nnmail-split-fancy '(| (: kevin-spamassassin)
> | "mail.misc"))
> |
> | (defun kevin-spamassassin ()
> | (save-excursion
> | (save-restriction
> | (widen)
> | (if (eq 1 (call-process-region (point-min) (point-max)
> | "spamc" nil nil nil "-c"))
> | "spam"))))
>
> I can receive mail still---all seems to be working, but no spams have
> yet been filtered. Are there steps I need to take directly with
> Spamassassin to get it working?
spamc requires that spamd is running (see 'man spamassassin'). In a
terminal, try
echo something | spamc -r
If SpamAssassin works, it should tell you that the message ('something')
is spam because it is missing headers etc.
--
Enrico Schumann
Lucerne, Switzerland
http://enricoschumann.net
- Re: newbie spam filtering with gnus, Enrico Schumann, 2015/04/01
- Re: newbie spam filtering with gnus, Steven Arntson, 2015/04/02
- Re: newbie spam filtering with gnus, Enrico Schumann, 2015/04/02
- Re: newbie spam filtering with gnus, Steven Arntson, 2015/04/02
- Re: newbie spam filtering with gnus,
Enrico Schumann <=
- Re: newbie spam filtering with gnus, Steven Arntson, 2015/04/03
- Re: newbie spam filtering with gnus, Enrico Schumann, 2015/04/04
- Re: newbie spam filtering with gnus, Steven Arntson, 2015/04/04
- Re: newbie spam filtering with gnus, Steven Arntson, 2015/04/04
- Re: newbie spam filtering with gnus, Enrico Schumann, 2015/04/04