Move to junk folder infinite loop
Context: I have an imap account with
- a virtual folder
virtual/all
containing all emails; - a real folder
Junk
with the\Junk
IMAP flag.
I have unchecked all spam related functionality:
By default, Move spam to real folder "Junk"
is checked.
Assume that the Junk
folder is non-empty.
When evolution starts up, it also finds the content of Junk
in virtual/all
, and these messages are marked as junk by the server because it belongs to a folder (Junk
) with the \Junk
imap special flag.
Evolution then attempts to move these messages to Junk
. But since this is a virtual folder, the messages already are there and evlution thus creates a new copy of the message.
End-result: Evolution creates a duplicate of every message in the Junk
folder.
Now restart Evolution: it does it again.
This is an infinite loop.
A workaround is to uncheck Move spam to real folder "Junk"
.
I would expect Evolution
- not to move spam messages without user interaction, as I have unchecked all spam related functionality
- not to move a message to a folder where it is already present