IMAP move to /Junk ...
 
Notifications
Clear all

IMAP move to /Junk does not generate SpamReport or trigger Bayes training

1 Posts
1 Users
0 Reactions
26 Views
(@sixtus81)
New Member
Joined: 2 years ago
Posts: 4
Topic starter  

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.


   
Quote