From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-Status: No, score=-3.6 required=3.0 tests=AWL,BAYES_00, RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE, SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from out02.mta.xmission.com (out02.mta.xmission.com [166.70.13.232]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id B30461F55B; Fri, 15 May 2020 21:29:55 +0000 (UTC) Received: from in02.mta.xmission.com ([166.70.13.52]) by out02.mta.xmission.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jZhty-0003kd-L2; Fri, 15 May 2020 15:29:54 -0600 Received: from ip68-227-160-95.om.om.cox.net ([68.227.160.95] helo=x220.xmission.com) by in02.mta.xmission.com with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.87) (envelope-from ) id 1jZhtt-0006EL-Rb; Fri, 15 May 2020 15:29:54 -0600 From: ebiederm@xmission.com (Eric W. Biederman) To: Eric Wong Cc: meta@public-inbox.org References: <87eeyvmx74.fsf@x220.int.ebiederm.org> <20200513193144.GA9299@dcvr> <87ftc3mrq6.fsf@x220.int.ebiederm.org> <20200513221715.GA11718@dcvr> <877dxelmsr.fsf@x220.int.ebiederm.org> <87ftc0c3r4.fsf_-_@x220.int.ebiederm.org> <87a728c3p3.fsf_-_@x220.int.ebiederm.org> Date: Fri, 15 May 2020 16:26:14 -0500 In-Reply-To: <87a728c3p3.fsf_-_@x220.int.ebiederm.org> (Eric W. Biederman's message of "Fri, 15 May 2020 16:02:00 -0500") Message-ID: <87o8qoao09.fsf@x220.int.ebiederm.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-XM-SPF: eid=1jZhtt-0006EL-Rb;;;mid=<87o8qoao09.fsf@x220.int.ebiederm.org>;;;hst=in02.mta.xmission.com;;;ip=68.227.160.95;;;frm=ebiederm@xmission.com;;;spf=neutral X-XM-AID: U2FsdGVkX19dDmksulLDjTsK9/7Y6z9LlnUdf/QmbbA= X-SA-Exim-Connect-IP: 68.227.160.95 X-SA-Exim-Mail-From: ebiederm@xmission.com Subject: Re: [PATCH 2/2] imap_fetch: Add a command to continuously fetch from an imap mailbox X-SA-Exim-Version: 4.2.1 (built Thu, 05 May 2016 13:38:54 -0600) X-SA-Exim-Scanned: Yes (on in02.mta.xmission.com) List-Id: ebiederm@xmission.com (Eric W. Biederman) writes: > The command imap_fetch connects to the specified imap mailbox and > fetches any unfetch messages than waits with imap idle until there are > more messages to fetch. > > By default messages are placed in the specified public inbox mailbox. > The value of List-ID is consulted and if it is present used to > select an alternate public-inbox mailbox to place the messages in. > > The email messages are placed without modification into the public > inbox repository so minimize changes of corruption or of loosing > valuable information. I use the command imap_fetch for all of my > email and not just a mailling list mirror so I don't want automation > to accidentally cause something important to be lost. > > No email messages are deleted from the server instead IMAPTracker > is used to remember which messages were downloaded. > > Signed-off-by: "Eric W. Biederman" > --- Bah. I sent this a little too soon. The patch needs this small incremental fix to actually work. Anyway I hope this is enough to help you with your integration of imap functionality into public-inbox-watch. Eric