Re: How to find last message?

Jean Louis <[email protected]>
Newsgroups gmane.comp.gnu.mailutils.bugs
Message-ID <[email protected]>
On top of this, I see there is readmsg, that can
access message by number.

Maybe I could make a program to go over mailboxes,
and do something like readmsg on the last number
given by messages, and then grep or search the
first line From:

If you have better idea let me know.

Is From: always the first line given from readmsg?

Jean

On Mon, Jul 17, 2017 at 01:31:27PM +0300, Jean Louis wrote:
> Dear Sergey,
> 
> I have a system of Maildirs in the scheme such as
> ~/Maildir/[email protected]/
> 
> That is helping me quickly locate the conversation
> belonging to certain email address.
> 
> There are 33281 such folders on my side.
> 
> I can easily count interactions with people by
> using messages program, that helps me to sort out
> who are those people who are better or well
> connected with me.
> 
> However, I would like to find a an automatic way
> to find out either folders or/and messages where
> the last email has been sent by myself, by one of
> my email addresses, or by using other type of
> query.
> 
> What idea comes up in your mind if you wish to
> find out if the last message within a folder have
> been sent by certain email address?
> 
> I have reviewed sieve, and few programs, I do not
> find it.
> 
> I am thinking in this direction: if `messages' can
> find the number of messages in the inbox, I
> already go that number of the last message.
> 
> And how do I access programmatically only the last
> message to search for email address?
> 
> Jean
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.