Gnus development mailing list
 help / color / mirror / Atom feed
* Splitting rules
@ 2010-10-20 21:29 Olivier Sirven
  2010-10-21 14:41 ` Olivier Sirven
  0 siblings, 1 reply; 3+ messages in thread
From: Olivier Sirven @ 2010-10-20 21:29 UTC (permalink / raw)
  To: ding

Hi,

Since the upgrade to No Gnus v0.11 I'm stuck with my splitting rules and
can't make them to work. Oddly all incoming emails are moved to
mail.misc group.

The configuration I use (anonymized):

--8<---------------cut here---------------start------------->8---
(add-to-list 'gnus-secondary-select-methods
             '(nnimap "df"
                      (nnimap-inbox "INBOX")
                      (nnimap-split-methods
                       (
                         ("INBOX.toto"
                          (lambda(group)
                            (message group)
                            (and
                             (string-match 
                               "^From: toto@example.com" 
                               (buffer-string))
                             (string-match 
                               "^Subject:.*toto email" 
                               (buffer-string)))))
                         ("INBOX.tutu"
                          "^From: .*tutu@example.com")
                         ;; general rule
                         ("INBOX.misc" "")
                         ))
                      (nnir-search-engine imap)
                      (nnimap-address "mail.example.com")
                      (nnimap-server-port 993)
                      (nnimap-stream ssl)
                      (nnimap-authinfo-file "~/.authinfo.gpg")
                      ))
--8<---------------cut here---------------end--------------->8---

What am I doing wrong here?

Thanks

--
Olivier




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-10-21 15:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-20 21:29 Splitting rules Olivier Sirven
2010-10-21 14:41 ` Olivier Sirven
2010-10-21 15:56   ` Lars Magne Ingebrigtsen

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).