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=721345
The problem is that the script fails to do an Expunge.
To work around this, insert the following line into the script:
$IMAP->expunge();
right before $IMAP->disconnect();
However, doing the above will issue a "delete" even though no
messages may have been detected. This could potentially be
expensive.
Email me if you'd like to know how I worked around that.