Environment:
- Carbonio CE 26.6.0
- Outlook 365 (Microsoft Outlook 16.x)
- IMAP
Problem:
Moving messages from Inbox to the system Junk folder via IMAP does not generate a SpamReport and therefore does not trigger Bayes training.
Reproduction:
1. Receive a normal message.
2. Move the message from Inbox to Junk using Outlook (IMAP).
3. Check mailbox.log.
Observed:
mailop - Adding Message: folderName=Junk
imap - UID STORE
imap - UID EXPUNGE
No
Sent SpamReport{...}
is generated.
The same operation performed in the Carbonio Web Client immediately produces
Sent SpamReport{isSpam=true}
and zmtrainsa successfully learns the message.
Expected:
Moving a message via IMAP into the system Junk folder should invoke the same Junk-NotJunk handler as the Web Client so that Outlook, Thunderbird, Apple Mail and other IMAP clients automatically participate in Bayes training.
