Re: [Evolution] Create link to a specific mail in Evolution

2019-01-02 Thread Adam Tauno Williams
On Wed, 2019-01-02 at 14:43 +0100, Milan Crha via evolution-list wrote:
> On Sun, 2018-12-23 at 23:29 +, Patrick O'Callaghan wrote:
> > > I suppose the “universal” way to link to messages is using a mid:
> > > URL
> > > that refers to the Message-ID in a message's header.
> > > See: https://tools.ietf.org/html/rfc2392
> > The Message-ID is mainly useful in debugging because it can be used
> > to trace the flow of a message across mail servers. Although the
> > definition describes it as a universal message *locator*, it's
> > really
> > more like a URI than a URL.
> as far as I know, for example Google server uses Message-ID as an
> overall unique message identifier. Once you've stored one message of
> that Message-ID, it doesn't store another one with it. It has some
> consequences with sent messages and mailing lists, but that's another
> story.

For the record Cyrus also [can] dedup messages via the Message-ID. 
Within the mail-store inbound messages with the same Message-ID are
stored as hard-linked files;  this can dramatically reduce storage &
I/O, particularly if your site has large distribution lists.

This can have some side-effects if you use mail in some very strange
ways [solution, IMO: don't do that].
-- 
Executive Committee Vice-Chair
Michigan Association of Railroad Passengers
537 Shirley St NE Grand Rapids, MI 49503-1754 Phone: 616.581.8010
E-mail: awill...@whitemice.org GPG#D95ED383 

___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Create link to a specific mail in Evolution

2019-01-02 Thread Milan Crha via evolution-list
On Sun, 2018-12-23 at 23:29 +, Patrick O'Callaghan wrote:
> > I suppose the “universal” way to link to messages is using a mid:
> > URL
> > that refers to the Message-ID in a message's header.
> > See: https://tools.ietf.org/html/rfc2392
> 
> The Message-ID is mainly useful in debugging because it can be used
> to trace the flow of a message across mail servers. Although the
> definition describes it as a universal message *locator*, it's really
> more like a URI than a URL.

Hi,
as far as I know, for example Google server uses Message-ID as an
overall unique message identifier. Once you've stored one message of
that Message-ID, it doesn't store another one with it. It has some
consequences with sent messages and mailing lists, but that's another
story.

> To make it work as a link there would need to be a standard way to
> follow it to the message itself, which would ideally work on IMAP,
> POP, Exchange etc., but that doesn't exist at present.

While I agree with you that there is no standard for the servers, the
client might be able to follow RFC 2392. Evolution has a feature
request filled:
https://bugzilla.gnome.org/show_bug.cgi?id=788192
and it can use the local cache for the lookup of the message (this
local cache is used for the message list in the GUI). The Message-ID
header content is indexed as its MD5 checksum (similar to In-Reply-To
and References headers content).
Bye,
Milan

___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Create link to a specific mail in Evolution

2018-12-27 Thread Jim Popovitch via evolution-list
On Thu, 2018-12-27 at 21:06 +0100, Andre Klapper wrote:
> On Thu, 2018-12-27 at 11:54 -0500, Jim Popovitch wrote:
> > On Thu, 2018-12-27 at 08:48 -0500, Adam Tauno Williams wrote:
> > > Evolution will also allow you to drag-n-drop a message to the
> > > desktop, producing a PDF.  
> > 
> > That would be awesome, except for me it just creates the msg as a
> > mbox.
> >  :-(
> > 
> > What's the secret to the PDF magic?
> 
> See the topic "Save messages as PDF" under "Help > Contents".

Thanks! 

-Jim P.

signature.asc
Description: This is a digitally signed message part
___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Create link to a specific mail in Evolution

2018-12-27 Thread Adam Tauno Williams
On Thu, 2018-12-27 at 11:54 -0500, Jim Popovitch via evolution-list
wrote:
> On Thu, 2018-12-27 at 08:48 -0500, Adam Tauno Williams wrote:
> > Evolution will also allow you to drag-n-drop a message to the
> > desktop, producing a PDF.  
> That would be awesome, except for me it just creates the msg as a
> mbox.
>  :-(
> What's the secret to the PDF magic?

http://www.whitemiceconsulting.com/dragndropmessageformat2013

-- 
Executive Committee Vice-Chair
Michigan Association of Railroad Passengers
537 Shirley St NE Grand Rapids, MI 49503-1754 Phone: 616.581.8010
E-mail: awill...@whitemice.org GPG#D95ED383 

___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Create link to a specific mail in Evolution

2018-12-27 Thread Andre Klapper
On Thu, 2018-12-27 at 11:54 -0500, Jim Popovitch wrote:
> On Thu, 2018-12-27 at 08:48 -0500, Adam Tauno Williams wrote:
> > Evolution will also allow you to drag-n-drop a message to the
> > desktop, producing a PDF.  
> 
> That would be awesome, except for me it just creates the msg as a
> mbox.
>  :-(
> 
> What's the secret to the PDF magic?

See the topic "Save messages as PDF" under "Help > Contents".

Cheers,
andre
-- 
Andre Klapper  |  ak...@gmx.net
https://blogs.gnome.org/aklapper/


___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Create link to a specific mail in Evolution

2018-12-27 Thread Jim Popovitch via evolution-list
On Thu, 2018-12-27 at 08:48 -0500, Adam Tauno Williams wrote:
> Evolution will also allow you to drag-n-drop a message to the
> desktop, producing a PDF.  

That would be awesome, except for me it just creates the msg as a mbox.
 :-(

What's the secret to the PDF magic?

tia,

-Jim P.
___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Create link to a specific mail in Evolution

2018-12-27 Thread Adam Tauno Williams
On Mon, 2018-12-24 at 08:40 +1100, Paul W Parker via evolution-list
wrote:
> On Sun, 2018-12-23 at 17:59 +, Patrick O'Callaghan wrote:
> > On Sun, 2018-12-23 at 17:50 +0100, Bjoern Schiessle wrote:
> > > Hi all,
> > > it happens regularly that I want to refer to a email in my notes,
> > > a text document, etc. Is there a way to generate a "link" to a
> > > mail in Evolution which I could copy over to my notes, which
> > > again opens Evolution and jumps directly to the mail on click?
> > Not from within Evolution.
> > As not doing this frequently, found using PRINT to PDF works
> > ok,  with the PDF able to be linked.  

Evolution will also allow you to drag-n-drop a message to the desktop,
producing a PDF.  In combination with GVFS and something like a WebDAV
server this is very useful for archiving related messages.

While the Message-ID is a **theoretically** unique ID for the message
there is not anyway to IMAP://{message-id} in a cross-platform way.  If
you control the server something like this is easy to build - but it
will be unique to your configuration.
-- 
Executive Committee Vice-Chair
Michigan Association of Railroad Passengers
537 Shirley St NE Grand Rapids, MI 49503-1754 Phone: 616.581.8010
E-mail: awill...@whitemice.org GPG#D95ED383 

___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Create link to a specific mail in Evolution

2018-12-23 Thread Patrick O'Callaghan
On Sun, 2018-12-23 at 22:40 +0100, Jan Claeys wrote:
> On Sun, 2018-12-23 at 17:59 +, Patrick O'Callaghan wrote:
> > On Sun, 2018-12-23 at 17:50 +0100, Bjoern Schiessle wrote:
> > > it happens regularly that I want to refer to a email in my notes, a
> > > text document, etc. Is there a way to generate a "link" to a mail
> > > in Evolution which I could copy over to my notes, which again opens
> > > Evolution and jumps directly to the mail on click?
> > 
> > Not from within Evolution.
> > 
> > > If this doesn't exists out of the box, I would be also happy for
> > > suggestions how I might be able to solve this with some scripting
> > > involved.
> > 
> > Off the top of my head, I think this would be pretty hard to do. You
> > would have to accommodate all the different storage locations a
> > message could be in, both local and remote, and take account of it
> > possibly being moved around. There is no universal way to do this.
> 
> I suppose the “universal” way to link to messages is using a mid: URL
> that refers to the Message-ID in a message's header.
> See: https://tools.ietf.org/html/rfc2392

The Message-ID is mainly useful in debugging because it can be used to
trace the flow of a message across mail servers. Although the
definition describes it as a universal message *locator*, it's really
more like a URI than a URL. To make it work as a link there would need
to be a standard way to follow it to the message itself, which would
ideally work on IMAP, POP, Exchange etc., but that doesn't exist at
present.

> Evolution currently doesn't support this, but I guess it would be
> possible to add it if someone is motivated enough…
> 
> Soem thoughts:
>  * I'm not sure if Evolution keeps an index of Message-IDs; if not it
>could take a rather long time to find the right message in a large
>mailbox (or multiple large ones).
>  * Maybe some IMAP servers index & allow searching for it?

Again, this (if it even exists) would be mailstore-specific, not a
universal solution.

Within these limitations it could possibly be used for what the OP
wants. However I think the limitations are such as to make it probably
not worth investing a lot of time on. But feel free to try :-)

poc

___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Create link to a specific mail in Evolution

2018-12-23 Thread Jan Claeys
On Sun, 2018-12-23 at 17:59 +, Patrick O'Callaghan wrote:
> On Sun, 2018-12-23 at 17:50 +0100, Bjoern Schiessle wrote:
> > it happens regularly that I want to refer to a email in my notes, a
> > text document, etc. Is there a way to generate a "link" to a mail
> > in Evolution which I could copy over to my notes, which again opens
> > Evolution and jumps directly to the mail on click?
> 
> Not from within Evolution.
> 
> > If this doesn't exists out of the box, I would be also happy for
> > suggestions how I might be able to solve this with some scripting
> > involved.
> 
> Off the top of my head, I think this would be pretty hard to do. You
> would have to accommodate all the different storage locations a
> message could be in, both local and remote, and take account of it
> possibly being moved around. There is no universal way to do this.

I suppose the “universal” way to link to messages is using a mid: URL
that refers to the Message-ID in a message's header.
See: https://tools.ietf.org/html/rfc2392

Evolution currently doesn't support this, but I guess it would be
possible to add it if someone is motivated enough…

Soem thoughts:
 * I'm not sure if Evolution keeps an index of Message-IDs; if not it
   could take a rather long time to find the right message in a large
   mailbox (or multiple large ones).
 * Maybe some IMAP servers index & allow searching for it?


-- 
Jan Claeys

___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Create link to a specific mail in Evolution

2018-12-23 Thread Paul W Parker via evolution-list
On Sun, 2018-12-23 at 17:59 +, Patrick O'Callaghan wrote:
> On Sun, 2018-12-23 at 17:50 +0100, Bjoern Schiessle wrote:
> > Hi all,
> > 
> > it happens regularly that I want to refer to a email in my notes, a
> > text document, etc. Is there a way to generate a "link" to a mail
> > in
> > Evolution which I could copy over to my notes, which again opens
> > Evolution and jumps directly to the mail on click?
> 
> Not from within Evolution.
> 

As not doing this frequently, found using PRINT to PDF works ok,  with
the PDF able to be linked.  




> > If this doesn't exists out of the box, I would be also happy for
> > suggestions how I might be able to solve this with some scripting
> > involved.
> 
> Off the top of my head, I think this would be pretty hard to do. You
> would have to accommodate all the different storage locations a
> message
> could be in, both local and remote, and take account of it possibly
> being moved around. There is no universal way to do this.
> 
> There could conceivably be an Evo-specific way, using Evo's on-disc
> cache, but a) as it's a cache it can easily disappear or be
> reorganised, and b) the link would only work on a single machine (and
> then only within the same user account on the machine).
> 
> poc
> 
> ___
> evolution-list mailing list
> evolution-list@gnome.org
> To change your list options or unsubscribe, visit ...
> https://mail.gnome.org/mailman/listinfo/evolution-list
___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Create link to a specific mail in Evolution

2018-12-23 Thread Bjoern Schiessle
Hi, 

thanks for the feedback.

On Sun, 2018-12-23 at 17:59 +, Patrick O'Callaghan wrote:
> 
> Off the top of my head, I think this would be pretty hard to do. You
> would have to accommodate all the different storage locations a
> message
> could be in, both local and remote, and take account of it possibly
> being moved around. There is no universal way to do this.
> 
> There could conceivably be an Evo-specific way, using Evo's on-disc
> cache, but a) as it's a cache it can easily disappear or be
> reorganised, and b) the link would only work on a single machine (and
> then only within the same user account on the machine).

