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

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

IMAP mail splitting problem


From: Kai Kaminski
Subject: IMAP mail splitting problem
Date: Fri, 08 Jun 2007 15:46:18 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux)

Hi,

I'm using Gnus v5.11/Emacs 22.1.50.1  to read mail (via nnimap) and
news. Everything works fine, except mail splitting. I'm subscribed to
several mailing lists, which can be recognized by looking for [foo] in
the subject line. I have the following in my .gnus:

(setq nnimap-split-crosspost nil)
(setq nnimap-split-inbox '("INBOX"))
(setq nnimap-split-predicate "UNSEEN UNDELETED")

(setq nnimap-split-rule 'nnimap-split-fancy)
(setq nnimap-split-fancy
      '(| (subject "\\[Haskell\\]" "Haskell")
          (subject "\\[Haskell-cafe\\]" "Haskell-cafe")
          (subject "\\[slime-devel\\]" "slime-devel")
          ("List-Id" "yhc\\.haskell\\.org" "yhc")
          "misc"))

Interestingly the 'yhc' entry seems to work, but all other mails are
always put into mail.misc. While trying to figure out where that
'mail.'-prefix came from, I discovered that nnmail-split-fancy's value
is "mail.misc". This is odd, since I didn't set that value. In fact,
there is not a single reference to nnmail-anything in my configuration
files. I tried replacing nnimap- by nnmail- in the code above, but
that didn't help either. I also tried variations of "Subject",
"subject" etc, to no avail.

Using non-fancy mail-splitting didn't seem to work either, as in

(setq nnimap-split-rule
      '(("Haskell" "Subject:.*\\[Haskell\\]")
        ("Haskell-cafe" "Subject:.*\\[Haskell-cafe\\]")
        ("misc" "")))



Kai


reply via email to

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