Open Bug 37653 Opened 24 years ago Updated 8 months ago

Ability to retrieve arbitary msg from msg-store by msg-id


(MailNews Core :: Backend, defect, P3)


(Not tracked)



(Reporter: BenB, Unassigned)


(Blocks 1 open bug)


Please excuse me, if this is already fixed, but 4.x could only find msg by
msg-id, if it knew the folder, where it lives. Of course, this dramatically
reduces the usefulness of this essential feature.

Not sure, if all IMAP servers support it, but we should
- use it, if it is supported by the server
- support it in local folders
- support it, even if the server doesn't support it directly, by seaching our
summary files
Blocks: 37654
thanks for filing this, ben.
Target M17.
Target Milestone: --- → M17
moving to future milestone.
Target Milestone: M17 → Future
Blocks: 62033
Current summary is: Ability to retrieve arbitary msg from msg-store by msg-id
Blocks: 108877
I programed a little xpi-addon for mozilla which helps to find the message to a
certain messageid.
It integrates a menu-item to the message pane context menu. So you just have to
right-click on the messageid and then choose the adequate newsserver in the
context menu.

Your could find the xpi-addon and some explainations at:


PS: Waiting for feedback
Product: MailNews → Core
Markus, Did your patch of Bug #62033 address any of this bugs requirements.
This bug is showing as blocking Bug # 62033 in the dependency tree of Bug #62033.
Related to Thunderbird bug 264270?
Assignee: mscott → nobody
QA Contact: lchiang → backend
Product: Core → MailNews Core
gloda can be used to determine this for indexed mail folders (and news too, if we indexed that, which we don't.)  (note: I know BenB is well aware of this, just adding this note to the bug for people who stumble upon this bug)
Andrew, yes, gloda is great and solves the majority of this bug. As you can see, I wished for something like it since 2000 :).

Re-reading the initial description, a few ideas:
For IMAP folders not indexed by gloda, is there a way to ask the IMAP server to retrieve an arbitrary message based on msg-id?
For NNTP, I think that exists: <nttp://server/msgid> works, IIRC.
There could be a function getMessageByMsgID(msgid), which first checks gloda, then IMAP and/or NNTP server (depending on current account).
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.