From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jean Louis Newsgroups: gmane.emacs.help Subject: Recommended maildir sorting - Re: Why Gnus is creating .nnmaildir directory in my maildir? Date: Wed, 14 Apr 2021 07:49:18 +0300 Message-ID: References: <87im4qb3yt.fsf@gmail.com> <87im4qgov4.fsf@ericabrahamsen.net> <875z0qxe7r.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14781"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mutt/2.0.6 (2021-03-06) Cc: Eric Abrahamsen , help-gnu-emacs@gnu.org To: Utkarsh Singh Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Wed Apr 14 06:53:53 2021 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 1lWXXF-0003kA-BX for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 14 Apr 2021 06:53:53 +0200 Original-Received: from localhost ([::1]:54558 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lWXXE-0005jH-E6 for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 14 Apr 2021 00:53:52 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38962) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lWXWw-0005jB-QG for help-gnu-emacs@gnu.org; Wed, 14 Apr 2021 00:53:34 -0400 Original-Received: from stw1.rcdrun.com ([217.170.207.13]:46411) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lWXWu-0007GS-G0 for help-gnu-emacs@gnu.org; Wed, 14 Apr 2021 00:53:34 -0400 Original-Received: from localhost ([::ffff:197.157.34.191]) (AUTH: PLAIN securesender, TLS: TLS1.3,256bits,ECDHE_RSA_AES_256_GCM_SHA384) by stw1.rcdrun.com with ESMTPSA id 00000000000280CB.0000000060767549.00002B7A; Tue, 13 Apr 2021 21:53:28 -0700 Mail-Followup-To: Utkarsh Singh , Eric Abrahamsen , help-gnu-emacs@gnu.org Content-Disposition: inline In-Reply-To: <875z0qxe7r.fsf@gmail.com> Received-SPF: pass client-ip=217.170.207.13; envelope-from=bugs@gnu.support; helo=stw1.rcdrun.com 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, SPF_HELO_PASS=-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:128995 Archived-At: Recommended maildir management is as following: 1. Create new maildir for each email address. For example ss@example.com would be saved in a Maildir: ~/Maildir/ss@example.com/ with its sub-directories tmp, cur and new ~/Maildir/other-person@example.com/ would be saved as Maildir 2. Every email received save by using From: field, to the Maildir folder corresponding to From: email address. 3. Every email sent, save into same folder, corresponding to To: email address 4. Exception are mailing lists that could be stored by one email address, but even then, storing it by person as original poster is pretty handy to find out what was conversation about. The above is most efficient setup I know for long term, like decades long email management. It allows user to quickly locate all conversations related to specific email address. Searching emails and listing them in a specific folder for specific email address is then way faster compared to storing all emails, let us say into "Archive" other type of directory trees. But with proper copy action or symlinking, it is possible to have multiple sorting methods with same messages when using Maildirs. IMHO Maildir should be prime and most secure method for management of emails in Emacs, yet we do not have much software that supports it natively. Gnus does not support it natively, it is influencing Maildir folders. As Maildir is set of 3 directories, it is meant to remain untouched for purpose of read only accessing it. That is the beauty, just access directory, list files by reading headers. For purposes of reply operations, there is nothing to do with the existing messages, but reading them. For purposes of copy of the message or moving it to other Maildir, there is safe method invented by Maildir authors, and that is easy to do with Emacs. By following the efficient system above it is then very easy to connect any kind of address book management to corresponding lists of emails as they are stored in Maildir folders by their email address. All conversation related to one person is then visible. -- Jean Take action in Free Software Foundation campaigns: https://www.fsf.org/campaigns Sign an open letter in support of Richard M. Stallman https://stallmansupport.org/ https://rms-support-letter.github.io/