Sent messages that are stored in an IMAP folder with 'Send copy to self' remain marked as 'Unread'

Delta Chat version
1.12.5 Android

Expected behavior
When I have ‘Send copy to self’ enabled, messages from me should be automatically marked as ‘Read’ in the IMAP folder, just like incoming read messages are.

Actual behavior
I see incoming messages get set to read in IMAP as expected, but any messages from me end up in the IMAP folder marked as unread. This makes regular e-mail handling more cluttered - I have a mix of ‘normal’ mail and Delta messages in the same account, albeit in different folders.

Steps to reproduce the problem

  • With all of the ‘Watch … folder’ settings, ‘Send copy to self’ and ‘Automatic moves …’ enabled
  • Send a message to a non-Delta recipient
  • Note that it stays permanently unread in the DeltaChat IMAP folder <-- the bug
  • Non-Delta recipient replies
  • Reply shows up in Delta, and in the DeltaChat IMAP folder, getting quickly marked as read
  • Reply to that reply from within Delta. The reply shows up in DeltaChat IMAP folder, but again stays permanently unread.

Debug logs
As with the previous topic, can be provided if it’s a non-obvious problem unique to my environment.

Regards,
Richard

1 Like

Opened an issue: https://github.com/deltachat/deltachat-core-rust/issues/1979

@link2xt - I believe I’m on a version of the Android app containing a version of core with this fixed, but I can still observe the problem. Android app 1.14.5 - does that sound like that should contain the fix?

I send a message, it gets Bcc-ed to my e-mail account, server-side rules put it into the ‘DeltaChat’ folder, but when I view the folder later the outbound message is still marked as New. Relevant settings are:

  • Watch Inbox folder - no
  • Watch Sent folder - yes (although I don’t use this folder)
  • Watch DeltaChat folder - yes
  • Send copy to self - yes
  • Automatic moves to DeltaChat folder - no

Same problem here. A server side rule puts DeltaChat messages to the DeltaChat folder. Copy to self is not marked as read.

Settings:

  • Watch Inbox folder - yes
  • Watch Sent folder - no
  • Watch DeltaChat folder - yes
  • Send copy to self - yes
  • Automatic moves to DeltaChat folder - yes

Why have you enabled “Automatic moves to DeltaChat folder” when a respective server-sided rule is active? What happens after you disable this function?

Because server-side rules do not apply to messages, that are sent by non DeltChat clients.

EDIT: Tried to disable it on my both clients in multi-client setup and it does not fix the problem.

Let me get this right:

  • You disabled “Automatic moves to DeltaChat folder”.
  • You set a server-sided rule to automatically move messages sent from a Delta Chat app to the DeltaChat folder. (Mails sent from other apps remain in the INBOX folder.)

According to the rule, self-sent messages are moved automatically to the DeltaChat folder anyway, which might be the reason why Delta Chat does not mark them as read (sometimes).

The next version of Delta Chat regularly scans common mailbox folders as well as the DeltaChat folder. Maybe your issue will be solved with the next release.

Hi,

it apparantly does not matter if "Automatic moves to DeltaChat folder” is enabled or disabled.

  • the server side rule automatically moves all messages to the DeltaChat folder, that have a Chat-Version header. This applies to all messages, that are sent by a Delta Chat client. Regardless if it is a regular message by another user or a copy to self message
  • regular messages by other users appear to be correctly marked as read by Delta Chat
  • the copy to self messages are not marked as read by Delta Chat