Re: A question about mairix, I'm sure there are users here

2020-11-27 Thread Chris Green
On Thu, Nov 26, 2020 at 04:50:02PM -0500, Kurt Hackenberg wrote:
> On 2020-11-26 09:26, Chris Green wrote:
> 
> > Reading the mairix man page it says that the messages found by mairix
> > are symbolic links when using maildir...
> 
> Yes. Doesn't the symbolic link itself tell you where the original message
> is? What do you want to do, exactly?
> 
Yes, but I'd have to get out of mutt to take a look, the mbox way of
adding an X-Header is much more handy as one can view the message
*and* see where it's from.


> Does the "muttjump" that Christian pointed to do what you want?

Not sure, if you read through the thread before this you will see that
I have found a solution that works for me.

-- 
Chris Green


Re: A question about mairix, I'm sure there are users here

2020-11-26 Thread Kurt Hackenberg

On 2020-11-26 09:26, Chris Green wrote:


Reading the mairix man page it says that the messages found by mairix
are symbolic links when using maildir...


Yes. Doesn't the symbolic link itself tell you where the original 
message is? What do you want to do, exactly?


Does the "muttjump" that Christian pointed to do what you want?


Re: A question about mairix, I'm sure there are users here

2020-11-26 Thread Christian Ebert

* Chris Green on Thursday, November 26, 2020 at 12:11:10 +:

I use mairix to search my mail.

I'm sure I've asked this question before but it was a *long* time ago
and I can't remember or find the answer.

When mairix has found a message with a given string/pattern in it how
can I tell *where* it found it?  I thought it put something in the
headers somewhere but I can't see anything there now.  I moved from
mbox to maildir (fairly) recently, is this something I have lost in
the move perhaps?


Try https://github.com/weisslj/muttjump

--
LAST SHIP HOME  --->> https://lastshiphome.de
Official Selection  DOK.fest München 2018
German Ocean Film AwardCineMare Kiel 2019
Best Documentary Feature   Wales International Film Festival 2020


Re: A question about mairix, I'm sure there are users here

2020-11-26 Thread Patrick Shanahan
* Chris Green  [11-26-20 10:08]:
> On Thu, Nov 26, 2020 at 02:26:40PM +, Chris Green wrote:
> > On Thu, Nov 26, 2020 at 08:13:43AM -0500, Patrick Shanahan wrote:
> > > * Chris Green  [11-26-20 07:13]:
> > > > I use mairix to search my mail.
> > > > 
> > > > I'm sure I've asked this question before but it was a *long* time ago
> > > > and I can't remember or find the answer.
> > > > 
> > > > When mairix has found a message with a given string/pattern in it how
> > > > can I tell *where* it found it?  I thought it put something in the
> > > > headers somewhere but I can't see anything there now.  I moved from
> > > > mbox to maildir (fairly) recently, is this something I have lost in
> > > > the move perhaps?
> > > 
> > > after invoking mairix, the result(s) will display in the second line of
> > > the header:  X-source-folder: 
> > > the line is added by mairix.
> > > 
> > > the first header line is also added:
> > >   From mairix@mairix Mon Jan  1 12:34:56 1970
> > > and must be altered if one is recovering a missing post and adding it to
> > > an mbox collection such as ~/mail/mutt
> > > 
> > > I use mbox and mairir (long time).
> > > 
> > Thanks Patrick, I think it was maybe you that answered me the previous
> > time I asked the question! :-)
> > 
> > However, it would appear that with maildir folders it doesn't work.
> > Reading the mairix man page it says that the messages found by mairix
> > are symbolic links when using maildir so I don't suppose mairix can
> > add that X-source-folder: header because it doesn't create a new copy
> > of the message.
> > 
> > Well I suppose I'll have to live with it - or go back to mbox.
> > 
> I've found a workaround, if you specify mairix's *output* format as
> mbox using the mformat setting in ~/.mairixrc then the X-source-folder
> does get added.  The rest of one's mail remains in maildir format of
> course.

persistence is some cases is a blessing :)

I am perhaps remiss in remaining with mbox, just no compelling reason to
switch ... 

gudday

-- 
(paka)Patrick Shanahan   Plainfield, Indiana, USA  @ptilopteri
http://en.opensuse.orgopenSUSE Community Memberfacebook/ptilopteri
Photos: http://wahoo.no-ip.org/piwigo   paka @ IRCnet freenode


Re: A question about mairix, I'm sure there are users here

