Closed Bug 626885 Opened 13 years ago Closed 13 years ago

unified inbox only shows messages from one account

Categories

(Thunderbird :: Folder and Message Lists, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: subscriptions, Unassigned)

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux x86_64; en-AU; rv:1.9.2.13) Gecko/20101206 Ubuntu/10.10 (maverick) Firefox/3.6.13
Build Identifier: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101208 Lightning/1.0b2 Thunderbird/3.1.7

I have 2 IMAP accounts in thunderbird. The unified inbox shows both account inboxes (in the folder list), but the 'unified' list of emails only shows from one account (the second in the folder list). The unread count is that for the account shown.

The js Error Console shows no errors..

Reproducible: Always

Steps to Reproduce:
1. launch thunderbird
2. compare 'unified inbox' email list with lists for each individual inbox
3.
Actual Results:  
the unified inbox shows the same list as the second (of 2) inboxes.
none of the emails in the first inbox appear in the unified inbox.

Expected Results:  
unified inbox merges the email lists from the 2 inboxes

I'm not sure how to get further information on this, nor when it started happening. As far as I recall, the unified inbox was working fine when I installed thunderbird on this computer. It was after some time that I noticed the problem when I didn't see some emails until I checked my mail on another device. 

a possible red herrings:
- this probably happened after installing lightning. I also had some trouble with lighning: see https://bugzilla.mozilla.org/show_bug.cgi?id=624981
Perhaps those troubles did something to my profile??

Is there something I can check in my profile? Some part of my profile I can put here for an expert eye to peruse?
the virtudal folder file might help figuring out what's going on.
thanks for the tip (:

I had a look at virtualFolders.dat in my profile folder, and indeed only one of the 2 inboxes appears in the "scope=..." line of the"uri=mailbox://nobody@smart%20mailboxes/Inbox" part. Otherwise that part is identical to that for the other unified folders (Sent, Drafts ...)

A probable Red Herring for you: (;
One thing I noticed: url's for the mail account that works are of the form:
for 'Sent':    imap://account@some.domain.com/INBOX/Sent
for 'Inbox':   imap://account@some.domain.com/INBOX

but the offending account doesn't have the intervening folder:
for 'Sent':    imap://account2@other.domain.com/Sent

so the offending inbox presumably has the form:
for 'Inbox':   imap://account2@other.domain.com
SO did you solve your issue ?
oops! late at night, forgot to finish up:

No, I quit thunderbird, added "|imap://account2@other.domain.com" in the appropriate place, then launched thunderbird again - still not seeing the 2nd inbox in the unified one.

Moreover, when I looked again at virtualFolders.dat my addition had been removed.
ian,

in local folders, move (or copy and delete) the "smart mailboxes" to somewhere for later diagnosis. and then startup.

does this resolve your issue?
In the end I was able to solve it like this:

 - right-click -> properties on the unified inbox
 - there is a button "Choose..." identified as "Select the folders to search:"
 - in the "select folders" popup I found the offending inbox un-selected
 - after selecting it, everything worked fine (:

After doing that, the file virtualFolders.dat in my profile folder showed the appropriate url's etc..

Thanks all for your input.
Ian
Status: UNCONFIRMED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.