Gnus development mailing list
 help / color / mirror / Atom feed
* Using spam.el to report spam to gmane
@ 2008-12-05 16:47 Manoj Srivastava
  2008-12-08 18:47 ` Ted Zlatanov
  0 siblings, 1 reply; 2+ messages in thread
From: Manoj Srivastava @ 2008-12-05 16:47 UTC (permalink / raw)
  To: ding

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



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-12-08 18:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-12-05 16:47 Using spam.el to report spam to gmane Manoj Srivastava
2008-12-08 18:47 ` Ted Zlatanov

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).