info-gnus-english
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

nnimap and Gmail splitting


From: Seb
Subject: nnimap and Gmail splitting
Date: Mon, 16 Nov 2009 12:56:58 -0600
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux)

Hi,

I've recently started using IMAP for my Gmail account, but am having
trouble with mail splitting.  My account has an INBOX and SPAM groups,
as is the standard in these accounts, among other groups (so-called
"labels" in Gmail).  I have set up the following:

---<--------------------cut here---------------start------------------->---
(require 'spam)
(setq spam-split-group "SPAM"
      spam-use-bogofilter t
      ;; nnmail-split-methods 'nnmail-split-fancy
      nnimap-split-rule 'nnimap-split-fancy
      nnimap-split-predicate "UNDELETED"
      nnimap-split-inbox '("INBOX")
      nnimap-split-fancy
      '(| (to ".*ecolog-l.*" "Ecolog-L")
          (from ".*mammal-l.*" "Mammal-L")
          (: spam-split)
          "INBOX"))
(spam-initialize)
---<--------------------cut here---------------end--------------------->---

My intention for `nnimap-split-fancy' is to: 1) put mail from an
Ecolog-L list in the Ecolog-L group, 2) mails from Mammal-L in the
Mammal-L group, 3) put all spam messages (as recognized by bogofilter)
in the SPAM group, and everything else leave in the INBOX group.
However, what is actually happening is: all the mail that is not meant
to Mammal-L or Ecolog-L, and is not spam, are apparently completely
lost.  Fortunately, Gmail has an "All mail" button that lets me access
all mail, even though it is not listed in the *Gnus Browse Server*
buffer.  What am I doing wrong?  Thanks.


Cheers,

-- 
Seb





reply via email to

[Prev in Thread] Current Thread [Next in Thread]