Closed Bug 299708 Opened 19 years ago Closed 16 years ago

"Copies & folders" settings for sent messages don't work with multiple identities on IMAP server

Categories

(Thunderbird :: Preferences, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: mike, Assigned: mscott)

Details

(Whiteboard: closeme 2008-08-28)

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050513 Debian/1.7.8-1
Build Identifier: 

Using a Cyrus IMAP server with 2 users for the sake of this example, foo and bar.

The INBOX for user foo is "user.foo", and the mail folders all live under that
(i.e. user.foo.Sent, user.foo.Trash, etc). User foo is a real live human, and
has multiple sender identities configured. The second identity is a generic
address, with copies of sent mail set to go to the INBOX folder for user bar
(user.bar).

User bar is a fake user, set up to receive mail for a generic email account.
User foo has rights to user bar's email folders.

In Thunderbird, when the user sends mail from the main identity, the message is
stored in "user.foo.Sent", and all works as expected. However, when mail is sent
from the second configured identity, it is supposed to be copied to "user.bar",
(and this is correctly reflected in the prefs.js). When the message is sent, the
SMTP operation happens correctly, but the IMAP store fails, and Thunderbird just
sits there with the compose window still open, and a "sending" progress meter
showing. It will sit in this condition for literally hours.

A protocol dump of the IMAP exchange trace shows that it's doing completely the
wrong thing:-

16 OK Completed
17 list "" "INBOX^^user^bar"
17 OK Completed (0.000 secs 1 calls)
18 create "INBOX^^user^bar"
18 NO Invalid mailbox name
19 IDLE
+ idling


Reproducible: Always

Steps to Reproduce:
1. Create a second identity
2. Set the sent mail to a different IMAP folder
3. Send message.

Actual Results:  
Progress meter appears, sent message doesn't get filed, eventually you have to
cancel and give up.

Expected Results:  
Copied the message to the configured folder.

This bug may be related to bug 262294. The descriptions are similar enough that
both could conceivably be the result of the same underlying problem, though
there are a few differences with my specicifc problem.
I can reproduce this but without the hang in tbbeta2 - basically if I use any
account I have and reply to or use one of my additional identities, the message
does not get saved where it should be. It just gets saved to the local folders
area. I thought this was down to an extension I've got but I've now been able to
reproduce it without any extensions installed.
(In reply to comment #1)
> ... and reply to or use one of my additional identities ...

by this I mean if I reply to an email address sent to one of my identities (so
that my reply to address is set up as one of the identities) or if I reply to a
message on an account with multiple identities and manually change the from to
one of these identities no sent folder message appears. On imap account this is
noticable from the sending message dialog because when it does it properly (when
you use the accounts default email address) you have time to see the saving
message to sent folder message, whereas with an identity this message either
comes up so fast you cant see it or perhaps doesnt come up at all.

(In reply to comment #0)
> Build Identifier: 

??? I'm guessing this was with a 1.0.x build?

> Steps to Reproduce:
> 1. Create a second identity
> 2. Set the sent mail to a different IMAP folder
> 3. Send message.

When you 'set the sent mail to a different IMAP folder' -- I'm assuming that you do this via the Account Settings | <account> | Copies & Folder page.

As it happens, the copies-and-folders settings are *per-identity* and you need to change them individually for each identity.  Starting with 1.5, the Manage Identities button on the account page of the settings dialog provided a UI to address this.

> This bug may be related to bug 262294

That bug has been marked WFM (as of 1.0.6).

Are you still having a problem with this?  Have you tried version 1.5 and setting the Sent (and other) folders explicitly for each identity?  If this has solved your problem, please mark this bug:     Resolved | WorksForMe
QA Contact: preferences
Reporter, does the issue still occur with the latest supported 2.0.0.x / Shredder trunk nightlies?

(1.5.0.x is now end-of-life and the latest supported Thunderbird version 2 is 2.0.0.16)
Whiteboard: closeme 2008-08-28
RESO INCO per lack of response to the last question. If you feel this change was made in error, please respond to this bug with your reasons why.
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.