From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>
Received: from mp10.migadu.com ([2001:41d0:2:bcc0::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by ms5.migadu.com with LMTPS
	id eIskALPJ0mMPcgEAbAwnHQ
	(envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Thu, 26 Jan 2023 19:42:59 +0100
Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by mp10.migadu.com with LMTPS
	id 8OfTOrLJ0mNtggAAG6o9tA
	(envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Thu, 26 Jan 2023 19:42:58 +0100
Received: from lists.gnu.org (lists.gnu.org [209.51.188.17])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by aspmx1.migadu.com (Postfix) with ESMTPS id 5EBB512119
	for <larch@yhetil.org>; Thu, 26 Jan 2023 19:42:58 +0100 (CET)
Received: from localhost ([::1] helo=lists1p.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.90_1)
	(envelope-from <emacs-orgmode-bounces@gnu.org>)
	id 1pL7CK-0001R3-Pt; Thu, 26 Jan 2023 13:42:13 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <alexander.willand@t-online.de>)
 id 1pL7C9-0001Pg-Ul
 for emacs-orgmode@gnu.org; Thu, 26 Jan 2023 13:41:57 -0500
Received: from mout.kundenserver.de ([212.227.126.133])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <alexander.willand@t-online.de>)
 id 1pL7C8-0007Kb-50
 for emacs-orgmode@gnu.org; Thu, 26 Jan 2023 13:41:57 -0500
Received: from linux.fritz.box ([93.206.74.33]) by mrelayeu.kundenserver.de
 (mreue011 [212.227.15.167]) with ESMTPSA (Nemesis) id
 1Mgebs-1okh2Q1gWy-00h4bi; Thu, 26 Jan 2023 19:41:18 +0100
From: AW <alexander.willand@t-online.de>
To: Jean Louis <bugs@gnu.support>, emacs-orgmode@gnu.org
Subject: Re: Link from orgmode file to E-Mail (using kmail or notmuch)
Date: Thu, 26 Jan 2023 19:41:17 +0100
Message-ID: <2163978.NgBsaNRSFp@linux.fritz.box>
In-Reply-To: <Y9Jvqd6aefKMK0iy@protected.localdomain>
References: <3218434.44csPzL39Z@linux.fritz.box>
 <3220232.44csPzL39Z@linux.fritz.box>
 <Y9Jvqd6aefKMK0iy@protected.localdomain>
MIME-Version: 1.0
Content-Transfer-Encoding: 7Bit
Content-Type: text/plain; charset="us-ascii"
X-Provags-ID: V03:K1:5Z+Gj5bqZfvJI+hxCxsqgN85I26cppfmNZ7IETC5aK3gGGw25oL
 qkrrvc6AwmmbAgy+vslg0j8l58Kr/6oaf54slL9xBd7bgwyFyCbjnkVQ4MQU6zjImKQjClA
 IvkAK3YGEK0W/oRfCVRTPM3exTtKB96hU+KO4xt4+2hwd+t5iNCx+0gt97WaEZdF0F8BwPB
 zQGgdDKZlHwwTxYsx7r4Q==
UI-OutboundReport: notjunk:1;M01:P0:8SqwCBaTJHQ=;0vMk0AqAycB8a1itbvHbvvwPlJt
 FpthYf6JzDWPgNZxjRc+jbtTsYZLMkYA2dpNtYNzTRa+0wY5y5pE1TcGPsZqoh/KI/PYgMyW/
 070FhUBKOITPk6G1XQovuEQmBSKL0YTgN8wXXaLPI+5NfIBwoYU0RLrffKHXLTveQFAo+L5Cv
 W+g5Wf+O6N0p6WX6JsJxJP1daq1XchUQfVmzj9EoTUnu8s57lgagTtf4In9Wfjixs7EfJJ4aQ
 NosUIUWtlG/qq3wxPMzpZ/nBwtCNuLoXpPE9D/IxJcSeUflpglNsNrbasXtV4LQ3cPCsdMs9k
 50R1HY1XJRS4GNilB5p8WSz0AW6Qcwn7y5U/wg54mo3D1Aia0fguRHI1WpKDdWryjUjOCBIfz
 VhqsLFB837Jy8muyzGZrxYjElT+NoscQ6L9b2dJBvhgyCqvSv11al3cjU27kJRfm/LaifrAdP
 NE73BRMgcmek5dneZBxkUah8PymgyTjHQrAgLWFhRG/8Du2Ukxotg5QkCKR3W1Y7GhjI2ARQE
 nhbyxXzEF/GlNGxYEjMfeXa4tPrHOvj4GV+HzogNgsmrLLCXxWbnHfYu3Qrf4MjWI5q755Dl4
 8+wbvBuaUSX9lhyGRKF75zSa4106+mPCiooO5BesboYMvBULcbwToIkOA7Ic4/CMuhTumtmSq
 huwdyX4WoajFgU/9K2Z4ytyiih7/UOupek6tlLfyXA==
Received-SPF: none client-ip=212.227.126.133;
 envelope-from=alexander.willand@t-online.de; helo=mout.kundenserver.de
X-Spam_score_int: -18
X-Spam_score: -1.9
X-Spam_bar: -
X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, FREEMAIL_FROM=0.001,
 RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001,
 SPF_NONE=0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-BeenThere: emacs-orgmode@gnu.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "General discussions about Org-mode." <emacs-orgmode.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/emacs-orgmode>,
 <mailto:emacs-orgmode-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/emacs-orgmode>
List-Post: <mailto:emacs-orgmode@gnu.org>
List-Help: <mailto:emacs-orgmode-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/emacs-orgmode>,
 <mailto:emacs-orgmode-request@gnu.org?subject=subscribe>
Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org
Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org
X-Migadu-Country: US
X-Migadu-Flow: FLOW_IN
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org;
	s=key1; t=1674758578;
	h=from:from:sender:sender:reply-to:subject:subject:date:date:
	 message-id:message-id:to:to:cc:mime-version:mime-version:
	 content-type:content-type:
	 content-transfer-encoding:content-transfer-encoding:
	 in-reply-to:in-reply-to:references:references:list-id:list-help:
	 list-unsubscribe:list-subscribe:list-post;
	bh=WWV6VxzpqTYlbekePG4RKxwPk9dcplYf7Ya/XzCXpco=;
	b=GVa+9KkSs7X31groVJy9CpbLndknlCMKktjW62UTvhNioEikulfi+aX/+LXOsJ2GBkAX5J
	kMvmxjJoqUJE0lNdSeGGHcRwGs/jJRjx1AHkxB4bFWWY7gMM9TPih/VNaNyUNanl0dsPRN
	IWFNvpxb/0MjHrR9+1pRlcPdi8rJkJb5eXfURpZVZ1f8hl/5msj2eHR0k4xGWRqJeOvb5z
	ZoU+xZfhQ43nnrfS3dXtEWrsPCkX0/LgxveSm5OkcvssbtdwRou5BR9R5A4boy8MYdYr3t
	hhya/+SfbIGTg8nLBbXBfqunTO4oTGATs/g/Ta2VVnhDly5Ct3s7BWkfBacZZQ==
ARC-Authentication-Results: i=1;
	aspmx1.migadu.com;
	dkim=none;
	dmarc=none;
	spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"
ARC-Seal: i=1; s=key1; d=yhetil.org; t=1674758578; a=rsa-sha256; cv=none;
	b=INSpxiBh+4cbutCeLj9T5376XvtObMpDelGL1mlOuI2A3lonINjYe8LSAU4LxAb35ByRjq
	NiZUSHdT+K1TXqVvl7ZFIxD+85d/guS+2+IZwLrEkCokW6D+Pma+brcVCrYoT7WRwPGOZY
	NsF3HwicD9UCQnUopobr2YmR/0wa9VWDSz4me3b5Gm4ELbhj3oMGuKrN73hcWqjz8Qv+5X
	aHMEeOMSuo/ep1Ub7Ksu1k7H6ADgvmlEuwunGtTvI72K7UgfDypDeSr8vCEglDR+OAPzQi
	2JwtK+Kd6pfvNYfEGOkXurpS2fLSuZ/qMp+EANYak1gR96j1hcSpPx/4GFFJ2g==
X-Spam-Score: -0.87
X-Migadu-Spam-Score: -0.87
Authentication-Results: aspmx1.migadu.com;
	dkim=none;
	dmarc=none;
	spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"
X-Migadu-Queue-Id: 5EBB512119
X-Migadu-Scanner: scn1.migadu.com
X-TUID: fKiTZOfdPz6R

Am Donnerstag, 26. Januar 2023, 13:18:49 CET schrieb Jean Louis:
> * AW <alexander.willand@t-online.de> [2023-01-26 13:00]:
> > This is about a maildirs of kmail on my local machine. The E-Mails are
> > being indexed by akonadi on the side of kde-pim. But referring to a
> > certain E-Mail from orgmode with a kind of link fails, because I'd need
> > to got to the maildir and search for the specific E-Mail. kde-pim does
> > not offer an easy way to extract that or the message-ID.
> 
> How many Maildirs do you have?

One main, a hundred submaildirs.

> 
> and what does program:
> 
> akonadi_maildir_resource does?
> 
> Should it find e-mail?

Akonadi is a part of kde-pim.

> Without Akonadi:
> ----------------
> 
> Solution may be simple without akonadi and external software.
> 
> It would be to provide main Maildir, then for program to find
> submaildirs, and to find Message ID in every e-mail, and record it,
> once per day, of course with e-mail file or folder location plus
> Message ID. This is simple program and can be done in shell or Emacs
> Lisp, collecting all Message IDs efficiently from every Maildir.
> 
> This program thus can be universal program, and then function can
> decide how to open e-mail, and it is just fine opening e-mail in Emacs
> as well.
> 
> Same program could be used to find e-mails by name or sender, or
> recipient.
Yes, that's what I'm doing with notmuch, thanks to the hint that ol-notmuch 
provides notmuch-search with message-ID. So far, my issue is solved. 

-- 

Regards,

Alexander