My apologies, I've totally forgot about the subject.

My config is...

```
IMAPAccount x...@gmx.com
Host imap.gmx.com
User x...@gmx.com
Pass xxx

IMAPStore x...@gmx.com-remote
Account x...@gmx.com

MaildirStore x...@gmx.com-local
Path ~/Mail/x...@gmx.com/
Inbox ~/Mail/x...@gmx.com/INBOX
Subfolders Verbatim

Channel x...@gmx.com
Far :x...@gmx.com-remote:
Near :x...@gmx.com-local:
Expunge Both
Create Near
SyncState *
Patterns *

Group all
Channel x...@gmx.com
```

I move the file with a following bash function.

function safeMove { s=${1##*/}; s=${s%%,*}; mv -f $1 $2/$s; }

For example, it should move like this.

~/Mail/x...@gmx.com/INBOX/cur/1750696320.159179_1.shuttle-fedora,U=1:2,S
~/Mail/x...@gmx.com/Spam/cur/1750696320.159179_1.shuttle-fedora

Then I run...

mbsync all
notmuch new

Then on the remote(web interface from the provider) the mail is moved to
spam folder successfully but it's unread. Running mbsync and notmuch new
again does not detect any change while the message is read locally on notmuch.


Regards,
Koh


Oswald Buddenhagen via isync-devel <isync-devel@lists.sourceforge.net>
writes:

> On Sun, Jun 29, 2025 at 11:39:13PM +0200, kohnish--- via isync-devel wrote:
>>Is there a way to send SEEN command when a mail is moved to another 
>>folder?
>>
> there is no such command.
> however, isync synchronizes the \Seen flag by default, so things should 
> just work.
> presumably, something is wrong with your setup. please post your config 
> file.
>
> ps: always use a meaningful subject, and don't put the list in bcc. it's 
> pure luck that i didn't just delete your mail from the spam folder.
>
>
> _______________________________________________
> isync-devel mailing list
> isync-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/isync-devel


_______________________________________________
isync-devel mailing list
isync-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/isync-devel

Reply via email to