From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/14633 Path: news.gmane.org!not-for-mail From: ernest Newsgroups: gmane.emacs.gnus.user Subject: Re: read mail in mbox files Date: Tue, 18 Jan 2011 10:38:11 -0800 (PST) Organization: http://groups.google.com Message-ID: References: <87wrm2l4h0.fsf@micropit.couberia.bzh> <8e355d13-a0ce-4166-9f61-3cc6b8c67eed@fo10g2000vbb.googlegroups.com> <87r5cal12s.fsf@micropit.couberia.bzh> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1295400315 23273 80.91.229.12 (19 Jan 2011 01:25:15 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 19 Jan 2011 01:25:15 +0000 (UTC) To: info-gnus-english@gnu.org Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Wed Jan 19 02:25:11 2011 Return-path: Envelope-to: gegu-info-gnus-english@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PfMnN-0004ED-Fl for gegu-info-gnus-english@m.gmane.org; Wed, 19 Jan 2011 02:25:09 +0100 Original-Received: from localhost ([127.0.0.1]:59054 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PfMnM-0002c5-MR for gegu-info-gnus-english@m.gmane.org; Tue, 18 Jan 2011 20:25:08 -0500 Original-Path: usenet.stanford.edu!postnews.google.com!v26g2000yqf.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.gnus Original-Lines: 42 Original-NNTP-Posting-Host: 80.58.205.49 Original-X-Trace: posting.google.com 1295375891 5218 127.0.0.1 (18 Jan 2011 18:38:11 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Tue, 18 Jan 2011 18:38:11 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: v26g2000yqf.googlegroups.com; posting-host=80.58.205.49; posting-account=dqre7QoAAABu2BxfYJNu4mwxpl46bWpP User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux x86_64; ca; rv:1.9.1.16) Gecko/20101227 Iceweasel/3.0.1 (like Firefox/3.5.16),gzip(gfe) Original-Xref: usenet.stanford.edu gnu.emacs.gnus:85381 X-Mailman-Approved-At: Tue, 18 Jan 2011 20:20:12 -0500 X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.5 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: , Original-Sender: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Errors-To: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.gnus.user:14633 Archived-At: On 18 Gen, 15:48, pmli...@free.fr (Peter M=FCnster) wrote: > ernest writes: > > If I understand correctly, this will copy the "spool" files in ~/.mail > > to ~/Mail, and leave everything in ~/.mail unchanged. This is not > > exactly what I wanted though. > > > The idea is that mbox being an open format one would say it > > should be possible to use the same mailboxes with different MUAs, > > for instance mutt and gnus, at the same time (maybe not > > simultaneously, ok, but you get the idea). In theory it should be > > easy, but in practice it is not. > > No problem if you don't use the 2 MUAs simultaneously and you don't use > the incoming spools. The only problem with Gnus is the locking, that's > why it uses some "movemail" program that locks correctly and saves the > incoming email somewhere at $HOME. > > At least 2 options: > > 1.) > /var/mail/user =A0 -> =A0 ~/.mail/*.spool =A0with procmail > ~/.mail/*.spool =A0-> =A0 ~/Mail/* =A0 =A0 =A0 =A0 with Gnus > Managing ~/Mail/* with Gnus or mutt, but not at the same time. > > 2.) Use maildir: no locking problems. > /var/mail/user =A0 -> =A0 ~/Mail/... =A0 =A0 =A0 with procmail > Managing ~/Mail/... with Gnus or mutt, or both at the same time! Ah, I think I finally got it! First, I switched to maildir. Then I put this in .gnus.el: (setq gnus-select-method '(nnnil "")) (setq gnus-secondary-select-methods '((nnmaildir "" (directory "~/Mail/")))) Started gnus, hit L, and the maildir folders appeared right there. Still need some adjustments, but I'm definitely on the right track :) Thanks to everyone. Cheers, Ernest