all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Jean Louis <bugs@gnu.support>
To: Tomas Hlavaty <tom@logand.com>
Cc: help-gnu-emacs@gnu.org, Emanuel Berg <moasenwood@zoho.eu>
Subject: Re: RMS Setup
Date: Sat, 27 Mar 2021 10:45:59 +0300	[thread overview]
Message-ID: <YF7it7uaDRIbR8aD@protected.localdomain> (raw)
In-Reply-To: <87ft0h9iq2.fsf@logand.com>

* Tomas Hlavaty <tom@logand.com> [2021-03-27 10:09]:
> On Sat 27 Mar 2021 at 00:50, Emanuel Berg via Users list for the GNU Emacs text editor <help-gnu-emacs@gnu.org> wrote:
> > It certainly works but why enter the tiny shop when there is
> > a HUGE one right next to it?
> >
> > It is like learning Czech instead of Russian...
> 
> Czech here.  Bad logic, why learn Russian instead of Chinese?  What if
> your logic is used for text editors?  Or operating systems?  Or anything
> else?  No need to blindly flock.  Diversity is good.

I got idea that this is about Gnus being better than Rmail.

It may be more complex or better for somebody, but it never worked for
me as I use maildirs, and Gnus cannot handle so many maildirs I have,
like 48177 -- while mutt, the loyal dog https://www.mutt.org can
handle that without breathing problems, by simply accessing file
directories. The concept of accessing file directories is simple, yet
Gnus will die on the attempt.

mu4e is slow, I have already said to author that I could never even
reach the time point where mu4e can show me the list of my Maildirs.

Rmail cannot handle Maildirs, but is good for simple mailboxes. It can
be used to handle retrieved emails, send emails, and save them. After
that, I recommend `sieve' from GNU Mailutils package and automatic
sorting of emails into corresponding mailboxes.

That is why I send emails often from Emacs, save them in a mbox, and
use sieve later to sort into specific maildirs.

Maildir format comes handy for one useful feature, if all emails
related to tom@example.com are sorted in ~/Maildir/tom@example.com as
a directory, then the full conversation related to Tom may be
retrieved or opened in a second. In fact I have made a key binding in
mutt and also functions in Emacs that as soon as I find the person I
can press a key and get the list of all related conversation in a
second.

The principle of sorting emails send TO: tom@example.com and received
FROM: tom@example.com into mailbox folder named "tom@example.com" is
useful regardless of the mailbox format.

References:
https://en.wikipedia.org/wiki/Maildir

Sieve:
https://mailutils.org/manual/html_section/sieve.html
https://mailutils.org/manual/html_chapter/Sieve-Language.html

Emails need not be sorted into Maildirs, they can be sorted into any
type of email file format. 

Example function that saves emails from mbox created by Emacs into
Maildirs related to specific email address (recipient in this case):

function save-maildir-by-to () {
    sieve -f /your/script/dir/save-by-to.sieve" && echo Sieve DONE.
}

Script save-by-to.sieve:
========================

require [ "fileinto", "variables" ];
if address :matches [ "to" ] "*" {
  set "recipient" :lower "${1}";
  fileinto "~/Maildir/${recipient}";
            }

Configuration ~/.mailutils:
===========================

tls {
    enable true;
}
    
mailbox {
	# Use specified URL as a mailspool.
       	mail-spool /home/data1/protected/Maildir;

       # Default mailbox type.
       mailbox-type Maildir;

     }


Jean



  reply	other threads:[~2021-03-27  7:45 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-26 21:58 RMS Setup Caleb Herbert
2021-03-26 22:26 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-03-27  9:27   ` Uwe Brauer
2021-03-27 14:25     ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-03-27 14:47     ` Gregory Heytings
2021-03-27 15:02       ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-03-27 16:25       ` Uwe Brauer
2021-03-26 22:33 ` [External] : " Drew Adams
2021-03-26 22:45   ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-03-26 22:50     ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-03-26 22:53     ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-03-26 22:58       ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-03-26 23:12 ` Philip Kaludercic
2021-03-26 23:19   ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-03-26 23:26     ` Philip Kaludercic
2021-03-26 23:33       ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-03-26 23:35       ` Jean Louis
2021-03-26 23:50         ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-03-27  7:08           ` Tomas Hlavaty
2021-03-27  7:45             ` Jean Louis [this message]
2021-03-27 14:23               ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-03-27 14:14             ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-03-26 23:34     ` Jean Louis
2021-03-26 23:48       ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-03-27 21:02   ` Caleb Herbert
2021-03-27 21:16     ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-03-27 21:24     ` Jean Louis
2021-03-28  2:40     ` Robert Thorpe

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

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

  git send-email \
    --in-reply-to=YF7it7uaDRIbR8aD@protected.localdomain \
    --to=bugs@gnu.support \
    --cc=help-gnu-emacs@gnu.org \
    --cc=moasenwood@zoho.eu \
    --cc=tom@logand.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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.