Gmail → Maildir on Windows?

2014-01-29 Thread Felix E. Klee
I am looking for a Windows tool that can be used to create daily backups of a Gmail account to Maildir format. I am basically looking for a one-way sync, Gmail → Maildir. When a new dail backup is made, then: * New messages should be downloaded. * Messages that were deleted on the server shou

Re: Gmail → Maildir on Windows?

2014-01-29 Thread Felix E. Klee
On Wed, Jan 29, 2014 at 10:59 AM, Oswald Buddenhagen wrote: > it certainly won't work with maildir, because the windows file system > limitations make it impossible to implement maildir as specified. i > would suggest you set up a local IMAP server that uses a mailbox > format compatible with wind

Re: Gmail → Maildir on Windows?

2014-01-29 Thread Felix E. Klee
On Wed, Jan 29, 2014 at 12:50 PM, Oswald Buddenhagen wrote: > in this case i'd really suggest just using fetchmail, possibly in > combination with procmail and/or some custom MDA script. I doubt that fetchmail can sync, i.e. locally remove messages that were deleted on the server. --

Re: Gmail → Maildir on Windows?

2014-01-29 Thread Felix E. Klee
On Wed, Jan 29, 2014 at 1:11 PM, Oswald Buddenhagen wrote: > the thing is, the "mail program" you describe is ... an imap server. > if there isn't one that uses a mailbox format you can use, you could > find one that comes closest to your needs and hack the mailbox driver > (probably maildir). Ri

Re: Gmail → Maildir on Windows?

2014-01-29 Thread Felix E. Klee
On Wed, Jan 29, 2014 at 4:35 PM, Oswald Buddenhagen wrote: > did you even read http://isync.sourceforge.net/mbsync.html ? I don't understand why you ask this. If there's a misunderstanding, please let me know. As I wrote in my original message, I want to sync messages *from* an IMAP server (Gmai

Re: Gmail → Maildir on Windows?

2014-01-29 Thread Felix E. Klee
On Wed, Jan 29, 2014 at 4:57 PM, Oswald Buddenhagen wrote: > i'll ask differently then: what makes you think mbsync could not sync > imap <> imap? True, I didn't think about using "mbsync" for IMAP to IMAP. However, in case I would chose a solution with an IMAP server, "imapsync" would probably s

Syncs from Gmail fail with EOF

2014-04-22 Thread Felix E. Klee
I don’t manage to get a full sync from Gmail with isync 1.1.0: $ mbsync gmail Reading configuration file /home/ec2-user/.mbsyncrc Channel gmail Opening master gmail-imap... Resolving imap.gmail.com... ok Connecting to imap.gmail.com (173.194.66.108:993)... Opening slave

How to avoid colons in file names?

2014-04-22 Thread Felix E. Klee
I set up mbsync on a Linux system. The Maildir store would be synced to Windows. However, Windows doesn’t like colons in file names. So I tried enabling *alternative scheme*, hoping that this would lead to simpler file names. However, file names still contain colons: $ ls -1 sync_test/INBOX/c

Re: Syncs from Gmail fail with EOF

2014-04-22 Thread Felix E. Klee
On Tue, Apr 22, 2014 at 11:29 PM, Ram Raghunathan wrote: > Are you sure that you are not hitting Google's IMAP bandwidth limits? > https://support.google.com/a/answer/1071518?hl=en This could very well be the explanation. I have been doing experiments, repeating the initial sync over and over aga

Re: How to avoid colons in file names?

2014-04-23 Thread Felix E. Klee
On Wed, Apr 23, 2014 at 9:10 AM, Oswald Buddenhagen wrote: > the home page states right away that windows is not supported because > of file system limitations. Granted I missed that because I was primarily looking at the `mbsync` man page. Could you imagine having an `mbsync` option for changing

Re: How to avoid colons in file names?

2014-04-23 Thread Felix E. Klee
On Wed, Apr 23, 2014 at 10:06 AM, Felix E. Klee wrote: > The workaround would be to loop-mount a disk image, and to sync > to that. I’ve set up this solution now with an Ext2 disk image, but I haven’t yet tried mounting the image on W

Follow-up: How to avoid colons in file names?

2014-06-29 Thread Felix E. Klee
On April 22nd 2014, I opened a thread [“How to avoid colons in file names?”][1]. Using a Linux system, I was mbsync’ing to a directory tree that in turn is synced to Dropbox. However, mail files didn’t download from Dropbox to a Windows system. The problem is that file names in Maildir format conta

IMAP error: authentication mechanism OAUTHBEARER is not supported

2015-10-09 Thread Felix E. Klee
Just upgraded to isync 1.2.0, and I adjusted my configuration file – see below. Now, `/usr/local/bin/mbsync -V gmail` gives an error message: Reading configuration file /home/ec2-user/.mbsyncrc C: 0/1 B: 0/1 M: +0/0 *0/0 #0/0 S: +0/0 *0/0 #0/0 Channel gmail Opening master store

Re: IMAP error: authentication mechanism OAUTHBEARER is not supported

2015-10-10 Thread Felix E. Klee
On Fri, Oct 9, 2015 at 3:11 PM, Oswald Buddenhagen wrote: > add "AuthMech LOGIN" to your IMAPAccount config. Thanks, that did the trick! -- ___ isync-devel mailing list isync-d

Error: channel gmail: master [Gmail]/All Mail cannot be opened.

2016-11-14 Thread Felix E. Klee
Since a few days, I get the above error message. My `~/.mbsyncrc` you find below, slightly anonymized. Upgrading from isync 1.2.0 to 1.2.1 did not help. What could be the issue? IMAPAccount gmail Host imap.gmail.com User fe...@example.com PassCmd "/bin/cat /secret/gmail_password"

Re: Error: channel gmail: master [Gmail]/All Mail cannot be opened.

2016-11-15 Thread Felix E. Klee
2016-11-15 9:32 GMT+01:00 Oswald Buddenhagen : > try adding -Dmn to the command line, maybe that will reveal enough. Seems that Google removed an Imap folder: $ /usr/local/bin/mbsync -VDmn gmail Reading configuration file /home/ec2-user/.mbsyncrc Channel gmail Opening master store

Re: Error: channel gmail: master [Gmail]/All Mail cannot be opened.

2016-11-15 Thread Felix E. Klee
OK, the fix was simple: Change display language in Gmail settings from German to English. The display language also affects the names of the IMAP folders. -- ___ isync-devel mail

Re: Message loss in Gmail

2023-06-08 Thread Felix E. Klee
And the log, as a separate message due to size. log Description: Binary data ___ isync-devel mailing list isync-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/isync-devel

Message loss in Gmail

2023-06-08 Thread Felix E. Klee
]: mbsync.service: Failed with result 'exit-code'. Jun 07 22:19:38 felix-arch systemd[635]: Failed to start Mailbox synchronization service. #!/bin/sh # Felix E. Klee SCRIPT_DIR=$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" &> /dev/null && pwd) cd "$SCRI

Re: Message loss in Gmail

2023-06-08 Thread Felix E. Klee
On Thu, Jun 8, 2023 at 1:16 PM Oswald Buddenhagen wrote: > so a message that initially got synced disappeared later? > from the server? It wasn’t on the server. But now it reappeared in Trash, which was empty when I checked before. > esp. as you're only pulling, and expunging only the near side.