Gnus development mailing list
 help / color / mirror / Atom feed
From: Manoj Srivastava <srivasta@golden-gryphon.com>
To: ding@gnus.org
Subject: Using spam.el to report spam to gmane
Date: Fri, 05 Dec 2008 10:47:00 -0600	[thread overview]
Message-ID: <87wseepo1n.fsf@anzu.internal.golden-gryphon.com> (raw)

Hi,

        I use Gnus to read a fair amount of mailing lists via
 NNTP/gmane, and I'd like to gent involved in helping  report spam to
 gmane. I have been trying to use spam.el to do so. Since I have a large
 number of mailing lists, I did not want to use `G P' on every group, so
 I wanted to just set the corresponding variables in my gnusrc
 file. Unfortunately, the documentation present is not up to the task of
 unconfusing me.

	I added this to my gnusrc:
--8<---------------cut here---------------start------------->8---
(setq gnus-spam-autodetect-methods
      '(
        (".*" . (spam-use-blacklist
                 spam-use-BBDB
                 ;;spam-use-bogofilter
                 spam-use-gmane-xref))
        ))              ;default
(setq gnus-spam-autodetect '(("^nntp.*" . t)
                             ("^gmane\\." .t)
                             ("^nnml:\\(debian-.*\\)$" . t)))

(setq gnus-spam-process-newsgroups
      '(("^nntp+news.gmane.org" ((spam spam-use-gmane)))
        ("^gmane\\."            ((gnus-group-spam-exit-processor-report-gmane)))
        (".*" nil)                      ;test
        ))

;; Since the above did not seem to do anything, try this
(add-to-list
 'gnus-parameters
 '("^gmane\\."
   (spam-autodetect-methods spam-use-gmane-xref spam-use-gmane spam-use-BBDB)
   (spam-autodetect . t)
   (spam-process (gnus-group-spam-exit-processor-report-gmane))
   ))
--8<---------------cut here---------------end--------------->8---

        As you can see, thre is some duplication here, as I tried to get
 this to work.  It seems to properly recognize spam; ao the
 spam-atuodetect part is right.  But while sniffing my network traffic
 while leaving a group where I had marked articles as spam, no report
 was sent to gmane.

        What am I doing wrong? Is the spam reporting deferred in some
 way? Do I need to take additional action?

        manoj

-- 
It is only people of small moral stature who have to stand on their
dignity.
Manoj Srivastava <srivasta@acm.org> <http://www.golden-gryphon.com/>  
1024D/BF24424C print 4966 F272 D093 B493 410B  924B 21BA DABB BF24 424C



             reply	other threads:[~2008-12-05 16:47 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-05 16:47 Manoj Srivastava [this message]
2008-12-08 18:47 ` Ted Zlatanov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87wseepo1n.fsf@anzu.internal.golden-gryphon.com \
    --to=srivasta@golden-gryphon.com \
    --cc=ding@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).