* some messages ending up in 'bogus' group
@ 2005-07-08 19:50 Sebastian Luque
2005-07-09 12:36 ` Johan Bockgård
0 siblings, 1 reply; 2+ messages in thread
From: Sebastian Luque @ 2005-07-08 19:50 UTC (permalink / raw)
Dear List,
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)
I added this not a long time ago, after learning to use spam, and I didn't
encounter this problem before that. The relevant info contains:
,-----[ (info "(gnus)Splitting Mail") <lines: 31 - 40> ]
| The last of these groups should always be a general one, and the
| regular expression should _always_ be `""' so that it matches any mails
| that haven't been matched by any of the other regexps. (These rules are
| processed from the beginning of the alist toward the end. The first
| rule to make a match will "win", unless you have crossposting enabled.
| In that case, all matching rules will "win".) If no rule matched, the
| mail will end up in the `bogus' group. When new groups are created by
| splitting mail, you may want to run `gnus-group-find-new-groups' to see
| the new groups. This also applies to the `bogus' group.
`-----
so I guess I followed those instructions above, but perhaps someone can
correct me. Thanks in advance.
--
Sebastian P. Luque
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: some messages ending up in 'bogus' group
2005-07-08 19:50 some messages ending up in 'bogus' group Sebastian Luque
@ 2005-07-09 12:36 ` Johan Bockgård
0 siblings, 0 replies; 2+ messages in thread
From: Johan Bockgård @ 2005-07-09 12:36 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-07-09 12:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-07-08 19:50 some messages ending up in 'bogus' group Sebastian Luque
2005-07-09 12:36 ` Johan Bockgård
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).