One idea I had was to copy the Message-ID and have a way to open
Evolution sp that it does directly search for the Message-ID. Ideally I
should be able to automate this a bit and don't have to search the mail
header for the Message-ID manually, etc.

I saw similar scripts for Mutt with ToDo.txt and Gnus with Emacs org-
mode, if I remember correctly.

In my setup, all mails are stored locally in a Maildir, synced with
mbsync.

Cheers,
Björn

-- 
Björn Schießle
www: http://www.schiessle.org
gnupg/pgp key: 0x0x2378A753E2BF04F6
fingerprint: 244F CEB0 CB09 9524 B21F B896 2378 A753 E2BF 04F6

___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Create link to a specific mail in Evolution

2018-12-23 Thread Patrick O'Callaghan
On Sun, 2018-12-23 at 17:50 +0100, Bjoern Schiessle wrote:
> Hi all,
> 
> it happens regularly that I want to refer to a email in my notes, a
> text document, etc. Is there a way to generate a "link" to a mail in
> Evolution which I could copy over to my notes, which again opens
> Evolution and jumps directly to the mail on click?

Not from within Evolution.

> If this doesn't exists out of the box, I would be also happy for
> suggestions how I might be able to solve this with some scripting
> involved.

Off the top of my head, I think this would be pretty hard to do. You
would have to accommodate all the different storage locations a message
could be in, both local and remote, and take account of it possibly
being moved around. There is no universal way to do this.

There could conceivably be an Evo-specific way, using Evo's on-disc
cache, but a) as it's a cache it can easily disappear or be
reorganised, and b) the link would only work on a single machine (and
then only within the same user account on the machine).

poc

___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


[Evolution] Create link to a specific mail in Evolution

2018-12-23 Thread Bjoern Schiessle
Hi all,

it happens regularly that I want to refer to a email in my notes, a
text document, etc. Is there a way to generate a "link" to a mail in
Evolution which I could copy over to my notes, which again opens
Evolution and jumps directly to the mail on click?

If this doesn't exists out of the box, I would be also happy for
suggestions how I might be able to solve this with some scripting
involved.

Thanks a lot!
Björn

-- 
Björn Schießle
www: http://www.schiessle.org
gnupg/pgp key: 0x0x2378A753E2BF04F6
fingerprint: 244F CEB0 CB09 9524 B21F B896 2378 A753 E2BF 04F6

___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list