From: Olivier Sirven <the.slaa@gmail.com>
To: ding@gnus.org
Subject: Splitting rules
Date: Wed, 20 Oct 2010 23:29:03 +0200 [thread overview]
Message-ID: <8762wwh7ts.fsf@corwin.home.thebuble.org> (raw)
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
next reply other threads:[~2010-10-20 21:29 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-20 21:29 Olivier Sirven [this message]
2010-10-21 14:41 ` Olivier Sirven
2010-10-21 15:56 ` Lars Magne Ingebrigtsen
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=8762wwh7ts.fsf@corwin.home.thebuble.org \
--to=the.slaa@gmail.com \
--cc=ding@gnus.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).