From: Eric S Fraga <e.fraga@ucl.ac.uk>
To: <ding@gnus.org>
Subject: Re: Trouble for setting up mail splitting
Date: Thu, 25 Feb 2016 18:06:17 +0000 [thread overview]
Message-ID: <878u28acme.fsf@ucl.ac.uk> (raw)
In-Reply-To: <C41F1453-633F-43FD-BC59-5F919DD72470@gmail.com> (Satak Azat''s message of "Thu, 25 Feb 2016 16:05:02 +0100")
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.
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)
parent reply other threads:[~2016-02-25 18:06 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <C41F1453-633F-43FD-BC59-5F919DD72470@gmail.com>]
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=878u28acme.fsf@ucl.ac.uk \
--to=e.fraga@ucl.ac.uk \
--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).