Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Kai Oliver Kaminski <kai.kaminski@gmx.de>
To: info-gnus-english@gnu.org
Subject: Re: IMAP mail splitting problem
Date: Tue, 12 Jun 2007 01:57:11 +0200	[thread overview]
Message-ID: <87myz66o4o.fsf@gmx.de> (raw)
In-Reply-To: <mailman.1950.1181581084.32220.info-gnus-english@gnu.org>

egallego@babel.ls.fi.upm.es (Emilio Jesús Gallego Arias) writes:

> Kai Oliver Kaminski <kai.kaminski@gmx.de> writes:
>
>> egallego@babel.ls.fi.upm.es (Emilio Jesús Gallego Arias) writes:
>>>>>> (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"))
>>>>>
>>>
>>> Have you tried
>>>
> Umm, see my config, it works ok, however sometimes I have to use
> wildcards in the rules for it to work.
>
> (setq nnimap-split-rule '(("babel" ("INBOX" nnimap-split-fancy)))
>       nnimap-split-fancy
>       '(| ("subject" ".*\\[\\*SPAM\\*\\].*"              "spam.fi")
>           ("subject" ".*\\[\\*INFECATADO\\*\\].*"        "spam.fi")
>           ("subject" ".*\\[\\*ADJUNTO PROHIBIDO\\*\\].*" "spam.fi")
>           ("X-Spam-Flag" "YES"                           "spam.fi")
>           (any       ".*clp@comp.nus.edu.sg.*" "listas/clp")
>           ("INBOX")))
>
>
> In this rule
> (setq nnimap-split-rule '(("babel" ("INBOX" nnimap-split-fancy)))
>
> babel means the secondary select method, as in
>
> (setq gnus-secondary-select-methods
>       '((nnimap "babel"
Thanks a lot for your patience, Emilio. Unfortunately that didn't help
either. I have no idea what to try next. Maybe I'll try to make the
Gnus functions emit some debug info.

Cheers,
Kai

  parent reply	other threads:[~2007-06-11 23:57 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-08 13:46 Kai Kaminski
2007-06-09  1:15 ` Pascal Bourguignon
2007-06-10 22:49   ` Kai Oliver Kaminski
2007-06-11 14:24     ` Emilio Jesús Gallego Arias
     [not found]     ` <mailman.1940.1181574241.32220.info-gnus-english@gnu.org>
2007-06-11 18:30       ` Kai Oliver Kaminski
2007-06-11 16:57         ` Emilio Jesús Gallego Arias
     [not found]         ` <mailman.1950.1181581084.32220.info-gnus-english@gnu.org>
2007-06-11 23:57           ` Kai Oliver Kaminski [this message]
2007-06-14 15:11             ` Emilio Jesús Gallego Arias

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=87myz66o4o.fsf@gmx.de \
    --to=kai.kaminski@gmx.de \
    --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).