Closed Bug 61816 Opened 24 years ago Closed 16 years ago

IMAP: deleting does not work with some servers

Categories

(MailNews Core :: Networking: IMAP, defect, P3)

x86
All

Tracking

(Not tracked)

RESOLVED INCOMPLETE
Future

People

(Reporter: mhearn, Assigned: Bienvenu)

References

Details

(Keywords: imap-interop, Whiteboard: CLOSEME 2008-05-25)

When I press delete while a message is selected in an IMAP mailbox the message disappears but the DELETE command is not sent to the server, so that when the mailbox refreshes the messages reappear. Also, there is no Expunge button to clear all deleted messages. -mike
*** Bug 62532 has been marked as a duplicate of this bug. ***
62532 was reported on linux.
os -> all since it's on linux and win98
OS: Windows 98 → All
QA Contact: esther → huang
Reporter is this still a problem on the latest nightlies?
Marking WORKSFORME due to lack of response. Reopen if this is still a problem in the latest nightlies.
Status: UNCONFIRMED → RESOLVED
Closed: 24 years ago
Resolution: --- → WORKSFORME
This bug is still present for me at least. Perhaps it occurs due to configuration differences on the server side which mozilla isn't accounting for? And I don't have the right to reopen the bug. Hope someone reads this. :-) The IMAP server I connect to is running IMAP4rev1 v11.237 but I don't know how it's configured.
The Expunge features is "Compact This Folder" available on the File Menu. I'll re-open so this gets investigated. Could you please provide details about your OS, and build ID? Thanks!
Status: RESOLVED → UNCONFIRMED
Resolution: WORKSFORME → ---
What preference for deleting messages do you have? Last I heard there were three possible way of deleting an imap message, look in your account preferences. Thanks.
I've found that Mozilla does not alert me if the IMAP mailbox is read-only (neither does Outlook Express, I found that messages I thought i'd deleted reappeared next time i logged in and this was the reason). It could be that Mozilla thinks it has deleted the message when in fact the mailbox was selected as read-only. It's just a suggestion, thanks -mike
Keywords: mail6
Ok thats probably it. I created a new bug for that problem, bug 65644. Marking this as WORKSFORME.
Status: UNCONFIRMED → RESOLVED
Closed: 24 years ago24 years ago
Resolution: --- → WORKSFORME
Ok, I'm running on linux and windows me. On linux I do my own builds from cvs, usually daily. On windows I download nightlies every couple of days. This behaviour has remained unchanged for as long as I can remember, months if not a year or more. I have mail set to be marked as deleted and I have compact inbox on exit set. This is the same as my netscape 4.76 ( where everything works fine btw ) settings. Interestingly, I have some mail filters set that move messages out of the inbox into other folders. Messages moved ( and thus deleted ) in this way actually do disappear when the inbox is compacted as expected. All other attempts to delete messages from this or any other folder fail as described in the original report. I can believe that silent read-only failure could be the underlying problem, but why would the folders open read-only? They open fine in 4.76. Hope this helps.
Ok reopening and Marking NEW to get someone to look at it.
Status: RESOLVED → UNCONFIRMED
Resolution: WORKSFORME → ---
Marking NEW.
Status: UNCONFIRMED → NEW
Ever confirmed: true
We need to be able to reproduce this or get good steps to reproduce this before this can be looked into.
Whiteboard: [NEED REPRO]
Well, I really wish I couldn't reproduce it, though I suspect that it doesn't do you a lot of good. I can't exactly give other people access to my mail box. Perhaps I can get configuration details for my mail server, which you can then use to reproduce the problem. I'll look into that.
I cannot reproduce this problem by using 01-19-08-Mtrunk build for different IMAP delete modes. What kind of the IMAP server are you using? Can you attach a IMAP log here? For Unix, please setup as following for getting the IMAP log: ------------------------------------------------------------------------ Add a line to ~/.cshrc file of the csh shell as following: Set NSPR_LOG_MODULES IMAP:5 Set NSPR_LOG_FILE /u/[unix userlogin]/tmp/[filename] (ex:map5io.txt) (filename can be defined by you) Please Note: /u/[unix userlogin] is just Netscape setup UNIX environment for each user. It could be /home/[unix userlogin] or /[unix userlogin] depend on how your users environment setup. ---------------------------------------------------------------------
Oh, it's easy enough to reproduce (for me anyway). Just open a mailbox in Outlook/Mozilla then telnet to the IMAP Server (if you don't know the imap protocol here's what to type): A1 LOGIN username password A2 SELECT INBOX [you should see a warning about read-only status] A3 LOGOUT That's all that's needed :( Unfortunately if a client doesn't logout correctly the readonly status seems to persist for some time before it is reset :(
I still need to know what kind of the IMAP server are you using since I cannot reproduce this problem on our Messaging Server 4.15.....
This question is directed to Philip. In the comment above on 1/16/01 you stated you have "mark as deleted" and then you also have "expunge Inbox on exit". When I have those set, the expunge inbox on exit doesn't work (a different bug), the messages are still in the inbox when I relaunch. But, I can expunge by using the File menu "Compact this folder" when the Inbox is selected and the messages are then deleted from the Inbox. You don't specifically mention that you tried the Menu item, can you confirm that when you tried this menu item it fails to delete the messages. (note I deleted 2 msgs, it took about 10 seconds to refresh the thread pane after I expunged the folder). thanks,
To esther: Expunge on exit doesn't work for me either. What does work is that when I select compact folders from the menu, it does in fact delete those messages that have been moved by a filter. But it does not delete messages marked as deleted by me afterwards.
Philip, thanks for answereing. I have one more specific question. I know from you're answer that the filtered messages marked for deletion are deleted when using the menu, but I'm still not sure if manually deleted messages that are marked for deletion are expunged after using the menu item. For me, I open my Inbox for the first time, it shows the filterd messages with the mark as deleted checkmark, I then manually delete a few more messages, then I select the menu item to Compact this folder. All the marked messages are gone, when exiting product and relaunching they are all still deleted. Is this the case for you?
To esther: Whence the whole reason for my participation in this bug. :-) When I manually mark mails deleted they are not actually deleted when I compact the folder. Instead, when I compact the folder, the delete flag is cleared and the messages remain when I exit and restart. Mozilla mail is completely unusable as a result, so I'm still using 4.76 for mail.
I'm writing an IMAP server and I've found the same problem regarding Mozilla. Messages do not get deleted *on the server* under any circumstances. BTW, Mozilla is not trying to open the mailbox READONLY. Mozilla correctly sends a STORE command when doing a "mark as unread" (\Unseen flag) but doesn't send a STORE command to set the \Delete flag at ANY time. I've tried all three delete mechanisms listed in the properties. I don't know what each option means, but none of them result in deleted messages. Admittedly, one of them DOES try to do a COPY to the Trash folder, but since I haven't implemented COPY yet that doesn't work. Note that Mozilla doesn't try to do a STORE \Delete on the original after the COPY, but that may be because the COPY fails. Before you ask, deleting works fine on my server for Netscape Mail (Linux), Pine and Outlook Express. I'm using Build 2001012821.
Agreed. I've done the IMAP logging as described above and there is no store command sent to the server to actually register the delete on the server. When an expunge is called, the server responds that nothing as been flagged to be expunged and thus it will do nothing. This behaviour appears to be server independent. I'm curous as to how IMAP delete can be working for anyone at all.
marking nsbeta1-
Keywords: nsbeta1-
Target Milestone: --- → Future
*** Bug 69757 has been marked as a duplicate of this bug. ***
It work on my Linux-box with IMAP4rev1 v12.264. However, it doesn't work with my ISP's IMail (http://www.ipswitch.com/Products/IMail_Server/). So, it's probably server dependent?
Keywords: interop
It seems to me, that this bug has lot of different issues confused into one, it may be a good idea to close this bug an open a few new ones. In particular, does anybody here still know if this bug talks about the "Delete immediatelly" mode or "Mark as deleted"? The original reported seems to talk about "Delete immediatelly" but all recent comments seem to be about "Mark as deleted". P.S. Please also see bug #83816 (just don't be too quick to call it a duplicate of this one).
Well, in my case, deletion of messages by any available method does not work. The delete instruction is simply ignored, no delete command is sent to the server ( as I reported before ). It seems fairly clear from the other comments that this behaviour is related to the imap server software that is used, but beyond that, *shrug* This bug rendered iamp mail through mozilla completely impossible for those affected.
OK, so there are at least 3 problems with IMAP and delete. 1) deleting does not work with some servers - this bug 2) bug 83816 - "IMAP: "Remove it immediately" only marks messages as deleted" 3) bug 86225 - "Changing IMAP delete mode does not change the state properly (have to restart Mozilla)" Am I missing anything?
Summary: IMAP messages cannot be deleted on server → IMAP: deleting does not work with some servers
In my case (with IMail Server), "Mark As Delete" doesn't work. No delete or expurge command is sent to server in this mode. However, "Move To Trash" mode works and it's what I'm now using.
Think I've nailed a repro case: This is using outlook express, sorry but it's easier to tell what's happening and i think it's a server issue anyway - Login - Do some stuff - Wait for the servers timeout to elapse. Outlook doesn't say anything until you next do an action, at which point it says the server terminated the connection and relogins in - However, the old process didn't clean up properly and the mail folders are locked - From this point on, no changes take effect - You must wait until the server clears the process lock, normally for me about 24 hours :(
Depends on: 69151
At work we are using Ipswitch Imail 5.09-99.12.08 with imap. We use/have used OE 4, 5.x and 6 without any problem, we use Netscape 4.7x without any problem - all on Windows 9x + NT4-5.1. But with Mozilla (all up to at least 2001111503) it goes as stated later below. I have tried with all three delete settings, and this is what happens: * Press del on a message - after refreshing it _will_ be back. * Move a message to another folder - after refreshing it does _not_ come back. * Mark a message deleted in another program - compress folder in M makes it go away even after refreshing.
With the newly builds (right now 2002032408) it have suddenly started to function as supposed with the server from #33.
*** Bug 139395 has been marked as a duplicate of this bug. ***
Could bug 140810 be related to some cases of this?
QA Contact: huang → meehansqa
Isn't this a duplicate of bug 112657 ?
I'm using the Solaris Mozilla 1.1 pre-compiled tarball, on a IMAP4rev1 server. In my email settings, I have "When I delete a message" set to "Remove it Immediately", and I have "Clean up ("Expunge") Inbox on Exit" checked/enabled. When I highlight a message and click delete, nothing happens to the mail in the spool file. I can open the mail file with an editor and still see the message. If I choose 'Compact Folders' from the file menu, the mail is then deleted, but if I forget to do this before reading email on another system, then all the mail shows up as new. Choosing 'Compact Folders' seems to be the only way to get the email deleted. I think this should be marked critical.
I've always had this problem up until today. Downloaded and installed 1.3a (WinXP) and finally this bug seems to be fixed. I can now delete a message via "Send to trash", "Remove immidiatly" and "Mark as deleted". Message deletetion now works with moving a message from one imapserver to another. Up until today only "Move to trash" worked. Thank you for fixing this bug! I think you can also resolve bug 112657 which is a duplicate of this bug. /jacob
I have the option "Mark for deletion" selected instead of imidiate deletion for my email. And when I slect a message and press the delete key, the message gets deleted but the mail display freezes. i.e. I can click on other emails but the display of the email is still the one I selected delete on. I have to click to other mailboxes and come back to the one with the problem, and the deleted email is not marked as deleted any more. Problem is intermitent...
Mozilla 1.4b Linux and Exchange2000 IMAP4rev1 Remove imediately mode requires a "Compact folders" to delete mail from server. There is no indication that mail exist in Mozilla. Mail shows up in MS webmail and Outlook mapi. Move to Trash mode copies to Trash and requires "Compact Folders" to delete both orignal and Trash copies. I did IMAP loging. The connection is in READ/WRITE mode.
Product: MailNews → Core
for what (list of) servers does this not work?
Assignee: mscott → bienvenu
QA Contact: meehansqa → grylchan
problem gone for you?
QA Contact: grylchan → networking.imap
Whiteboard: [NEED REPRO] → CLOSEME 2008-05-25
No new useful information since May 2003, resolving incomplete.
Status: NEW → RESOLVED
Closed: 24 years ago16 years ago
Resolution: --- → INCOMPLETE
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.