Open Bug 638878 Opened 14 years ago Updated 2 years ago

When a message is related to not existing account, Archive feature move it move in wrong place (local folders)

Categories

(Thunderbird :: Mail Window Front End, defect)

x86
Windows 7
defect

Tracking

(Not tracked)

People

(Reporter: Aureliano, Unassigned)

References

(Blocks 1 open bug)

Details

I have my work account that was for long time surname.name@my-company.it. I used this account for 9 years as "stand alone" account (not in local folders). This year, my company as changed ISP and my account is now name.surname@my-company.it In folders pane I have this situation: ------------------- ALL FOLDERS ------------------- *name.surname@my-company.it (Work account)* --Inbox (W) --Sent (W) --Archives -----2001(W) -----2002(W) -----... -----2010(W) *account2* *account3* *Local Folders* --Archives -----2001(LF) -----2002(LF) -----... -----2010(LF) In Inbox (W) I have some mail of 2010 that is related to my old surname.name@my-company.it account: when I harchive them, TB moves into in 2010 (LF) folder and not in 2010 (W) folder. This, I suppose, because surname.name@my-company.it don't exists: but for me is better in this case if Tb respect folder account structure and place message in 2010 (W). Mozilla/5.0 (Windows NT 6.1; rv:2.0b13pre) Gecko/20110304 Thunderbird/3.3a3pre
POP3? IMAP? I guess POP3 because you say '"stand alone" account (not in local folders)'. What did you do on Tb when your ISP changed your account from surname.name@my-company.it to name.surname@my-company.it? (a) Newly defined account in Tb with .hostname=my-company.it, .userName=name.surname(or name.surname@my-company.it). (b) Changed user name for login at Server Settings of existent account. If (a), what did you do on old account in Tb for surname.name@my-company.it? Deleted the old account in Tb? Which account's folder do you select as archive folder at Account Settings/Copies&Folders of the account in Tb for name.surname@my-company.it? What number is assiged as account number/server number to the account on Tb? At Config Editor, check number for next X, Y, and P mail.server.serverX.name = name.surname@my-company.it mail.server.serverX.hostname = my-company.it => mail.account.accountY.server = serverX mail.account.accountY.id = idP,idQ,idR,... => mail.identity.idP.useremail = mail address associated to your account by ISP (From: address in mail composition) In mail source, account number is written in X-Account-Key: header by Tb. What account number is written in X-Account-Key: header? > In Inbox (W) I have some mail of 2010 that is related to my old surname.name@my-company.it account: Was "assigned mail address to your account" changed too by ISP upon user name change for login? Please distinguish "server name", "user name" for login(account at server = "user name" + "server name"), mail address associated to the account by ISP, and "label name" shown at folder pane by Tb. Note: Confusing but "user name" == "mail address" in many cases and "mail address" == "label name" in many cases. Don't confuse them, please.
(In reply to comment #1) > POP3? IMAP? POP3 > What did you do on Tb when your ISP changed your account from > (b) Changed user name for login at Server Settings of existent account. yes, it is! > Which account's folder do you select as archive folder at Account > Settings/Copies&Folders of the account in Tb for name.surname@my-company.it? name.surname@my-company.it > What number is assiged as account number/server number to the account on Tb? > At Config Editor, check number for next X, Y, and P > mail.server.serverX.name = name.surname@my-company.it > mail.server.serverX.hostname = my-company.it > => > mail.account.accountY.server = serverX > mail.account.accountY.id = idP,idQ,idR,... > => > mail.identity.idP.useremail = mail address associated to your account > by ISP (From: address in mail composition) Y=3, X=3 and P=1 > In mail source, account number is written in X-Account-Key: header by Tb. > What account number is written in X-Account-Key: header? X-Account-Key: account3 > Please distinguish "server name", "user name" for login(account at server = > "user name" + "server name"), mail address associated to the account by ISP, > and "label name" shown at folder pane by Tb. Sure, I don't mention above "label name" only "user name" ;-) Ciao ;-)
If so, account number/server number/identity number/mail address are never changed. Only "user name" used for login is changed, and is saved in .realuserName. > X-Account-Key: account3 > mail.account.account3.id = id1 > mail.account.account3.server = server3 > mail.server.server3.hostname = my-company.it (may be in realhostname too) > mail.server.server3.useName = surname.name@my-company.it (unchanged) > mail.server.server3.realuseName = name.surname@my-company.it (new one) > mail.identity.id1.usermail = xxx@my-company.it (unchanged) > mail.identity.id1.archives_folder_picker_mode = ? > mail.identity.id1.archive_folder = mailbox://surname.name@my-company.it/Archives > (Format of mailbox://<.userName>@<.hostname>/Archives) Tb confuses mailbox://<.userName>@my-company.it/Archives with mailbox://<.realuserName>@my-company.it/Archives? Or Copies&Folders setting UI sets mailbox://<.realuserName>@my-company.it/Archives in id1.archive_folder? Can you check with next? (1) Change back "user name" to surname.name@my-company.it (old one) > mail.server.server3.realuseName = surname.name@my-company.it If login fails, or password is prompted, reply cancel. (2) Restrt Tb (3) Execute Archive of a mail(X-Account-Key: account3). To where is mail moved? (4) Change "user name" to name.surname@my-company.it (correct one) > mail.server.server3.realuseName = name.surname@my-company.it (5) Restrt Tb (6) Execute Archive of a mail(X-Account-Key: account3). To where is mail moved?
(In reply to comment #3) > Can you check with next? > (3) Execute Archive of a mail(X-Account-Key: account3). > To where is mail moved? In wrong place as in comment #0 > (6) Execute Archive of a mail(X-Account-Key: account3). > To where is mail moved? In wrong place as in comment #0 ;-)
(In reply to comment #4) What is set in next prefs.js entries in your environment? > mail.identity.id1.archives_folder_picker_mode (this entry may not exist) > mail.identity.id1.archive_folder
(In reply to comment #5) > What is set in next prefs.js entries in your environment? > > mail.identity.id1.archives_folder_picker_mode (this entry may not exist) not exist > > mail.identity.id1.archive_folder "mailbox://name.surname%40my-company.it@mail.my-company.it.it/Archives"
(In reply to comment #6) > > > mail.identity.id1.archives_folder_picker_mode (this entry may not exist) > not exist It's similar to mail.identity.id1.archives_folder_picker_mode=0, and it means setting at "Archive folders on:" is used. archives_folder_picker_mode=0 is set when "Archive folders on:" is changed via UI. As archives_folder_picker_mode doesn't exist, you didn't change setting via UI. > mail.identity.id1.archive_folder > "mailbox://name.surname%40my-company.it@mail.my-company.it.it/Archives" In my environment, after user name is changed from z-01 to z-01-changed, id1.archive_folder is kept as mailbox://<.userName>@<.hostname>/Archives, even after selection of archives folder of this account, via both "Archive folders on:" and "Others:" of Copies&Folders setting UI. > mail.account.account1.identities = id1 > mail.account.account1.server = server1 > mail.server.server1.hostname = z.z.z (no .realhostname) > mail.server.server1.userName = z-01 > mail.server.server1.realuserName = z-01-changed > mail.identity.id1.archives_folder_picker_mode doesn't exist. (same as 0) > mail.identity.id1.archive_folder = mailbox://z-01@z.z.z/Archives Your case is user name change from surname.name@my-company.it to name.surname@my-company.it, so, next should be set. > mail.server.server1.userName = surname.name@my-company.it mail.server.server1.realuserName = name.surname@my-company.it And, next should be set, if it's set via Tb's UI. > mail.identity.id1.archive_folder = "mailbox://surname.name%40my-company.it@mail.my-company.it.it/Archives" > format of mailbox://<.userName>@<.hostname>/Archives Who set next in pres.js entry? > mail.identity.id1.archive_folder = "mailbox://name.surname%40my-company.it@mail.my-company.it.it/Archives" > format of mailbox://<.realuserName>@<.hostname>/Archives
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.