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

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

Re: IMAP mail splitting problem


From: Emilio Jesús Gallego Arias
Subject: Re: IMAP mail splitting problem
Date: Mon, 11 Jun 2007 18:57:27 +0200
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.1.50 (gnu/linux)

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
>>
>> (setq nnmail-split-fancy-match-partial-words t)
> No, I hadn't. I've tried it now but it doesn't work either.

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

Regards,

Emilio





reply via email to

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