[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Request to Improve ( fix in my opinion )
From: |
Sergey Poznyakoff |
Subject: |
Re: Request to Improve ( fix in my opinion ) |
Date: |
Sat, 02 Oct 2021 08:17:44 +0200 |
User-agent: |
MH (GNU Mailutils 3.13.90) |
Hi Darel,
> gnu mailutils MH suite is excellent, but one program the 'inc' has the
> bad specification that it read not only mail requested, but also mail
> for the default user.
I'm afraid I don't quite understand that. inc fetches mail only from
the source mailboxes you gave it. In other words (given default
.mh_profile):
# Fetch mail from the system mailbox only (/var/mail/$USER):
$ inc
# Fetch mail from remote imap server
$ inc -file 'imaps://USER@imap.example.org'
# Fetch mail from both system mailbox and remote imap server
$ inc -file /var/mail/$USER -file 'imaps://USER@imap.example.org'
etc.
> Explanation:
> I loop through say 10 e-mail address to collect mail from various
> sources and lists.
>
> a.) Done properly (in my humble opinion) this would involve 8 calls
> to the MH program 'inc'.
Are we speaking about the inc program from mailutils, or about Emacs
MH-E interface? If we're speaking about the former, then that is done
by a *single* call to inc from your command line, like that:
$ inc -file MB1 -file MB2 -file MB3 ... -file MB10
where MB1 through MB10 stand for mailbox URLs of your 10 source
locations.
If we're speaking about MH-E interface, that's quite another matter, as
it depends a lot on your emacs configuration and .mh_profile settings.
Can you please clarify that?
Regards,
Sergey