[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: IMAP mail splitting problem
From: |
Kai Oliver Kaminski |
Subject: |
Re: IMAP mail splitting problem |
Date: |
Tue, 12 Jun 2007 01:57:11 +0200 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux) |
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