Hi Stefan, On Fri, Nov 19, 2010 at 06:46:42AM +0200 or thereabouts, Stefan Tanurkov wrote: > Hello Gary, > G> I am still seeing messages only marked for deletion in various folders, > G> but not actually expunged. > You should switch the protocol logging on to see what actually > happens. Here, I see the Expunge commands sent and executed with no > problem.
I did some checking, and this is what I found in my logs. There is no EXPUNGE command given by TB .106 seen either in my TB logs or in my IMAP server logs. I will list part of the server logs below. I just shows the DELETE command given, but not EXPUNGE. I also see this in the TB logs, no EXPUNGE command given. Just to make sure, can you tell me what function in TB, or what do I have to do to force TB to give the EXPUNGE command? I have tried (in Folder Pane) to either compact or compact/compress (CTRL+C) and these do not issue the EXPUNGE command to the server? If I select a Folder, and go to Edit Folder Properties, under Exit Actions Section, if I check Remove Old Messages, what does this mean? Will this cause an EXPUNGE, or will this just delete old messages, and what is the definition of "Old Messages?" Since TB is moving more to the IMAP functionality, I would like to see an actual Expunge command, called Expunge, which I can assign a hotkey to, either in the Folder Pane, or Information Pane, as people or organizations who use IMAP are already familiar with this function name. Below is just a partial of my server IMAP logs. Throughout the entire session which I have not enclosed due to its length, there was not one EXPUNGE command received by the mail server when using TB. Fri 2010-11-19 08:04:47: --> * OK IMAP4rev1 ready Fri 2010-11-19 08:04:47: <-- 00001 CAPABILITY Fri 2010-11-19 08:04:47: --> * CAPABILITY IMAP4rev1 NAMESPACE AUTH=CRAM-MD5 AUTH=LOGIN AUTH=PLAIN IDLE STARTTLS ACL UNSELECT UIDPLUS Fri 2010-11-19 08:04:47: --> 00001 OK CAPABILITY completed Fri 2010-11-19 08:04:47: <-- 00002 LOGIN "g...@xxxxx" ****** Fri 2010-11-19 08:04:47: --> 00002 OK LOGIN completed Fri 2010-11-19 08:04:47: <-- 00003 STATUS "Public Folders/Mail Archive" (MESSAGES UNSEEN RECENT UIDNEXT UIDVALIDITY) Fri 2010-11-19 08:04:47: --> * STATUS "Public Folders/Mail Archive" (MESSAGES 0 UNSEEN 0 RECENT 0 UIDNEXT 1 UIDVALIDITY 1278443348) Fri 2010-11-19 08:04:47: --> 00003 OK STATUS completed Fri 2010-11-19 08:04:47: <-- 00004 SELECT "Public Folders/Mail Archive" Fri 2010-11-19 08:04:47: --> * FLAGS (\Seen \Answered \Flagged \Deleted \Draft \Recent) Fri 2010-11-19 08:04:47: --> * 0 EXISTS Fri 2010-11-19 08:04:47: --> * 0 RECENT Fri 2010-11-19 08:04:47: --> * OK [UIDVALIDITY 1278443348] UIDs valid Fri 2010-11-19 08:04:47: --> * OK [UIDNEXT 1] Predicted next UID Fri 2010-11-19 08:04:47: --> * OK [PERMANENTFLAGS (\Seen \Answered \Flagged \Deleted \Draft)] . Fri 2010-11-19 08:04:47: --> 00004 OK [READ-WRITE] SELECT completed Fri 2010-11-19 08:04:47: <-- 00005 UID SEARCH 1:* DELETED Fri 2010-11-19 08:04:47: --> * SEARCH Fri 2010-11-19 08:04:47: --> 00005 OK SEARCH completed Fri 2010-11-19 08:04:47: <-- 00006 UID SEARCH 1:* UNSEEN Fri 2010-11-19 08:04:47: --> * SEARCH Fri 2010-11-19 08:04:47: --> 00006 OK SEARCH completed Fri 2010-11-19 08:04:47: <-- 00007 UID SEARCH 1:* DELETED Fri 2010-11-19 08:04:47: --> * SEARCH Fri 2010-11-19 08:04:47: --> 00007 OK SEARCH completed Fri 2010-11-19 08:04:47: <-- 00008 UID SEARCH 1:* UNSEEN Fri 2010-11-19 08:04:47: --> * SEARCH Fri 2010-11-19 08:04:47: --> 00008 OK SEARCH completed Fri 2010-11-19 08:04:47: <-- 00009 STATUS "Outbox" (MESSAGES UNSEEN RECENT UIDNEXT UIDVALIDITY) Fri 2010-11-19 08:04:47: --> * STATUS "Outbox" (MESSAGES 0 UNSEEN 0 RECENT 0 UIDNEXT 4 UIDVALIDITY 1245686814) Fri 2010-11-19 08:04:47: --> 00009 OK STATUS completed Fri 2010-11-19 08:04:47: <-- 00010 SELECT "Outbox" Fri 2010-11-19 08:04:47: --> * FLAGS (\Seen \Answered \Flagged \Deleted \Draft \Recent) Fri 2010-11-19 08:04:47: --> * 0 EXISTS Fri 2010-11-19 08:04:47: --> * 0 RECENT Fri 2010-11-19 08:04:47: --> * OK [UIDVALIDITY 1245686814] UIDs valid Fri 2010-11-19 08:04:47: --> * OK [UIDNEXT 4] Predicted next UID Fri 2010-11-19 08:04:47: --> * OK [PERMANENTFLAGS (\Seen \Answered \Flagged \Deleted \Draft)] . Fri 2010-11-19 08:04:47: --> 00010 OK [READ-WRITE] SELECT completed Fri 2010-11-19 08:04:47: <-- 00011 UID SEARCH 1:* DELETED Fri 2010-11-19 08:04:47: --> * SEARCH Fri 2010-11-19 08:04:47: --> 00011 OK SEARCH completed Fri 2010-11-19 08:04:47: <-- 00012 UID SEARCH 1:* UNSEEN Fri 2010-11-19 08:04:47: --> * SEARCH Fri 2010-11-19 08:04:47: --> 00012 OK SEARCH completed Fri 2010-11-19 08:04:47: <-- 00013 UID SEARCH 1:* DELETED Fri 2010-11-19 08:04:47: --> * SEARCH Fri 2010-11-19 08:04:47: --> 00013 OK SEARCH completed Fri 2010-11-19 08:04:47: <-- 00014 UID SEARCH 1:* UNSEEN Fri 2010-11-19 08:04:47: --> * SEARCH Fri 2010-11-19 08:04:47: --> 00014 OK SEARCH completed Fri 2010-11-19 08:04:48: <-- 00015 IDLE Fri 2010-11-19 08:04:48: --> + idling Fri 2010-11-19 08:05:29: Socket connection closed by the other side Fri 2010-11-19 08:05:29: IMAP session terminated, (1811 bytes) Now, my IMAP logs taken from my mail server from another IMAP mail client, shows the EXPUNGE command given to one email (which I told it to do)...... partial logs below. Fri 2010-11-19 08:07:16: Accepting IMAP connection from [192.168.0.35:3622] to [192.168.0.5:993] Fri 2010-11-19 08:07:16: SSL negotiation successful (TLS 1.0, 1024 bit key exchange, 128 bit encryption) Fri 2010-11-19 08:07:16: --> * OK IMAP4rev1 ready Fri 2010-11-19 08:07:16: <-- A00001 CAPABILITY Fri 2010-11-19 08:07:16: --> * CAPABILITY IMAP4rev1 NAMESPACE AUTH=CRAM-MD5 AUTH=LOGIN AUTH=PLAIN IDLE ACL UNSELECT UIDPLUS Fri 2010-11-19 08:07:16: --> A00001 OK CAPABILITY completed Fri 2010-11-19 08:07:16: <-- a AUTHENTICATE CRAM-MD5 Fri 2010-11-19 08:07:16: --> + PE1EQUVNT04tRjIwMTAxMTE5MDgw5BQTA3MTYxNjZNRDAwMTJAbWFpbGNyb3NzaW5nLm5ldD4= Fri 2010-11-19 08:07:16: <-- R2FyeSA4MmVlZWJmNDFhYzdmYjJkYjBmM2Y2YjZkZTEzNDI3ZQ== Fri 2010-11-19 08:07:16: Authenticated as g...@xxxx.com Fri 2010-11-19 08:07:16: --> a OK AUTHENTICATE completed Fri 2010-11-19 08:07:16: <-- A00002 SELECT "Public Folders/Spam Trap" Fri 2010-11-19 08:07:16: --> * FLAGS (\Seen \Answered \Flagged \Deleted \Draft \Recent) Fri 2010-11-19 08:07:16: --> * 4 EXISTS Fri 2010-11-19 08:07:16: --> * 1 RECENT Fri 2010-11-19 08:07:16: --> * OK [UNSEEN 1] first unseen Fri 2010-11-19 08:07:16: --> * OK [UIDVALIDITY 1105893372] UIDs valid Fri 2010-11-19 08:07:16: --> * OK [UIDNEXT 10375] Predicted next UID Fri 2010-11-19 08:07:16: --> * OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Draft)] . Fri 2010-11-19 08:07:16: --> A00002 OK [READ-WRITE] SELECT completed Fri 2010-11-19 08:07:16: <-- A00003 SEARCH UNSEEN Fri 2010-11-19 08:07:16: --> * SEARCH 1 2 3 4 Fri 2010-11-19 08:07:16: --> A00003 OK SEARCH completed Fri 2010-11-19 08:07:16: <-- A00004 SEARCH DELETED Fri 2010-11-19 08:07:16: --> * SEARCH 1 Fri 2010-11-19 08:07:16: --> A00004 OK SEARCH completed Fri 2010-11-19 08:07:16: <-- A00005 MYRIGHTS "Public Folders/Spam Trap" Fri 2010-11-19 08:07:16: --> * MYRIGHTS "Public Folders/Spam Trap" lrwipcda Fri 2010-11-19 08:07:16: --> A00005 OK MYRIGHTS completed Fri 2010-11-19 08:07:16: <-- A00006 FETCH 1:4 (FLAGS RFC822.SIZE UID INTERNALDATE ENVELOPE BODYSTRUCTURE) Fri 2010-11-19 08:07:16: Sending FETCH response (not logged)... Fri 2010-11-19 08:07:16: --> A00006 OK FETCH completed Fri 2010-11-19 08:07:16: <-- A00007 FETCH 2 (BODY[2]) Fri 2010-11-19 08:07:16: Sending FETCH response (not logged)... Fri 2010-11-19 08:07:16: --> A00007 OK FETCH completed Fri 2010-11-19 08:07:23: <-- A00008 FETCH 4 (BODY[2]) Fri 2010-11-19 08:07:23: Sending FETCH response (not logged)... Fri 2010-11-19 08:07:23: --> A00008 OK FETCH completed Fri 2010-11-19 08:07:30: <-- A00009 EXPUNGE Fri 2010-11-19 08:07:30: Sending EXPUNGE response (not logged)... Fri 2010-11-19 08:07:30: --> A00009 OK EXPUNGE completed Fri 2010-11-19 08:07:32: <-- A00010 UNSELECT Fri 2010-11-19 08:07:32: --> A00010 OK UNSELECT completed Fri 2010-11-19 08:07:33: <-- A00011 LOGOUT Fri 2010-11-19 08:07:33: --> * BYE IMAP engine signing off (no errors) Fri 2010-11-19 08:07:33: --> A00011 OK LOGOUT completed Fri 2010-11-19 08:07:33: IMAP session complete, (98379 bytes) I hope this helps with your IMAP work. -- Gary ________________________________________________________ Current beta is 4.2.33.9 | 'Using TBBETA' information: http://www.silverstones.com/thebat/TBUDLInfo.html