unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Jean Louis <bugs@gnu.support>
To: Eli Zaretskii <eliz@gnu.org>
Cc: csh@bluehome.net, ane@iki.fi, emacs-devel@gnu.org
Subject: Re: Add Maildir support to RMAIL
Date: Mon, 26 Jul 2021 08:23:22 +0300	[thread overview]
Message-ID: <YP5Gyt+QYFc704SZ@protected.localdomain> (raw)
In-Reply-To: <83sg02wnfd.fsf@gnu.org>

* Eli Zaretskii <eliz@gnu.org> [2021-07-25 16:09]:
> Alternatively, don't GNU Mailutils support Maildir?  If they do, you
> could use their 'movemail' instead of the one that comes with Emacs.

GNU Mailutils support well Maildirs, I guess it is possible to convert
Maildir to Mbox and vice versa by using GNU Mailutils.

For example, emails sent from Emacs I am converting from Mbox type to
Maildir, here is bash function:

function save-maildir-by-to () {
    sieve -f /home/admin/Maildir/Sent.mbox.2020 "/home/data1/protected/Programming/System Administration/sieve/save-by-to.sieve" && echo Sieve DONE.
}

and here is the sieve script:

/home/data1/protected/Programming/System Administration/sieve/save-by-to.sieve:

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

I am using `movemail' all the time though more for moving it from IMAP
to local Maildir.

Maildir has benefits over other messaging systems, so converting from
Maildir to Mbox is not an option for Maildir users.


Jean Louis

GNU Support - installations, support, advice, help
https://GNU.Support

GNU Social Network: https://gnusocial.club
GNU Social Network on Pleroma: https://pleroma.gnusocial.club





  parent reply	other threads:[~2021-07-26  5:23 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-25 12:02 Add Maildir support to RMAIL csh
2021-07-25 12:56 ` Eli Zaretskii
2021-07-25 13:08   ` Eli Zaretskii
2021-07-25 13:54     ` csh
2021-07-25 14:09       ` Eli Zaretskii
2021-07-25 14:18         ` csh
2021-07-25 14:26           ` Eli Zaretskii
2021-07-25 14:57             ` csh
2021-07-25 15:55               ` tomas
2021-07-25 15:58                 ` tomas
2021-07-25 16:21               ` Eli Zaretskii
2021-07-26  1:26               ` Tim Cross
2021-07-26  6:08                 ` Jean Louis
2021-07-26 13:03                 ` Eli Zaretskii
2021-07-27  0:23                 ` Richard Stallman
2021-07-26  5:23     ` Jean Louis [this message]
2021-07-26  9:34     ` Antoine Kalmbach
2021-07-26 10:45       ` Jean Louis
2021-07-26 10:59         ` Antoine Kalmbach
2021-07-26 13:36           ` Jean Louis
2021-07-26 21:56       ` csh
2021-07-27  6:37         ` Antoine Kalmbach
2021-07-28  1:00         ` Richard Stallman
2021-07-28  5:25           ` Yuri Khan
2021-07-25 13:50   ` csh
2021-07-26  8:35     ` Philip Kaludercic
2021-07-25 22:18   ` Eric Abrahamsen
2021-07-26  5:53     ` Paul Jarc
2021-07-26 15:42       ` Eric Abrahamsen
2021-07-26  5:19   ` Jean Louis
2021-07-26  5:29 ` Jean Louis
2021-07-26  8:35 ` Philip Kaludercic
     [not found] <1627220913.7967@bluehome.net>
2021-07-25 14:06 ` Eli Zaretskii
  -- strict thread matches above, loose matches on Subject: below --
2021-07-27 22:02 csh
2021-07-28  7:13 ` Antoine Kalmbach
2021-07-28 21:31   ` csh

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=YP5Gyt+QYFc704SZ@protected.localdomain \
    --to=bugs@gnu.support \
    --cc=ane@iki.fi \
    --cc=csh@bluehome.net \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    /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 public inbox

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

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).