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

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

Re: Trouble for setting up mail splitting


From: Eric S Fraga
Subject: Re: Trouble for setting up mail splitting
Date: Thu, 25 Feb 2016 18:07:29 +0000
User-agent: Gnus/5.130016 (Ma Gnus v0.16) Emacs/25.0.91 (gnu/linux)

On Thursday, 25 Feb 2016 at 16:05, Satak Azat' wrote:
> Hi,

> I've moved to gnus recently and I wanted to make automatic mail
> spliting, and I managed to set up a functioning config for spliting
> with From. But I'm having trouble when it comes to split with Subject:
> no matter what I put in it, it want to put the mail in bogus.

> And also, gnus doesn't sort the message, he know where they must go
> but doesn't move them.

(send first reply to ding mailing list -- sorry)

I use fancy splitting:

For the secondary select method, I have defined this server:

--8<---------------cut here---------------start------------->8---
(nnimap "xxx"
 (nnimap-address "xxx")
 (nnimap-inbox "INBOX")
 (nnimap-split-methods nnmail-split-fancy)
 (nnimap-stream ssl))
--8<---------------cut here---------------end--------------->8---

and then I have the following (elided for illustration):

--8<---------------cut here---------------start------------->8---
(setq nnmail-split-fancy 
 '(| (from ".*sciencedirect.com" "contents")
     (to ".*clojure@googlegroups.com" "lists.clojure")
     ;; all the rest
     "general"))
--8<---------------cut here---------------end--------------->8---

Note the specification of what split method to use in the server
definition.  There is a whole info section in the gnus manual on how to
set up fancy splitting.

HTH,
eric


-- 
: Eric S Fraga, GnuPG: 0xFFFCF67D
: in Emacs 25.0.91.1 + Ma Gnus v0.16 + evil-git-ff74cfb
: BBDB version 3.1.2 (2015-10-28 10:47:01+00:00)



reply via email to

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