Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* Gmane spam reporting
@ 2010-05-05 10:20 Štěpán Němec
  0 siblings, 0 replies; 4+ messages in thread
From: Štěpán Němec @ 2010-05-05 10:20 UTC (permalink / raw)
  To: info-gnus-english


Hello,

I have this in my .gnus.el:

  (spam-initialize)
  (setq gnus-spam-process-newsgroups
        '(("^gmane\\." (spam spam-use-gmane))))

But what I see in *Messages* after exiting Gmane groups is just the same
as with any other group:

  Exiting summary buffer and applying spam rules
  Registering 1 specific articles as spam using backend spam-use-move
  1 spam messages were registered by backend spam-use-move.

Why is `spam-use-gmane' not used? What am I missing?


Thanks in advance for any pointers,

Štěpán

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

* Re: Gmane spam reporting
       [not found]   ` <mailman.5.1273517522.11383.info-gnus-english@gnu.org>
@ 2010-05-11  4:23     ` Teemu Likonen
  0 siblings, 0 replies; 4+ messages in thread
From: Teemu Likonen @ 2010-05-11  4:23 UTC (permalink / raw)
  To: info-gnus-english

* 2010-05-10 20:51 (+0200), Štěpán Němec wrote:

> Andreas Seltenreich <andreas+news@gate450.dyndns.org> writes:
>> Last time I configured the spam package, it wanted a /list/ of
>> processors instead. I used group parameters to configure it though,
>> so this might not be the case here.
>
> Bingo! Changing the above to
>
>   (setq gnus-spam-process-newsgroups
>         '(("^gmane\\." ((spam spam-use-gmane)))))
>
> did it, thanks!

Ah, now I remember having been confused about the same thing. You know,
there are actually three nested lists in the CDR of that item:

    ("^gmane\\." . (((spam spam-use-gmane))))

It would seem that one level is unnecessary.

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

* Re: Gmane spam reporting
  2010-05-08 12:32 ` Andreas Seltenreich
@ 2010-05-10 18:51   ` Štěpán Němec
       [not found]   ` <mailman.5.1273517522.11383.info-gnus-english@gnu.org>
  1 sibling, 0 replies; 4+ messages in thread
From: Štěpán Němec @ 2010-05-10 18:51 UTC (permalink / raw)
  To: info-gnus-english

Andreas Seltenreich <andreas+news@gate450.dyndns.org> writes:

> Štěpán Němec writes:
>
>>   (spam-initialize)
>>   (setq gnus-spam-process-newsgroups
>>         '(("^gmane\\." (spam spam-use-gmane))))
> [...]
>> Why is `spam-use-gmane' not used? What am I missing?

> Last time I configured the spam package, it wanted a /list/ of
> processors instead.  I used group parameters to configure it though, so
> this might not be the case here.

Bingo! Changing the above to

  (setq gnus-spam-process-newsgroups
        '(("^gmane\\." ((spam spam-use-gmane)))))

did it, thanks!

Štěpán

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

* Re: Gmane spam reporting
       [not found] <mailman.0.1273155030.25276.info-gnus-english@gnu.org>
@ 2010-05-08 12:32 ` Andreas Seltenreich
  2010-05-10 18:51   ` Štěpán Němec
       [not found]   ` <mailman.5.1273517522.11383.info-gnus-english@gnu.org>
  0 siblings, 2 replies; 4+ messages in thread
From: Andreas Seltenreich @ 2010-05-08 12:32 UTC (permalink / raw)
  To: info-gnus-english

Štěpán Němec writes:

>   (spam-initialize)
>   (setq gnus-spam-process-newsgroups
>         '(("^gmane\\." (spam spam-use-gmane))))
[...]
> Why is `spam-use-gmane' not used? What am I missing?

Two pointers:

Is the Gmane server actually your primary select method?  If it isn't,
the group regexp doesn't match because of the prefix.  E.g.,
"^nntp\\+news\\.gmane\\.org"

Last time I configured the spam package, it wanted a /list/ of
processors instead.  I used group parameters to configure it though, so
this might not be the case here.

regards,
andreas

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

end of thread, other threads:[~2010-05-11  4:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-05-05 10:20 Gmane spam reporting Štěpán Němec
     [not found] <mailman.0.1273155030.25276.info-gnus-english@gnu.org>
2010-05-08 12:32 ` Andreas Seltenreich
2010-05-10 18:51   ` Štěpán Němec
     [not found]   ` <mailman.5.1273517522.11383.info-gnus-english@gnu.org>
2010-05-11  4:23     ` Teemu Likonen

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