From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.help Subject: Re: Read/process mbox file in Gnus Date: Fri, 06 Nov 2020 11:44:17 +0100 Message-ID: <87h7q2ix32.fsf@gmail.com> References: <87blgb8dho.fsf@ericabrahamsen.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3394"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Skip Montanaro , Help GNU Emacs To: Eric Abrahamsen Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Fri Nov 06 11:45:40 2020 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kazFU-0000mr-Fk for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 06 Nov 2020 11:45:40 +0100 Original-Received: from localhost ([::1]:58816 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kazFT-0000GQ-Gd for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 06 Nov 2020 05:45:39 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53080) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kazEm-0000GA-DV for help-gnu-emacs@gnu.org; Fri, 06 Nov 2020 05:44:56 -0500 Original-Received: from mail-wr1-x435.google.com ([2a00:1450:4864:20::435]:33359) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kazEk-0006yt-LC for help-gnu-emacs@gnu.org; Fri, 06 Nov 2020 05:44:56 -0500 Original-Received: by mail-wr1-x435.google.com with SMTP id b8so828118wrn.0 for ; Fri, 06 Nov 2020 02:44:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:mail-copies-to:gmane-reply-to-list :date:in-reply-to:message-id:mime-version:content-transfer-encoding; bh=RHrb+Om4ahPxV4FZFX9S00ANX1fKATBdyzFdGsq7nes=; b=SgP7LDvdQUQdaTnk/tFjq5zbSQ0FW+1jiCB3zRMPeWaPwBSHrTsKkCLzl0HWL+qP7O cZO7NjGHTQiRnJHaq9AbyyUi06ZFXKuglg5VmAeobwFKBzfewvjyA7QMtrA8lL2pxX28 X9fuDdIKEeQDXyGuR7kWhsIAN60D1tiQjAnr+a59ydyOd90YDpwo97I8MI8fLUxMD0Zo ybeP/h3GqEGYQP7tmCItErhXdtx5yfNqByj4EGoeLrJwdJkt+Il++kOc8Am4w5WOJCtw jh58N/AK/Q1PPrHuHdkWRSAWnlRdr4kCfI8LRePMMpLmo30JcR87fbcSyeoaVKSAQnKm 33aA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:mail-copies-to :gmane-reply-to-list:date:in-reply-to:message-id:mime-version :content-transfer-encoding; bh=RHrb+Om4ahPxV4FZFX9S00ANX1fKATBdyzFdGsq7nes=; b=jaixrw9ips6H/ivY5FuuFVEuJK2RqsP0KEHCV7di81RGwjOp12mpY7c9cSvYPAx0Gs GbvZ6ipjGMgbn6CeAvoUvhjlRtaGUCvWo1oKAH66C2sdocmwE5ll+nCC3AwA36FhPdkb RghCq4Fpyhhw/h8rLp7nfMSx9j9zb7WrQctaVzpGFH/X7DnndaI2QjCp9P1Wj05qr3Z6 9NFSmkpFD+2XWmPFTUkBmchfCx1nt21ref/L9Te4Pwts86oruYS2//hlaA9PRVQTjjmR tSGXCmSwhxBgde2bXv5vvdzOzOnfyzZJDQTheTXvUVrShHqqsfix2Y4c43HwbO7Ca9mX VNvA== X-Gm-Message-State: AOAM5329Dlb37uMsrfc+kFVCoKSXvGZq/o3/RGbCGgU2hYnsr9cok+k6 ki4mexRk3Z1njbAjlSNfKP96u9sgfmw= X-Google-Smtp-Source: ABdhPJxffsnJeMiNx9icgaZuYrJ/6A5LGQ62k2XY8omZ6U+12mcNsM0+3zU16BQ3p+fbit4k2Ao3Bg== X-Received: by 2002:adf:fb0f:: with SMTP id c15mr1875472wrr.86.1604659491685; Fri, 06 Nov 2020 02:44:51 -0800 (PST) Original-Received: from rltb (vav06-1-78-207-202-134.fbx.proxad.net. [78.207.202.134]) by smtp.gmail.com with ESMTPSA id g131sm1661847wma.35.2020.11.06.02.44.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Nov 2020 02:44:50 -0800 (PST) Mail-Copies-To: never Gmane-Reply-To-List: yes In-Reply-To: <87blgb8dho.fsf@ericabrahamsen.net> (Eric Abrahamsen's message of "Thu, 05 Nov 2020 17:45:23 -0800") Received-SPF: pass client-ip=2a00:1450:4864:20::435; envelope-from=rpluim@gmail.com; helo=mail-wr1-x435.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:125058 Archived-At: Eric Abrahamsen writes: > Skip Montanaro writes: >> through the manual, skimming Google search output and skimming an apropos >> list of gnus commands I didn't see an obvious way to read a Unix mbox fi= le. >> I'm sure I must be missing something basic. Pointers appreciated. > 'G f' (gnus-group-make-doc-group) will happily create a Gnus group from an mbox file > The easiest thing to do will be to follow the workflow here: > > (gnus) Incorporating Old Mail > > That requires you to manually mark and respool all the messages in the > resulting group, but maybe that's actually what you want -- to > explicitly deal with each message. > > I'd be curious to know if Gnus+tramp can handle a remote filename > transparently here -- you might be able to skip step 2. > > The only other solution that I would consider "normal" here is to have > the message dump (whether remote or local) set up as a "mail source" in > Gnus ("Mail Sources" in the manual). Gnus then knows that it should > regularly check that source for new messages to fetch. You could either > use mail splitting to do a bit of automatic pre-processing, or just > specify that all incoming messages should go to a single group. > > mbox doesn't seem to be one of the supported mail source formats, > though. maildir is, and I also wonder if the "directory" specifier might > work. Maybe you can stick the mbox file in a particular directory, then > set the directory specifier's :path keyword to that directory, and the > :suffix keyword to ".mbox". I=CA=BCm told that Gnus' maildir support is not great (I=CA=BCve never trie= d it myself) Robert