2020-11-26 Thread Chris Green
On Thu, Nov 26, 2020 at 02:26:40PM +, Chris Green wrote:
> On Thu, Nov 26, 2020 at 08:13:43AM -0500, Patrick Shanahan wrote:
> > * Chris Green  [11-26-20 07:13]:
> > > I use mairix to search my mail.
> > > 
> > > I'm sure I've asked this question before but it was a *long* time ago
> > > and I can't remember or find the answer.
> > > 
> > > When mairix has found a message with a given string/pattern in it how
> > > can I tell *where* it found it?  I thought it put something in the
> > > headers somewhere but I can't see anything there now.  I moved from
> > > mbox to maildir (fairly) recently, is this something I have lost in
> > > the move perhaps?
> > 
> > after invoking mairix, the result(s) will display in the second line of
> > the header:  X-source-folder: 
> > the line is added by mairix.
> > 
> > the first header line is also added:
> >   From mairix@mairix Mon Jan  1 12:34:56 1970
> > and must be altered if one is recovering a missing post and adding it to
> > an mbox collection such as ~/mail/mutt
> > 
> > I use mbox and mairir (long time).
> > 
> Thanks Patrick, I think it was maybe you that answered me the previous
> time I asked the question! :-)
> 
> However, it would appear that with maildir folders it doesn't work.
> Reading the mairix man page it says that the messages found by mairix
> are symbolic links when using maildir so I don't suppose mairix can
> add that X-source-folder: header because it doesn't create a new copy
> of the message.
> 
> Well I suppose I'll have to live with it - or go back to mbox.
> 
I've found a workaround, if you specify mairix's *output* format as
mbox using the mformat setting in ~/.mairixrc then the X-source-folder
does get added.  The rest of one's mail remains in maildir format of
course.

-- 
Chris Green


Re: A question about mairix, I'm sure there are users here

2020-11-26 Thread Chris Green
On Thu, Nov 26, 2020 at 08:13:43AM -0500, Patrick Shanahan wrote:
> * Chris Green  [11-26-20 07:13]:
> > I use mairix to search my mail.
> > 
> > I'm sure I've asked this question before but it was a *long* time ago
> > and I can't remember or find the answer.
> > 
> > When mairix has found a message with a given string/pattern in it how
> > can I tell *where* it found it?  I thought it put something in the
> > headers somewhere but I can't see anything there now.  I moved from
> > mbox to maildir (fairly) recently, is this something I have lost in
> > the move perhaps?
> 
> after invoking mairix, the result(s) will display in the second line of
> the header:  X-source-folder: 
> the line is added by mairix.
> 
> the first header line is also added:
>   From mairix@mairix Mon Jan  1 12:34:56 1970
> and must be altered if one is recovering a missing post and adding it to
> an mbox collection such as ~/mail/mutt
> 
> I use mbox and mairir (long time).
> 
Thanks Patrick, I think it was maybe you that answered me the previous
time I asked the question! :-)

However, it would appear that with maildir folders it doesn't work.
Reading the mairix man page it says that the messages found by mairix
are symbolic links when using maildir so I don't suppose mairix can
add that X-source-folder: header because it doesn't create a new copy
of the message.

Well I suppose I'll have to live with it - or go back to mbox.


-- 
Chris Green


Re: A question about mairix, I'm sure there are users here

2020-11-26 Thread Patrick Shanahan
* Chris Green  [11-26-20 07:13]:
> I use mairix to search my mail.
> 
> I'm sure I've asked this question before but it was a *long* time ago
> and I can't remember or find the answer.
> 
> When mairix has found a message with a given string/pattern in it how
> can I tell *where* it found it?  I thought it put something in the
> headers somewhere but I can't see anything there now.  I moved from
> mbox to maildir (fairly) recently, is this something I have lost in
> the move perhaps?

after invoking mairix, the result(s) will display in the second line of
the header:  X-source-folder: 
the line is added by mairix.

the first header line is also added:
  From mairix@mairix Mon Jan  1 12:34:56 1970
and must be altered if one is recovering a missing post and adding it to
an mbox collection such as ~/mail/mutt

I use mbox and mairir (long time).

-- 
(paka)Patrick Shanahan   Plainfield, Indiana, USA  @ptilopteri
http://en.opensuse.orgopenSUSE Community Memberfacebook/ptilopteri
Photos: http://wahoo.no-ip.org/piwigo   paka @ IRCnet freenode


A question about mairix, I'm sure there are users here

2020-11-26 Thread Chris Green
I use mairix to search my mail.

I'm sure I've asked this question before but it was a *long* time ago
and I can't remember or find the answer.

When mairix has found a message with a given string/pattern in it how
can I tell *where* it found it?  I thought it put something in the
headers somewhere but I can't see anything there now.  I moved from
mbox to maildir (fairly) recently, is this something I have lost in
the move perhaps?

-- 
Chris Green