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.devel Subject: Re: Add Maildir support to RMAIL Date: Mon, 26 Jul 2021 08:23:22 +0300 Message-ID: References: <1627214524.13283@bluehome.net> <83tukiwnzv.fsf@gnu.org> <83sg02wnfd.fsf@gnu.org> 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="14479"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mutt/2.0.7+183 (3d24855) (2021-05-28) Cc: csh@bluehome.net, ane@iki.fi, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Jul 26 09:08:38 2021 Return-path: Envelope-to: ged-emacs-devel@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 1m7uj8-0003Z7-KZ for ged-emacs-devel@m.gmane-mx.org; Mon, 26 Jul 2021 09:08:38 +0200 Original-Received: from localhost ([::1]:55884 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m7uj7-0007tG-NF for ged-emacs-devel@m.gmane-mx.org; Mon, 26 Jul 2021 03:08:37 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33066) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m7ui1-0006UW-7v for emacs-devel@gnu.org; Mon, 26 Jul 2021 03:07:29 -0400 Original-Received: from stw1.rcdrun.com ([217.170.207.13]:44347) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m7uhz-0001ru-FW; Mon, 26 Jul 2021 03:07:28 -0400 Original-Received: from localhost ([::ffff:41.202.241.46]) (AUTH: PLAIN admin, TLS: TLS1.3,256bits,ECDHE_RSA_AES_256_GCM_SHA384) by stw1.rcdrun.com with ESMTPSA id 0000000000057F37.0000000060FE5F0D.00005E99; Mon, 26 Jul 2021 00:06:53 -0700 Mail-Followup-To: Eli Zaretskii , csh@bluehome.net, ane@iki.fi, emacs-devel@gnu.org Content-Disposition: inline In-Reply-To: <83sg02wnfd.fsf@gnu.org> 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: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:271633 Archived-At: * Eli Zaretskii [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