From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/16133 Path: news.gmane.org!not-for-mail From: wgreenhouse-sGOZH3hwPm2sTnJN9+BGXg@public.gmane.org (W. Greenhouse) Newsgroups: gmane.emacs.gnus.user Subject: Re: Setting up gnus: read on local, store remote (but not on mailserver) Date: Mon, 25 Feb 2013 19:36:38 +0000 Message-ID: <87zjysxk1l.fsf@riseup.net> References: <5896e2dc-a264-4ea7-b250-9e95cfaf01a2@googlegroups.com> <0afcb7dc-9d2d-45cd-96a1-60ae6ae00bd5@googlegroups.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1361821040 30053 80.91.229.3 (25 Feb 2013 19:37:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 25 Feb 2013 19:37:20 +0000 (UTC) To: info-gnus-english-mXXj517/zsQ@public.gmane.org Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org-mXXj517/zsQ@public.gmane.org Mon Feb 25 20:37:42 2013 Return-path: Envelope-to: gegu-info-gnus-english@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UA3rp-0002pe-PI for gegu-info-gnus-english@m.gmane.org; Mon, 25 Feb 2013 20:37:42 +0100 Original-Received: from localhost ([::1]:44109 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UA3rU-0005nf-Uk for gegu-info-gnus-english@m.gmane.org; Mon, 25 Feb 2013 14:37:20 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:55567) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UA3rC-0005gl-Rf for info-gnus-english-mXXj517/zsQ@public.gmane.org; Mon, 25 Feb 2013 14:37:19 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UA3r6-0008Bs-Ly for info-gnus-english-mXXj517/zsQ@public.gmane.org; Mon, 25 Feb 2013 14:37:02 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:33064) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UA3r6-0008Bi-Dv for info-gnus-english-mXXj517/zsQ@public.gmane.org; Mon, 25 Feb 2013 14:36:56 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UA3rN-0002RQ-Lo for info-gnus-english-mXXj517/zsQ@public.gmane.org; Mon, 25 Feb 2013 20:37:13 +0100 Original-Received: from 199.48.147.39 ([199.48.147.39]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 25 Feb 2013 20:37:13 +0100 Original-Received: from wgreenhouse by 199.48.147.39 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 25 Feb 2013 20:37:13 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 70 Original-X-Complaints-To: usenet-dbVV3NMTNubNLxjTenLetw@public.gmane.org X-Gmane-NNTP-Posting-Host: 199.48.147.39 X-Archive: encrypt User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux) Cancel-Lock: sha1:vEAQwb9ttUkYA976h1tVsebfehQ= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: info-gnus-english-mXXj517/zsQ@public.gmane.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader \(in English\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org-mXXj517/zsQ@public.gmane.org Original-Sender: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org-mXXj517/zsQ@public.gmane.org Xref: news.gmane.org gmane.emacs.gnus.user:16133 Archived-At: Hi Martin, supermiri123-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org writes: > Thanks for the quick response! > >> A maildir might be a good choice. The `nnmaildir' backend (info "(gnus) >> Maildir") can use a remote filesystem, e.g. >> >> (setq gnus-select-method >> '(nnmaildir "mail" >> (directory "/rsyncc:user-3I8OyKyBCfCmcwpypvFeBw@public.gmane.org:/path/to/maildir/") >> (get-new-mail t))) >> >> The above would use Gnus to incorporate mail using whatever methods you >> picked in `mail-sources', and store them in a remote maildir accessed >> with rsync (you can use any TRAMP filename, e.g. ssh:, scpc:, etc.). > > Reading this, it appears to me that I was confused about what > gnus-select-method does :-) I now checked my .emacs and learn that I > use the customized variable mail-sources to tell gnus where to get my > mail from, gnus-select-method to tell gnus where to get my news from, > and gnus-secondary-select-method to tell gnus where to store my mail. > The last currently just reads ((nnml "")). Your usage is entirely sensible. You can use either a mail or a news backend as select-method or as one of the secondary select methods. So that was just an editorial decision on my part. :) I have sometimes used Gnus in a mail-only configuration. > In the documentation I see that nnml allows a parameter > nnml-directory. Could I set this to a tramp path also? This would > have the advantage that I do not have to respool my old mail. Also, > the doc says that nnmaildir uses many many inodes (while nnml only > uses many). Should I worry about this? > > Is there a particular reason to prefer nnmaildir over nnml in my > setting? (I was happy with nnml for some 10 years now, but of course, > the setting is slightly different now.) To answer your last question first: If only one Emacs machine will ever be the client in this setup, and you are not using an external utility like offlineimap or fetchmail directly on the mailbox, you could get away with using nnml over TRAMP. The advantage of nnmaildir is that, unlike MH-style mailboxes like nnml, the maildir layout is designed to be suitable for non-locking use, i.e. reading mail even as another program is putting stuff into the inbox. Therefore it's an excellent choice for a mailbox hosted on a central server for multiple clients to use. Re: the inodes question, it depends on the filesystem on your university server and how likely your sysadmin there is to complain :) You can check out how many inodes you currently have available by using `df -i'. I think it is not as much of a concern for many modern systems as it was when the Gnus manual was first written (much like the reference to dialup modems in (info "(gnus) Gnus Unplugged")). nnmaildir uses up an inode for each message and also has three NOV files for each mailbox (one each for the new/ cur/ and tmp/ subdirs of the mailbox), so I guess that accounts for the reference to it using slightly more inodes. > > Many many thanks, > > Martin Hope this helps. -- Regards, WGG