Gnus development mailing list
 help / color / mirror / Atom feed
From: bojohan+news@dd.chalmers.se (Johan Bockgård)
Subject: Re: some messages ending up in 'bogus' group
Date: Sat, 09 Jul 2005 14:36:45 +0200	[thread overview]
Message-ID: <yoij7jg06tr6.fsf@linus003.dd.chalmers.se> (raw)
In-Reply-To: <87wto1m607.fsf@gmail.com>

Sebastian Luque <spluque@gmail.com> writes:

> I recently found that a mail message sent to me ended up in the
> 'bogus' group, much to my horror (because I was not subscribed to
> that one...until now). I reanalyzed my ~/.gnus, but couldn't find
> anything that could cause this, but reading the manual it seemed
> that this might have something to do with it:
>
> (require 'spam)
> (setq spam-split-group "Spam"
>       spam-use-bogofilter t
>       nnmail-split-methods 'nnmail-split-fancy
>       nnmail-split-fancy
>       '(| (any ".*video4linux.*\\|.*Sympa\\|.*helixcommunity.*\\|.*aircanada.com.*\\|.*ostg.*" "Various")
> 	  ("to" ".*ecolog-l.*" "Ecolog-L")
> 	  ("to" ".*marmam.*" "Marmam")
> 	  ("to" ".*mammal-l.*" "Mammal-L")
> 	  (: spam-split)
> 	  "mail.misc"))
> (spam-initialize)


The only thing i can think of is that something happens that makes
spam-split signal an error. In that case you would see "Error in
`nnmail-split-methods'; using `bogus' mail group" in the echo area.

This is a workaround:

(defadvice spam-split (around ignore-errors activate)
  (condition-case data
      ad-do-it
    (error (message "Error in spam-split: %s" data) nil)))

-- 
Johan Bockgård



      reply	other threads:[~2005-07-09 12:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-08 19:50 Sebastian Luque
2005-07-09 12:36 ` Johan Bockgård [this message]

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=yoij7jg06tr6.fsf@linus003.dd.chalmers.se \
    --to=bojohan+news@dd.chalmers.se \
    /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).