Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Seb <spluque@gmail.com>
To: info-gnus-english@gnu.org
Subject: Re: nnimap split rules
Date: Wed, 18 Nov 2009 21:56:27 -0600	[thread overview]
Message-ID: <87einvqiac.fsf@kolob.sebmags.homelinux.org> (raw)
In-Reply-To: <1150868033.023833.6360@i40g2000cwc.googlegroups.com>

On 20 Jun 2006 22:33:53 -0700,
"harry meyers" <late@literaturlatenight.de> wrote:

> Ted Zlatanov schrieb:

>> 1) I think your fancy split rules are wrong.  They look like simple
>> split rules.  Look at the nnimap-split-fancy docs.

>> 2) gnus-spam-process-destination doesn't affect splitting, it matters
>> when you exit a group and you have articles in it that are marked as
>> spam.  They will be processed by the spam backends and then sent to
>> the spam-process-destination ("SPAM" for all groups in your setup).
>> There's a similar process for non-spam (ham) articles.

>> Hope this helps Ted
> Yes, thans, that helped. As spam splitting with bogofilter requires
> fancy split rules I changed that in my gnus but did not change the
> other splitting rules to fancy split rules. Now I did this, everything
> works properly.  harry

Can someone please show a working example of `nnimap-split-fancy' with
`spam-split' using bogofilter?  I have:

---<--------------------cut here---------------start------------------->---
(require 'spam)
(setq spam-split-group "SPAM"
      spam-use-bogofilter t
      nnimap-split-inbox '("INBOX")
      nnimap-split-predicate "UNSEEN"
      nnimap-split-rule 'nnimap-split-fancy
      nnimap-split-fancy
      '(| (from ".*sebmags.homelinux.org.*" "System")
	  (: spam-split)
	  "INBOX"))
(spam-initialize)
---<--------------------cut here---------------end--------------------->---

but invariably all messages in INBOX are obliterated completely from the
IMAP server.  Any help would be very much appreciated.

Cheers,

-- 
Seb

  reply	other threads:[~2009-11-19  3:56 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-19  5:11 harry meyers
2006-06-19 14:55 ` Ted Zlatanov
2006-06-21  5:33   ` harry meyers
2009-11-19  3:56     ` Seb [this message]
     [not found]     ` <mailman.11008.1258603022.2239.info-gnus-english@gnu.org>
2009-12-01 21:02       ` 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=87einvqiac.fsf@kolob.sebmags.homelinux.org \
    --to=spluque@gmail.com \
    --cc=info-gnus-english@gnu.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).