Workaround iCloud IMAP Bug (add CAPABILITY request post-login)

2021-07-17 Thread Sabahattin Gucukoglu via isync-devel
God knows why, but iCloud IMAP (imaps://imap.mail.me.com:993) bodges responses (even lines within literals) so that every occurrence of CAPABILITY is immediately followed by XAPPLEPUSHSERVICE, and STARTTLS preceded by a space character is discarded. I can only assume it’s some side-effect of try

Re: Workaround iCloud IMAP Bug (add CAPABILITY request post-login)

2021-07-22 Thread Sabahattin Gucukoglu via isync-devel
On 18 Jul 2021, at 00:03, Oswald Buddenhagen wrote: > On Sat, Jul 17, 2021 at 09:56:55PM +0100, Sabahattin Gucukoglu via > isync-devel wrote: >> Anyway the problem goes away and literal payloads all have the right sizes, >> and sync completes successfully, if I write a lit

Re: Workaround iCloud IMAP Bug (add CAPABILITY request post-login)

2021-07-24 Thread Sabahattin Gucukoglu via isync-devel
On 22 Jul 2021, at 21:55, Oswald Buddenhagen wrote: > On Thu, Jul 22, 2021 at 08:20:04PM +0100, Sabahattin Gucukoglu via > isync-devel wrote: >> Without the workaround script below, CAPABILITY is never issued by mbsync, >> therefore the bodging is still in effect and I

isync as substitute for imapsync was Supporting the project financially

2021-12-13 Thread Sabahattin Gucukoglu via isync-devel
Not that I would wish to prejudice the author(s) of imapsync, another paid tool for IMAP migration, but what would it take for mbsync, whose interface and configuration I much prefer, to be usable for one-way syncs in the fashion of imapsync? And, yes, I’ll pay for it. As patron, not as customer

Re: isync as substitute for imapsync was Supporting the project financially

2021-12-13 Thread Sabahattin Gucukoglu via isync-devel
On 13 Dec 2021, at 17:49, Oswald Buddenhagen wrote: > On Mon, Dec 13, 2021 at 02:26:13PM +0000, Sabahattin Gucukoglu via > isync-devel wrote: >> Not that I would wish to prejudice the author(s) of imapsync, another paid >> tool for IMAP migration, but what would it take

Re: isync as substitute for imapsync was Supporting the project financially

2021-12-13 Thread Sabahattin Gucukoglu via isync-devel
On 13 Dec 2021, at 18:27, Simão Afonso wrote: > On 2021-12-13 18:21:51, Sabahattin Gucukoglu via isync-devel wrote: >> One-way (possibly stateless) sync, with optional deletion of messages from >> the source, with optional removal of empty folders. I am aware that this can &g

Re: [Feature request/hacking hand-holding] built-in repeated polling?

2022-01-21 Thread Sabahattin Gucukoglu via isync-devel
On 19 Jan 2022, at 13:00, Oswald Buddenhagen wrote: > On Wed, Jan 19, 2022 at 11:20:10AM +, Simão Afonso wrote: >> Since this is coming up, I would like this "daemon mode" to use IDLE to >> subscribe to the Inbox mailboxes, and run the equivalent of `mbsync >> ACCOUNT` when new messages come u

Re: Workaround iCloud IMAP Bug (add CAPABILITY request post-login)

2022-05-19 Thread Sabahattin Gucukoglu via isync-devel
Apologies for sluggishness. On 17 May 2022, at 09:56, Oswald Buddenhagen wrote: > does the weirdness persist? Yes. Sending a single CAPABILITY request immediately after login to iCloud IMAP is all that’s required to make their proxy transparent again. Cheers, Sabahattin

Re: Workaround iCloud IMAP Bug (add CAPABILITY request post-login)

2022-07-05 Thread Sabahattin Gucukoglu via isync-devel
On 20 May 2022, at 13:16, Oswald Buddenhagen wrote: > On Thu, May 19, 2022 at 11:16:45PM +0100, Sabahattin Gucukoglu wrote: >> On 17 May 2022, at 09:56, Oswald Buddenhagen >> wrote: >>> does the weirdness persist? >> >> Yes. Sending a single CAPABILITY request immediately after login to iCloud

Re: Workaround iCloud IMAP Bug (add CAPABILITY request post-login)

2022-07-13 Thread Sabahattin Gucukoglu via isync-devel
On 5 Jul 2022, at 12:51, Oswald Buddenhagen wrote: > On Tue, Jul 05, 2022 at 12:21:19PM +0100, Sabahattin Gucukoglu wrote: >> Sadly the banner of imap.mail.me.com:993 changed. > > damn. mind posting the current -Dn output of the auth sequence? sgucukoglu@Onyx:~$ mbsync -DN -a -l Reading configur

Re: Workaround iCloud IMAP Bug (add CAPABILITY request post-login)

2022-07-13 Thread Sabahattin Gucukoglu via isync-devel
On 13 Jul 2022, at 21:13, Oswald Buddenhagen wrote: > On Wed, Jul 13, 2022 at 08:27:36PM +0100, Sabahattin Gucukoglu wrote: >> * OK [CAPABILITY XAPPLEPUSHSERVICE IMAP4 IMAP4rev1 SASL-IR AUTH=ATOKEN >> AUTH=PLAIN] (2218B35-28881d7dd77f) ms11p00im-qufv17101001.me.com >> Logging in... >> Authenticat

IMAP Timeouts During Local Operations—Correct Behaviour?

2024-12-03 Thread Sabahattin Gucukoglu via isync-devel
Hi. I’m trying to stuff a new maildir folder containing 1m+ messages (gatewayed from news) onto my IMAP server. Notwithstanding the usual *slowness* of that server (Apple IMAP, so maybe not the best choice), it’s usual for a timeout of 30 seconds to work in normal operation, getting neatly arou

Re: IMAP Timeouts During Local Operations—Correct Behaviour?

2024-12-05 Thread Sabahattin Gucukoglu via isync-devel
On 4 Dec 2024, at 09:31, Oswald Buddenhagen via isync-devel wrote: > On Tue, Dec 03, 2024 at 04:12:09PM +0000, Sabahattin Gucukoglu via > isync-devel wrote: >> So my question is this: is it expected behaviour that timeouts occur >> because of long local operations, >> &