Gnus development mailing list
 help / color / mirror / Atom feed
From: Yury Bulka <setthemfree@privacyrequired.com>
To: ding@gnus.org
Subject: Can't get splitting to work with nnmaildir
Date: Sat, 07 Nov 2015 19:50:29 +0200	[thread overview]
Message-ID: <86k2pt3di2.fsf@privacyrequired.com> (raw)

Dear list,

I fetch my mail locally with an external program (mpop) that puts it
into ~/.Mail/INBOX which is symlinked to ~/.nnmaildir/primary. This
works fine.

Now I'm trying to make Gnus put mail from a certain mailing list
to a separate group ("list.sc").

With this config:

    (setq gnus-select-method 
          '(nnmaildir "primary"
                       (directory "~/.nnmaildir/")
                       (get-new-mail t)))
    (setq mail-sources '((file)))
    (setq nnmail-split-methods
          '(("list.sc" "^List-Id:.*sc-users\.create\.ucsb\.edu.*")
            ("primary" "")))

When I run `gnus-summary-respool-trace` on a message from that list, it
correctly reports "This message would go to list.sc".

However, when I hit B r (gnus-summary-respool-article) the message just
gets put back into "primary" instead of "list.sc" group.

Will be very grateful for any suggestions on what I'm doing wrong here.

Thanks,
Yury.

P.S. Someone has asked a similar question before, but it got lost:
http://thread.gmane.org/gmane.emacs.gnus.general/68878



             reply	other threads:[~2015-11-07 17:50 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-07 17:50 Yury Bulka [this message]
2016-02-07  2:31 ` Lars Ingebrigtsen

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=86k2pt3di2.fsf@privacyrequired.com \
    --to=setthemfree@privacyrequired.com \
    --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).