Copy Message to Junk folder, but leaves original in Inbox
Brought to you by:
vondo
Using IMAPAssassin with a Exchange 2000 server.
New messages are tagged as Spam and moved to the
Junk Folder. However, the original messages is not
removed from the inbox, only marked as read.
It would be nice if it would delete the orginal after the
move.
Logged In: YES
user_id=325843
The reason it is unable to delete the original message is
because the IMAP protocol doesn't delete the messages from
the server immediately, rather it marks the message to be
deleted.
In order to actually delete the message, you can add the
following line to the end of the main while(1) loop.
$IMAP -> expunge;