Hi Oswald,

thanks for answering and your comments.

> the first client-side message has no U= infix, which suggests that it's not
> from mbsync - or that something messed up the file name afterwards, which
> might explain ... something ... i guess. but both files are apparently from
> the same process. very mysterious, indeed.

Ok, I think I slowly get an idea what is going on.

Let me start with (parts of) my configuration, only the relevant
account (I sync 4 accounts):

***
Expunge None
Create Both
Remove Both

MaildirStore preining-local
Path ~/Maildir/Preining/
SubFolders Verbatim
Trash Trash

IMAPStore preining-remote
Host preining.info
User norbert
PassCmd "...."
SSLType IMAPS

Channel preining-INBOX
Far :preining-remote:INBOX
# rename INBOX to preining since I sync several accounts, and
# then all would show up in mutt sidebar as INBOX
Near :preining-local:preining
SyncState *
Expunge Both

Channel preining-REST
Far :preining-remote:
Near :preining-local:
Pattern *
Pattern !INBOX
Pattern !preining
SyncState *
Expunge Both

Group inboxes
Channels logic-INBOX

***************


It seems the problem is that:
* all is in sync
* I move a message from INBOX to Trash via a different client (mobile)
* then I sync only INBOX using mbsync
* mbsync moves the disappearing message to trash which is defined as
  "Trash" which is linked to the Trash on the imap server
* at some point I run mbsync on the Trash folder and get the copy that
  was moved by Android into it.

I can see this because the mssage without the
        U=NNNNNNNN
part in the filename, like
        1627618004.158330_1.bulldog:2,T
appears only after I have deleted a message on the server, and then
syncronize the INBOX only.

Now my questions are:
* Is my above idea correct? And if yes, ...
* should I simply remove the "Trash Trash" configuration?
  (what I want is that emails that disappear are simply
  removed, no need to keep them somewhere as backup)
* Does it have any connection to the Expunge setting?

Thanks

Norbert

--
PREINING Norbert                              https://www.preining.info
Fujitsu Research  +  IFMGA Guide  +  TU Wien  +  TeX Live  + Debian Dev
GPG: 0x860CDC13   fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13


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

Reply via email to