Gnus development mailing list
 help / color / mirror / Atom feed
From: Stephen Leake <stephen_leake@stephe-leake.org>
To: ding@lists.math.uh.edu
Subject: using nnimap-split-fancy to split mail on server?
Date: Mon, 22 Dec 2014 10:48:55 -0600	[thread overview]
Message-ID: <85h9wnocjs.fsf@stephe-leake.org> (raw)

I've been using Gnus with a POP backend forever, but I've recently
decided it would be nice to occasionally reference an email on my
smartphone.

So I'm switching to imap. I have several groups set up, and was hoping
that Gnus would automagically create the same groups on the sever as
separate IMAP mailboxes. But that doesn't seem to work.

The Gnus manual does not specifically address this, as far as I can see.
Browsing thru the ding archive on gmane I find some articles that seem
to imply it should work. Browsing thru nnimap.el I find
nnimap-request-move-article, so the infrastructure for this seems to be
there.

Here's my setup:

(setq mail-sources
      '((imap :server "mail.stephe-leake.org"
	      :user "stephen_leake@stephe-leake.org"
	      :port 143
	      :stream 'network
	      :fetchflag "\\Seen"
	      )
        ))

(setq nnimap-split-fancy
      '(|
	;; spam
	("subject" "SPAMSPAM" "spam")
	("from" "strat laios <stratlaios@verizon.net>" "spam")

        ;; These are before 'home' rules because people reply "to:" me,
        ;; "cc:" group
        ("to\\|cc" "bbdb-info" "bbdb-info")
        ("to\\|cc" "debian-ada" "debian-ada")
        ("to\\|cc" "debian" "spam")

...
))

This splits mail as expected in Gnus on my laptop. But when I access the
same server account via the GMail app on my smartphone, it does not show
the mailboxes/folders (it shows only the default 4 folders: Drafts,
Junk, Sent, Trash). I can search to find the mail I'm looking for, but
the folders would be very nice.

Is there anything else I need to do?

-- 
-- Stephe



             reply	other threads:[~2014-12-22 16:48 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-22 16:48 Stephen Leake [this message]
2015-01-26  3:29 ` Lars Ingebrigtsen
2015-01-26 10:04   ` Stephen Leake
2015-01-27  0:55     ` Lars Ingebrigtsen
2015-01-27  9:25       ` Stephen Leake
2015-01-27 10:16         ` Stephen Leake

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=85h9wnocjs.fsf@stephe-leake.org \
    --to=stephen_leake@stephe-leake.org \
    --cc=ding@lists.math.uh.edu \
    /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).