message box repeatedly asking for 'subscribe to <foldername>?' when forwarding a message stored in an IMAP folder
Categories
(Thunderbird :: Message Compose Window, defect)
Tracking
(thunderbird_esr6870+ fixed, thunderbird70 verified, thunderbird71 verified)
People
(Reporter: bugzilla.mozilla.org, Assigned: gds)
References
Details
Attachments
(4 files, 1 obsolete file)
6.77 KB,
image/gif
|
Details | |
13.96 KB,
text/plain
|
Details | |
27.14 KB,
image/jpeg
|
Details | |
2.40 KB,
patch
|
jorgk-bmo
:
review+
jorgk-bmo
:
approval-comm-beta+
jorgk-bmo
:
approval-comm-esr68+
|
Details | Diff | Splinter Review |
Reporter | ||
Comment 1•22 years ago
|
||
Reporter | ||
Updated•22 years ago
|
Reporter | ||
Comment 2•22 years ago
|
||
Updated•21 years ago
|
Updated•18 years ago
|
Updated•16 years ago
|
Comment 5•8 years ago
|
||
Comment 7•8 years ago
|
||
Comment 8•8 years ago
|
||
Comment 9•8 years ago
|
||
Comment 10•8 years ago
|
||
Comment 11•8 years ago
|
||
Comment 12•7 years ago
|
||
Comment 13•6 years ago
|
||
Comment 14•6 years ago
|
||
Comment 15•6 years ago
|
||
Comment 16•6 years ago
|
||
Comment 17•6 years ago
|
||
Comment 18•6 years ago
|
||
Comment 19•6 years ago
|
||
Comment 20•6 years ago
|
||
Comment 21•6 years ago
|
||
Comment 22•6 years ago
|
||
Comment 23•6 years ago
|
||
Comment 24•6 years ago
|
||
Comment 25•6 years ago
|
||
Comment 26•6 years ago
|
||
Comment 27•6 years ago
|
||
Comment 28•6 years ago
|
||
Comment 29•6 years ago
|
||
Comment 30•6 years ago
|
||
Comment 31•6 years ago
|
||
Comment 32•6 years ago
|
||
Comment 33•6 years ago
|
||
Comment 34•6 years ago
|
||
Comment 35•6 years ago
|
||
Comment 36•6 years ago
|
||
Comment 37•6 years ago
|
||
I can confirm that this bug still exists with version 60.4.0 (32-bit) as per my comment #9
Downgrading to version 52.9.1 fixes it.
It's frustrating that it seems to be taking so long to address. I'll try the self-signed certificate route and report back, but it's still a bug.
Comment 38•6 years ago
|
||
As mentioned in previous post, this will not fully address the issue.
A while ago I promised a patcher should I found the time.
If on windows, here it is:
https://rtr.gr/var/ThunderbirdImapSubscribePromptPatcher.zip
Instructions:
- Quit Thunderbird, if running.
2a. Copy the included .exe file to the thunderbird installation folder and run it, or
2b. Run the included .exe file and select the omni.ja file in your thunderbird installation folder. - Click the 'patch' button.
The above program and the patching method is provided with no warranty of any kind - use at own risk!
All it does is (make a backup copy of omni.ja and) replace the imapSubscribePrompt string in omni.ja with imapSubscribePrompX, as described in previous post.
Please note that until the bug is fixed, after any update the patch will probably have to be reapplied...
Comment 39•6 years ago
|
||
60.5.0 (32-bit) still has this issue. Self-signed certificate route was a red herring (for me at least), and the ImapSubscribePrompt edit does need to be re-applied.
Comment 40•6 years ago
|
||
Please can you fix it permanently?
#ThunderbirdImapSubscribePromptPatcher is good but after update problem will always come back.
We have hundreds of Thunderbird users and it's still annoying to correct this error.
Thank you.
Tomas
Comment 41•6 years ago
|
||
Case it helps:
If your thunderbird installation folder has user r/w access rights, then rename the file to eg: #ThunderbirdImapSubscribePromptFix.exe - something that doesn't include the work patch/patcher.
Including the word 'patcher' in the name, leads to requiring admin rights to run the app - at least on win10.
By default, the program checks for the file to be patched in C:\Apps\MozillaThunderbird.
This is the location I use for new setups - i'm just copying tbird, instead of installing, along with a preconfigured profile.
Anyway, if you use that location, and you have renamed the file, your users will be able to apply the patch themselves with just one click, as they won't even have to browse to locate tbird installation folder.
Comment 42•6 years ago
|
||
Just to say this bug is not fixed by 60.6.1
Comment 43•6 years ago
|
||
Has anything changed? I tried to use the omni.ja fix, but it did not work anymore (Thunderbird 60.6.1 32Bit).
The Prompt ist still loading despite the wrong name.
A few month ago I did the same on several PC and it was fine.
Comment 44•6 years ago
|
||
Just applied the patch to a recently updated to 60.6.1 (64bit on win10) client, and worked as expected - no more subscribe prompts..
Don't have any machines running the 32bit version, so can't test that.
Comment 45•6 years ago
|
||
Thunderbird/60.6.1 on Windows have the same problem.
Here the source of mail with imap reference :
<div class="moz-signature">
<div class="moz-signature"><a href="http://XXX"
moz-do-not-send="true"><br>
</a>
<title></title>
<p> <a href="http://XXX" moz-do-not-send="true"><img
src="imap://XXX%2EXXX@imap.XXX:993/fetch%3EUID%3E/Drafts%3E48266?part=&filename=XXX.eml&fetchCompleteMessage=true&filename=logo_site.png"><img
src="cid:part5.6828833E.6AC6AFC2@XXX" class=""><br>
Comment 46•6 years ago
|
||
This bug still exists in 60.7.0. I wonder how we bring this to anyone's attention - maybe it needs a new bug report? In our case at least this is nothing to do with forwarding, it is entirely due to moved/renamed image sources in IMAP folders as per my Comment #9 above.
Comment 47•6 years ago
|
||
We also have this problem but only if the mail has been forwarded with a Thunderbird 60.3.3. If I open such a malformed forwarded mail with Thudnerbird 60.7.0, the message is shown (source of mail has been already been malformed a few weeks ago by an older Thunderbird version).
If I (with a Thunderbird 60.7.0) forward a new e-mail with the same signature and embedded picture, eveything works fine.
Is this repoducable by anyone? This would mean the bug in forwarding a message is solved, but consists for already existing forwarded e-mails, which would be normal...
Comment 48•6 years ago
|
||
This issue is coming back and forth for so long.
I propose that at least you make it less irritating/ui-blocking by making the dialog passive.
e.g. If subscription options exist, a listbox control appears on the email bar with all these options.
My ubuntu feels like old windows when having to click "cancel" on so many alert-boxes :)
Comment 49•6 years ago
|
||
Bug always here.
Forward was from Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0 and read on Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.1.
<img
src="imap://xxxxx%2Exxxxx@imap.xxxxxx:993/fetch%3EUID%3E/INBOX%3E87440?part=1.2.2&filename=XXXXX-logo.jpg"
data-mce-src="../home/xxx@XXXXX.org/Briefcase/XXXXXX-logo.jpg"
doc="Briefcase/XXXXXX-logo.jpg" width="176"
height="132"
Assignee | ||
Comment 50•5 years ago
|
||
This bug may be fixed by Bug 1572864. It eliminates the insertion of erroneous "imap://..." links into forwarded or edited as new emails. However, I'm not 100% certain that this bug is fixed since I have not been able to duplicate the problem described in this bug (unexpected requests to subscribe).
The fix is targeted at 60.9 and 68.1 which are not yet released, AFAIK. It probably won't affect emails residing in mailboxes that already have the "imap://..." link in the source but it should prevent the insertion of those links in futures emails created by TB.
Note that bug 1572864 has restricted visibility due to security implication.
Comment 51•5 years ago
|
||
I'm afraid this bug isn't fixed in 60.9, although its behaviour has changed a little. I think it's still incorrect addressing of imap folders (even ones that do exist now) but haven't had time to look closer (even if I understood what was going on). Luckily the workaround (edit omni.ja) still works.
Assignee | ||
Comment 52•5 years ago
|
||
(In reply to Edward Paine from comment #51)
I'm afraid this bug isn't fixed in 60.9, although its behaviour has changed a little. I think it's still incorrect addressing of imap folders (even ones that do exist now) but haven't had time to look closer (even if I understood what was going on). Luckily the workaround (edit omni.ja) still works.
Edward, Do you know a fool-proof way to duplicate this? This fool hasn't been able to. :)
Also, editing a file like omni.ja sound like a not good general solution.
In comment 9 you mention that there is an imap:/.... url involved. Is that still the case?
Comment 53•5 years ago
|
||
I am seeing this bug's symptom in 68.0-ssl and 69.0b4-ssl (downloaded 9 Sep 2019). with Lightning enabled.
When I open a particular message in folder foo/bar, I get a pop-up "Do you want to subscribe to //foo/bar?"
If I say "Cancel", I see an empty body (no image).
I was the reporter for bug 1572864. While I am not a TB developer, as I understand it, the fix was to remove the security issue. It did not directly address this issue.
In my current case, the image attached to the message (a top-level multipart part) is referenced both within the content (in both alternative text/plain and text/html parts) and in a text/calendar part. The symptom, for this message, occurs only when Lightning is enabled. In safe mode, the message appears as expected.
With Lightning enabled, the subscribe symptom occurs when the message is in a folder different from Inbox. I get these errors when opening the message (first message opened after starting TB 68)
Lightning: Component returned failure code: 0x804a0100 [calIICSService.parseICS] when parsing <apparent binary removed in this bug report> calIcsParser.js:151
[This next line occurs after I cancel the subscribe pop-up]
AttachmentInfo.isEmpty: error - NetworkError when attempting to fetch resource. msgHdrView.js:1932:17
When I moved the message to Inbox, the subscribe pop-up did not appear, but neither did the image. I get these errors in the error log when I open the message (first message opened after starting TB 68)
Lightning: Component returned failure code: 0x804a0100 [calIICSService.parseICS] when parsing
<apparent binary removed in this bug report> calIcsParser.js:151
AttachmentInfo.isEmpty: error - data.value is undefined msgHdrView.js:1932:17
[In TB 69, Lightning was 69. When I went back to TB 68, I had to remove & reinstall Lightning 68]
As for the problematic message, I'm willing to share it with individuals working on the bug, but I'd rather not post it for the world (because it contains email addresses). I'm leary of sanitizing the addresses.
Assignee | ||
Comment 54•5 years ago
|
||
(In reply to Mabry Tyson from comment #53)
Mabry, If you could attach the problem message as an *.eml and send it directly to me that would be great (using my profile address). I never run with Lightning since that is not my area, but I will enable it for this test.
However, if commenter Edward Paine has a way to duplicate the problem without involving Lightning, I still would like to hear about it.
Assignee | ||
Comment 55•5 years ago
|
||
Mabry, I received the .eml but can't duplicate the problem. Details are in the email reply I sent to you.
You mention this error in comment 53:
AttachmentInfo.isEmpty: error - data.value is undefined msgHdrView.js:1932:17
This sounds like maybe it is in the area touched by this bug: Bug 1345167
Comment 56•5 years ago
|
||
Gene, I've sent you an email.
Comment 57•5 years ago
|
||
(In reply to gene smith from comment #55)
Mabry, I received the .eml but can't duplicate the problem. Details are in the email reply I sent to you.
It appears you gave it a good try. Thanks! Maybe over the weekend I'll have time to figure out why I see it but you don't, and then find a way to make it so others can replicate it.
Assignee | ||
Comment 58•5 years ago
|
||
Early work on click on link causing a subscribe to shared folder; only of historical interest probably: Bug 112105
Assignee | ||
Comment 59•5 years ago
|
||
Still working on this in Bug 1577683. There is some improvement with 68.1.1 however if the email contain "imap://" links there still seems to be a problem due to pre-60.9 TB sometimes dropping the links into emails.
Ed and Mabry, I don't think I asked but do your imap servers advertise "Other user" or "Public" namespace paths in "Advanced Server" setting?
Assignee | ||
Comment 60•5 years ago
•
|
||
(In reply to Mabry Tyson from comment #57)
(In reply to gene smith from comment #55)
Mabry, I received the .eml but can't duplicate the problem. Details are in the email reply I sent to you.
It appears you gave it a good try. Thanks! Maybe over the weekend I'll have time to figure out why I see it but you don't, and then find a way to make it so others can replicate it.
Mabry, I think some of the problems you saw is probably caused by the patch in Bug 1345167 which turned out to cause regressions in 68.0, 68.1 and maybe 60.9. They are now fixed in version 68.1.1.
But still unable to see a subscribe pop-up with the test message (or other messages) that Edward Paine sent me via email. I think Jorg is also looking at this and maybe he will have better luck with email sent to him by another tb user.
It is mentioned above that going from NONE to SSL/TLS security may fix the problem. I think this is because the imap:// url (that ends in :143, none, or :993, tls) becomes invalid when security is changed so the URL is ignored and no subscribe is attempted. Also, reading comments above, changing this didn't always work.
Assignee | ||
Comment 61•5 years ago
|
||
I set up my local Dovecot imap test server to have shared "Other Users" namespace and have duplicated the problem. Have found a possible solution for when errant "imap://...fetch..." links exist in legacy messages (put there due to a hopefully now fixed bug in tb). I should have a "try" build available shortly so it can be tested by end users; I will post the links to try builds and the proposed patch in the subsequent comments.
Assignee | ||
Comment 62•5 years ago
|
||
Here's a proposed patch that fixes the problem (imap:// links causing spurious subscription request to occur). From my understand, the imap:// links are intented to be put into a message body so the recipient can click on the link and subscribe to a shared folder in the "Other User" namespace. The imap:// link can also cause the recipient to go to another folder in their private namespace when clicked. The imap:// link, when evaluated at the location of this patch, is not intended to cause a fetch or other imap activity so the patch causes the subscribe prompt to not occur when the url contain an imap action such as fetch. (Bug 112105 describes the concept of clicking to subscribe.)
Imap urls with fetch imap action were put into emails due to the other bug that was recently fixed and often cause the spurious subscription prompts (bug 1572864). So this will mostly address legacy emails produced by older TB versions still having the imap:// fetch links.
I will provide links to "try" builds so the various reporters can test the fix in their own environments.
Assignee | ||
Comment 63•5 years ago
|
||
Here are the direct links to the "try" build. This is really a 68.1.2 version with the above patch (diff) applied.
Linux x64 opt (manual intall only):
https://queue.taskcluster.net/v1/task/ewQkrgvLTXWp8DeCzsCR7Q/runs/0/artifacts/public/build/target.tar.bz2
Window 2012 x64 opt:
https://queue.taskcluster.net/v1/task/XCK-fZYJR_uPGrizzi4Wjw/runs/0/artifacts/public/build/install/sea/target.installer.exe
or for manual install,
https://queue.taskcluster.net/v1/task/XCK-fZYJR_uPGrizzi4Wjw/runs/0/artifacts/public/build/target.zip
OS X Cross Compiled shippable opt:
https://queue.taskcluster.net/v1/task/TexBw1iOSIaKZULy7vzxvA/runs/0/artifacts/public/build/target.dmg
The links above, and others if something more appropriate is wanted, can also be found here:
https://treeherder.mozilla.org/#/jobs?repo=try-comm-central&revision=7fd6468698c3949164dc14d6ca69fe5697123c7d&selectedJob=270398763
Click on the green "B" next to the architecture type. When clicked, new information appears in the bottom half. Click on
"Job Details" and you can download any of the items listed, including those already listed above. (Most are probably not useful to the end users.)
Comment 64•5 years ago
|
||
I tried the Windows x64 Daily in my environment and can confirm no subscribe requests occurred. Great work Gene.
Comment 65•5 years ago
|
||
Assignee | ||
Comment 66•5 years ago
|
||
I also just asked the reporters for Bug 1577683 to test the "try" build. May want to wait a while for them to check the results before landing.
Assignee | ||
Comment 68•5 years ago
|
||
(In reply to Jorg K (GMT+2) from comment #67)
So ready to go here?
Only have one confirmation of the fix in the "try" version at Bug 1577683. But I think the fix is OK so go ahead and do your thing.
Comment 69•5 years ago
|
||
Removed debug and fixed commit message.
Comment 70•5 years ago
|
||
Pushed by mozilla@jorgk.com:
https://hg.mozilla.org/comm-central/rev/0c3697a0269a
Avoid unwanted prompt to subscribe to IMAP folder when imap: URL is found in image src. r=jorgk
Updated•5 years ago
|
Comment 71•5 years ago
|
||
Comfortable adding this to the 70 beta?
We have an enterprise user who can test it.
Assignee | ||
Comment 72•5 years ago
|
||
(In reply to Wayne Mery (:wsmwk) from comment #71)
Comfortable adding this to the 70 beta?
We have an enterprise user who can test it.
Not Jorg but,
Edward Paine above has tested at his business (comment 64). I have also requested several others to test the "try" build in the almost duplicate Bug 1577683. I think some may be enterprises, not sure. (And I tested it on my non-enterprise system.)
Comment 73•5 years ago
|
||
Comfortable adding this to the 70 beta?
Yes, I was going to write "not yet" to "tb drivers" to include this bug and potentially others that might become available today or tomorrow.
Comment 74•5 years ago
|
||
Updated•5 years ago
|
Comment 75•5 years ago
|
||
TB 68.2.0 ESR:
https://hg.mozilla.org/releases/comm-esr68/rev/b4433a0b878ca0d926196bea27ba629cce21c5a2
Comment 77•10 months ago
|
||
Can confirm this as Verified.
Tested on OS WIN(64):
• Version 70.0a1
Build: 20190815101348
• Version 71.0a1
Build: 20190904095558
OS MAC Sonoma 14
Version : 126.0b1
Build: 20240422190155
Updated•10 months ago
|
Description
•