Quantcast
Channel: Exchange Server 2013 - General Discussion forum
Viewing all articles
Browse latest Browse all 13303

IMAP not reflect "EXPUNGE" when I delete message

$
0
0

Hello all,

I connect to Exhange 2013 server(using IMAP) from my application and use IDLE command for polling the server for changes to the mailbox. Server sends:
1. EXISTS, RECENT when I receive new message
2. FETCH (FLAGS (\Seen \Recent)) when mark message as read
But I do not receive EXPUNGE when I delete message from mailbox.

The simplest scenario for reproducing is:

1. in terminal(command line) enter command 'telnet xxx.xxx.xxx.xxx 143', where xxx.xxx.xxx.xxx is IP address of email server, 143 - IMAP port
2. enter command '? login <login> <password>'
3. enter command 'SELECT INBOX'
4. enter command '? IDLE'
5. send message to <login> from another account and check command line: you will see EXISTS and RECENT
6. read message and check command line: you will see FETCH <FLAGS <\Seen \Recent>>
7. Delete message  and check command line: you will see EXPUNGE

My problem is: Exchange 2013 does not send EXPUNGE  when I delete message.
According to RFC "The IDLE command is sent from the client to the server when the client is ready to accept unsolicited mailbox update messages.  The server requests a response to the IDLE command using the continuation ("+") response.  The IDLE command remains active until the client responds to the continuation, and as long as an IDLE command is active, the server is now free to send untagged EXISTS, EXPUNGE, and other messages at any time."

I tested on an on-premises Exchange 2013 server, with exactly the steps, and found there is no EXPURGE sent to the client. 

Mark an email as read can send FETCH command to the telnet client, but deleting does not send anything.

I also work with Office365 command and we think that it is the Exchange 2013 problem. On Exchange 2010 all work fine and server sends EXPUNGE command. Link to Office365 thread - http://community.office365.com/en-us/forums/158/p/186592/547553.aspx?wa=wsignin1.0

Thanks,

Lyubov


Viewing all articles
Browse latest Browse all 13303

Trending Articles