unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Jean Louis <bugs@gnu.support>
To: Utkarsh Singh <utkarsh190601@gmail.com>
Cc: Eric Abrahamsen <eric@ericabrahamsen.net>, help-gnu-emacs@gnu.org
Subject: Recommended maildir sorting - Re: Why Gnus is creating .nnmaildir directory in my maildir?
Date: Wed, 14 Apr 2021 07:49:18 +0300	[thread overview]
Message-ID: <YHZ0Tqfa0a52QXvm@protected.localdomain> (raw)
In-Reply-To: <875z0qxe7r.fsf@gmail.com>

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/




  parent reply	other threads:[~2021-04-14  4:49 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-13 15:26 Why Gnus is creating .nnmaildir directory in my maildir? Utkarsh Singh
2021-04-13 15:56 ` Eric Abrahamsen
2021-04-13 17:54   ` Utkarsh Singh
2021-04-14  4:34     ` maildir package - " Jean Louis
2021-04-14  4:49     ` Jean Louis [this message]
2021-04-13 21:03   ` Jean Louis
2021-04-13 22:04     ` Eric Abrahamsen
2021-04-14  4:11       ` Jean Louis
2021-04-15 19:37         ` Eric Abrahamsen
2021-04-13 21:01 ` Jean Louis
2021-04-14  4:50   ` Utkarsh Singh
2021-04-14  5:07     ` Jean Louis

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=YHZ0Tqfa0a52QXvm@protected.localdomain \
    --to=bugs@gnu.support \
    --cc=eric@ericabrahamsen.net \
    --cc=help-gnu-emacs@gnu.org \
    --cc=utkarsh190601@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).