From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/85395 Path: news.gmane.org!not-for-mail From: Stephen Leake Newsgroups: gmane.emacs.gnus.general Subject: using nnimap-split-fancy to split mail on server? Date: Mon, 22 Dec 2014 10:48:55 -0600 Message-ID: <85h9wnocjs.fsf@stephe-leake.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1419267020 1155 80.91.229.3 (22 Dec 2014 16:50:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 22 Dec 2014 16:50:20 +0000 (UTC) To: ding@lists.math.uh.edu Original-X-From: ding-owner+M33637@lists.math.uh.edu Mon Dec 22 17:50:13 2014 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Y36BQ-0007aZ-FY for ding-account@gmane.org; Mon, 22 Dec 2014 17:50:12 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1Y36Aa-0004Ph-IR; Mon, 22 Dec 2014 10:49:20 -0600 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1Y36AX-0004PT-UW for ding@lists.math.uh.edu; Mon, 22 Dec 2014 10:49:17 -0600 Original-Received: from gproxy1-pub.mail.unifiedlayer.com ([69.89.25.95]) by mx1.math.uh.edu with smtp (Exim 4.76) (envelope-from ) id 1Y36AW-0004uT-UD for ding@lists.math.uh.edu; Mon, 22 Dec 2014 10:49:17 -0600 Original-Received: (qmail 20279 invoked by uid 0); 22 Dec 2014 16:49:15 -0000 Original-Received: from unknown (HELO cmgw3) (10.0.90.84) by gproxy1.mail.unifiedlayer.com with SMTP; 22 Dec 2014 16:49:15 -0000 Original-Received: from host114.hostmonster.com ([74.220.207.114]) by cmgw3 with id Wgp81p00h2UdiVW01gpBkJ; Mon, 22 Dec 2014 09:49:15 -0700 X-Authority-Analysis: v=2.1 cv=Lo0BlBtc c=1 sm=1 tr=0 a=CQdxDb2CKd3SRg4I0/XZPQ==:117 a=CQdxDb2CKd3SRg4I0/XZPQ==:17 a=DsvgjBjRAAAA:8 a=f5113yIGAAAA:8 a=fNEgcOh0sVsA:10 a=9i_RQKNPAAAA:8 a=hEr_IkYJT6EA:10 a=jrwKn-8xaegA:10 a=A92cGCtB03wA:10 a=o1OHuDzbAAAA:8 a=wVzdIxr_0lwnnTY-Z8EA:9 Original-Received: from [70.94.38.149] (port=63956 helo=TAKVER) by host114.hostmonster.com with esmtpa (Exim 4.82) (envelope-from ) id 1Y36AO-0004rh-0L for ding@lists.math.uh.edu; Mon, 22 Dec 2014 09:49:08 -0700 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.94 (windows-nt) X-Identified-User: {2442:host114.hostmonster.com:stephele:stephe-leake.org} {sentby:smtp auth 70.94.38.149 authed with stephen_leake@stephe-leake.org} X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:85395 Archived-At: 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 " "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