On Tue, May 05, 2026 at 06:14:07PM +1000, Seth McDonald wrote:
Okay, so would it be correct to say that each fake box is expected to
be individually created and deleted?
yes
If so, then that's partly the problem here. The is_fake logic appears
to expect the fake mailbox to be selected, created, opened, examined,
and deleted, in that order
the three possible execution chains are
- select, open, examine
- select, open (fail), create, open, examine
- select, open, delete
the faking logic is supposed to be able to deal with that.
And this opening logic includes creating the mailbox
if it doesn't exist, thereby skipping the proxy's creation logic and
messing with the is_fake logic.
whoopsie, this is actually true ... for INBOX, which is magically always
there (the IMAP spec says so, and we want consistent behavior across
mailbox formats).
so clearly, the maildir_validate() call in maildir_open_box() needs to
take DRYRUN into account, and maybe some more.
_______________________________________________
isync-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/isync-devel