Re: gmail times out

2023-08-01 Thread Oswald Buddenhagen
d you search the list archive? such gmail problems pop up from time to time. what isync version are you using? did you try git master? did you try actually increasing the timeout? the -Dn log output would only help if piped through `ts` or watched in real-time. strace/tcpdump/wireshark would l

gmail times out

2023-08-01 Thread Pier via isync-devel
just get a tcpdump and see if it's the gmail server which forces the disconnection? Thanks, Pier ___ isync-devel mailing list isync-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/isync-devel

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.

Re: Message loss in Gmail

2023-06-08 Thread Oswald Buddenhagen
On Thu, Jun 08, 2023 at 11:47:18AM +0200, Felix E. Klee wrote: I noted that I lost a message I received yesterday. It is neither in Trash nor in Spam. so a message that initially got synced disappeared later? from the server? Now I wonder: Could `mbsync` be to blame? that would be surprisin

Message loss in Gmail

2023-06-08 Thread Felix E. Klee
restart: mbsync -V -c mbsyncrc gmail Find my configuration attached. In yesterday’s log, I have a bunch of sections such as: Jun 07 22:19:02 felix-arch systemd[635]: Starting Mailbox synchronization service... Jun 07 22:19:02 felix-arch bash[303484]: Reading configuration file mbsyncrc Jun 07 22

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

Re: isync / openssl3 / gmail

2022-11-07 Thread Norbert Preining
Hi Oswald, > cherry-picking b6c36624 from master should do. Thanks a lot, confirmed that this works. All the best Norbert -- PREINING Norbert https://www.preining.info Mercari Inc. + IFMGA Guide + TU Wien + TeX Live GPG: 0x860CDC13 fp: F7D

Re: isync / openssl3 / gmail

2022-11-07 Thread Oswald Buddenhagen
On Mon, Nov 07, 2022 at 08:10:39PM +0900, Norbert Preining wrote: I am running Arch, and they switched to OpenSSL3. This ended with a non-working GMail sync because openssl gave an error error:14095126:SSL routines:ssl3_read_n:unexpected eof while reading cherry-picking b6c36624 from

isync / openssl3 / gmail

2022-11-07 Thread Norbert Preining
Hi all, I am running Arch, and they switched to OpenSSL3. This ended with a non-working GMail sync because openssl gave an error error:14095126:SSL routines:ssl3_read_n:unexpected eof while reading See also this comment https://github.com/openssl/openssl/issues/11381#issuecomment

Re: How to backup Fastmail and Gmail with isync

2022-05-30 Thread Sean Hammond
On Mon, 16 May 2022, at 4:26 PM, Oswald Buddenhagen wrote: > On Sun, May 15, 2022 at 08:00:26PM +0100, Sean Hammond wrote: >>It's a bit of a pain for automated backups that isync sometimes exits >>mid-way through syncing. >> > that, with the progress numbers you showed before, sounds like you're

Re: How to backup Fastmail and Gmail with isync

2022-05-16 Thread Oswald Buddenhagen
On Sun, May 15, 2022 at 08:00:26PM +0100, Sean Hammond wrote: It's a bit of a pain for automated backups that isync sometimes exits mid-way through syncing. that, with the progress numbers you showed before, sounds like you're syncing from scratch for each backup. why would you do that? I'd

Re: How to backup Fastmail and Gmail with isync

2022-05-15 Thread Sean Hammond
gt;> > ok, that's within expectations. such huge mailboxes always cause > trouble, because gmail has resource limits. Good to know. It's a bit of a pain for automated backups that isync sometimes exits mid-way through syncing. I'd have to write a loop to keep running isync

Re: How to backup Fastmail and Gmail with isync

2022-05-15 Thread Oswald Buddenhagen
On Sun, May 15, 2022 at 12:30:20PM +0100, Sean Hammond wrote: Not segfaults, no. isync just exits with a non-zero exit status and without having synced all the mailboxes and messages. For example: [...] ok, that's within expectations. such huge mailboxes always cause trouble, because

Re: How to backup Fastmail and Gmail with isync

2022-05-15 Thread Sean Hammond
On Sun, 15 May 2022, at 12:11 PM, Oswald Buddenhagen wrote: > On Sun, May 15, 2022 at 11:55:43AM +0100, Sean Hammond wrote: >>With Gmail I still get a variety of errors and warnings some of which >>cause isync to crash, [...] >> > do you mean actual crashes, like segfault

Re: How to backup Fastmail and Gmail with isync

2022-05-15 Thread Oswald Buddenhagen
On Sun, May 15, 2022 at 11:55:43AM +0100, Sean Hammond wrote: With Gmail I still get a variety of errors and warnings some of which cause isync to crash, [...] do you mean actual crashes, like segfaults? in this case i'd like to know details. if you feel like it, you can try the wip/m

Re: How to backup Fastmail and Gmail with isync

2022-05-15 Thread Sean Hammond
is (the >counting simply got a bit better). I've (finally) upgraded to isync 1.4 and updated the post (https://www.seanh.cc/2021/08/22/backup-fastmail-and-gmail-with-isync/) with the new "near" and "far" nomenclature. Also added `Timeout 60` to my Gmail IMAPAc

Re: mbsync slow gmail All Email folder with +100K emails

2022-04-19 Thread Martin Clausen
fficiently to make it both reliable and convenient when working > >> with multiple clients. > > but note that gmail doesn't support QRESYNC anyway. it supports > CONDSTORE, for which i also have an TODO item, but that won't help you > anytime soon. > > so practica

Re: mbsync slow gmail All Email folder with +100K emails

2022-04-19 Thread Oswald Buddenhagen
as a workaround, you can do partial syncs, though it may be challenging to automate that sufficiently to make it both reliable and convenient when working with multiple clients. but note that gmail doesn't support QRESYNC anyway. it supports CONDSTORE, for which i also have an TODO item,

Re: mbsync slow gmail All Email folder with +100K emails

2022-04-19 Thread Oswald Buddenhagen
On Mon, Apr 18, 2022 at 11:34:59AM +0200, Martin Clausen wrote: OK. I captured the output of mbsync -D gamil | ts "%H:%M:%.S". It is approx 35 mb. it should compress well. mail it to me privately. ___ isync-devel mailing list isync-devel@lists.sour

Re: mbsync slow gmail All Email folder with +100K emails

2022-04-18 Thread Martin Clausen
OK. I captured the output of mbsync -D gamil | ts "%H:%M:%.S". It is approx 35 mb. I don't have much experience with analysing this kind of issue. What should I look for. Looks to me like the time is spent on a gigantic number of the 4 operations I listed all for the All Mail folder. On Mon, Apr

Re: mbsync slow gmail All Email folder with +100K emails

2022-04-18 Thread Oswald Buddenhagen
On Mon, Apr 18, 2022 at 10:34:29AM +0200, Martin Clausen wrote: Looking at the output from mbsync --debug there is not a lot of network traffic, [...] So it appears that the slowness is local. that's weird, as mbsync is generally network-bound. Any idea how I can speed things up? not withou

mbsync slow gmail All Email folder with +100K emails

2022-04-18 Thread Martin Clausen
I am using mbsync (isync 1.4.4) on Ubuntu to sync Gmail imap to my local machine. The Gmail All Mail folder has +100K emails and takes a very long time to sync. Looking at the output from mbsync --debug there is not a lot of network traffic, but it appears that for EVERY email in the All Mail

Re: gmail-trash master cannot be opened

2022-02-20 Thread David Denton
Oswald Buddenhagen writes: just play along and adjust the name of the remote box in your config. optionally, you can also adjust the local name and rename the maildir. Renaming the remote box resolved the issue. On Sat, Feb 19, 2022 at 06:06:05PM -0500, David Denton wrote: Things have go

Re: gmail-trash master cannot be opened

2022-02-20 Thread Oswald Buddenhagen
On Sat, Feb 19, 2022 at 05:54:15PM -0500, David Denton wrote: This issue started after my deleting emails from my phone using the Android gmail app, going to "Bin" on the app and then clicking on "Empty Bin now". apparently, the app thought it would be a good ide

Re: gmail-trash master cannot be opened

2022-02-19 Thread David Denton
Things have gotten a little more confused since, forgetting that I had added the gmail-fake channel, I pressed u to update mu with mu4e. When I finally figured out how to kill the mu4e process, a lot of messages had been synced to the fake channel. No knowing what else to do, I removed the

Re: gmail-trash master cannot be opened

2022-02-19 Thread David Denton
Oswald Buddenhagen writes: so we have this ... On Sat, Feb 19, 2022 at 03:23:06PM -0500, David Denton wrote: M: * LIST (\HasChildren \Trash) "/" "[Gmail]/Trash" ... which clearly doesn't fit this: Channel gmail-trash Master :gmail-remote:"[Gmail]/Bin"

Re: gmail-trash master cannot be opened

2022-02-19 Thread Oswald Buddenhagen
so we have this ... On Sat, Feb 19, 2022 at 03:23:06PM -0500, David Denton wrote: M: * LIST (\HasChildren \Trash) "/" "[Gmail]/Trash" ... which clearly doesn't fit this: Channel gmail-trash Master :gmail-remote

Re: gmail-trash master cannot be opened

2022-02-19 Thread David Denton
Sorry, hope that this does it: Reading configuration file /home/david/.mbsyncrc Channel gmail-fake Opening master store gmail-remote... M: [ 1] Enter connect_store Resolving imap.gmail.com... ok Connecting to imap.gmail.com (172.253.122.109:993)... M: [ 1] Leave connect_store Opening slave store

Re: gmail-trash master cannot be opened

2022-02-18 Thread Oswald Buddenhagen
On Fri, Feb 18, 2022 at 03:15:42PM -0500, David Denton wrote: Here is the result with the new channel: you need to actually use it in the command invocation ... ___ isync-devel mailing list isync-devel@lists.sourceforge.net https://lists.sourceforge

Re: gmail-trash master cannot be opened

2022-02-18 Thread David Denton
Here is the result with the new channel: Reading configuration file /home/david/.mbsyncrc Channel gmail-trash Opening master store gmail-remote... M: [ 1] Enter connect_store Resolving imap.gmail.com... ok Connecting to imap.gmail.com (172.253.63.109:993)... M: [ 1] Leave connect_store Opening

Re: gmail-trash master cannot be opened

2022-02-18 Thread Oswald Buddenhagen
On Fri, Feb 18, 2022 at 11:07:41AM -0500, David Denton wrote: The output from mbsync -D -l gmail-trash is attached. ok, that was of course a stupid request from me, as the output was predictable. instead, create a channel like this: Channel gmail-fake Master :gmail-remote: Slave :gmail

Re: gmail-trash master cannot be opened

2022-02-18 Thread David Denton
Please find my config, below. The output from mbsync -D -l gmail-trash is attached. Thank you. David # mbsyncrc based on # http://www.ict4g.net/adolfo/notes/2014/12/27/EmacsIMAP.html # ACCOUNT INFORMATION IMAPAccount gmail # Address to connect to Host imap.gmail.com User my_email_addr

Re: gmail-trash master cannot be opened

2022-02-18 Thread Oswald Buddenhagen
On Fri, Feb 18, 2022 at 07:17:40AM -0500, David Denton wrote: Error: channel gmail-trash: master [Gmail]/Bin cannot be opened. This problem arrived suddenly, for no apparent reason, after my present set-up had been working well for a couple of months. well, obviously, *something* must have

gmail-trash master cannot be opened

2022-02-18 Thread David Denton
Hello, I am getting the following error message with mbsync -a: Error: channel gmail-trash: master [Gmail]/Bin cannot be opened. I have had this for several days, and mail marked for deletion in mu4e is accumulating. This problem arrived suddenly, for no apparent reason, after my present set

Re: Losing track of messages / socket error - timeout with gmail

2021-12-19 Thread Oswald Buddenhagen
On Sun, Dec 19, 2021 at 09:32:03AM -0500, David Denton wrote: Can issues with lost messages be cause by deleting messages on another device connected to the gmail account? Or from the same computer using another email program such as Thunderbird? Is best practice to only flag messages from

Re: Losing track of messages / socket error - timeout with gmail

2021-12-19 Thread David Denton
As a result of a major system problem, I was obliged to reinstall Ubuntu 21.10. Now on isync is working perfectly for me with gmail so no need to pursue this. Can issues with lost messages be cause by deleting messages on another device connected to the gmail account? Or from the same

Re: Losing track of messages / socket error - timeout with gmail

2021-12-17 Thread Oswald Buddenhagen
On Thu, Dec 16, 2021 at 07:36:26PM -0500, David Denton wrote: Okay, I was able to direct -D to a file, but it is 6MB. Will the list permit an attachment of that size? no, mail it to me privately. ___ isync-devel mailing list isync-devel@lists.sour

Re: Losing track of messages / socket error - timeout with gmail

2021-12-16 Thread David Denton
Okay, I was able to direct -D to a file, but it is 6MB. Will the list permit an attachment of that size? Oswald Buddenhagen writes: On Thu, Dec 16, 2021 at 03:52:24PM -0500, David Denton wrote: See attached file with portion of mbsync.log using the -Ds option that's unfortunately not p

Re: Losing track of messages / socket error - timeout with gmail

2021-12-16 Thread Oswald Buddenhagen
On Thu, Dec 16, 2021 at 03:52:24PM -0500, David Denton wrote: See attached file with portion of mbsync.log using the -Ds option that's unfortunately not particularly useful. (I don't seem to be able to use the -D option without errors.) what kind of errors? have you tried redirecting to a f

Losing track of messages / socket error - timeout with gmail

2021-12-16 Thread David Denton
Hello, I have seen several threads relating to similar syncing issues with Gmail, but I have not yet been able to crack this problem. I am getting the error below when syncing. Channel gmail-trash Opening master store gmail-remote... Opening slave store gmail-local... Opening master box

Re: expunge emails on gmail and locally

2021-09-26 Thread Vikas Rawal
> > On my local machine, I use neomutt, and deletion simply adds a notmuch tag > > "deleted". Is there a way to make gmail understand notmuch tag and expunge > > those mails? I have just chosen to forward all mails from my gmail account to a different address, and sy

Re: expunge emails on gmail and locally

2021-09-25 Thread jrun
is > facing. I had in fact tried but failed to resolve it. So, pointed > suggestions of jrun are very helpful. > > I think, given that a lot of people use gmail, there is perhaps a need for > a more detailed how-to on the issues. Various guides available on the issue > only provide

Re: expunge emails on gmail and locally

2021-09-24 Thread Vikas Rawal
ns of jrun are very helpful. I think, given that a lot of people use gmail, there is perhaps a need for a more detailed how-to on the issues. Various guides available on the issue only provide sketchy instructions and do not really deal with the quirks one finds in gmail. Coming now to j

Re: expunge emails on gmail and locally

2021-09-24 Thread jrun
On Fri, Sep 24, 2021 at 07:26:22AM +0530, Vikas Rawal wrote: > On my local machine, I use neomutt, and deletion simply adds a notmuch tag > "deleted". Is there a way to make gmail understand notmuch tag and expunge > those mails? fresh in my head since i ran into this recently

Re: expunge emails on gmail and locally

2021-09-24 Thread Oswald Buddenhagen
On Fri, Sep 24, 2021 at 08:58:12AM +0530, Vikas Rawal wrote: What is the best way of achieving that? there have been lots of threads on this list regarding gmail's boxes, labels, and (sometimes weird) expunge behavior. search the archive. ___ isync

Re: expunge emails on gmail and locally

2021-09-23 Thread Vikas Rawal
Also, when I move mails out of my local maildir, usually to archive them and free up space in my google account, I would like mbsync to expunge them from gmail. What is the best way of achieving that? Vikas On Fri, 24 Sept 2021 at 07:26, Vikas Rawal wrote: > I have "expunge both&qu

expunge emails on gmail and locally

2021-09-23 Thread Vikas Rawal
I have "expunge both" specified in my .mbsyncrc (have tried them in both global options as well as in channel options) but when I delete a mail using the gmail web interface, the deletion does not propagate to my local maildir. On my local machine, I use neomutt, and deletion sim

Re: How to backup Fastmail and Gmail with isync

2021-08-27 Thread Oswald Buddenhagen
On Fri, Aug 27, 2021 at 03:34:11PM +0100, Sean Hammond wrote: I wrote a quickie tutorial about how to backup Fastmail and Gmail accounts with isync: https://www.seanh.cc/2021/08/22/backup-fastmail-and-gmail-with-isync/ It seems to be working great for me nice writeup. a few minor points

How to backup Fastmail and Gmail with isync

2021-08-27 Thread Sean Hammond
I wrote a quickie tutorial about how to backup Fastmail and Gmail accounts with isync: https://www.seanh.cc/2021/08/22/backup-fastmail-and-gmail-with-isync/ It seems to be working great for me___ isync-devel mailing list isync-devel

Re: MaxMessages and Gmail

2020-05-23 Thread Mike Chen
Hi Oswald, Thank you for your quick response. That's ok. I'll take the hard way then. On Sat, May 23, 2020 at 2:55 AM Oswald Buddenhagen < oswald.buddenha...@gmx.de> wrote: > On Sat, May 23, 2020 at 12:53:07AM -0700, Mike Chen wrote: > >I'm thinking about to use MaxMessages for INBOX channel and

Re: MaxMessages and Gmail

2020-05-23 Thread Oswald Buddenhagen
On Sat, May 23, 2020 at 12:53:07AM -0700, Mike Chen wrote: I'm thinking about to use MaxMessages for INBOX channel and increase it daily to have all emails downloaded. I'd like to know if this is possible? no, that won't work due to the way the internal accounting works. however, you need no

MaxMessages and Gmail

2020-05-23 Thread Mike Chen
Hi Due to the bandwidth limit of Gmail(< 2500Mb/day), I have difficulties to download all my emails(around 10Gb). I'm thinking about to use MaxMessages for INBOX channel and increase it daily to have all emails downloaded. For instance, On 5/24, I set MaxMessages 2 to download t

Re: Message missing in Gmail `All Mail` folder after resurrecting from Trash

2020-01-07 Thread Oswald Buddenhagen
On Tue, Jan 07, 2020 at 02:31:37PM -0700, Nicolas Bock wrote: I suspect that I am missing something in the settings, but I can't quite figure out what. gmail is a funny imap server, but at least it has settings to make it behave in more expected ways. search the list archive, the topi

Message missing in Gmail `All Mail` folder after resurrecting from Trash

2020-01-07 Thread Nicolas Bock
Hi, I find that when I move a message to the trash via the Gmail web UI and then remove the `trash` label, mbsync fails to add the message back to the `All Mail` folder. Even worse, when I then archive this message it disappears from the local store. In the following I am manipulating the

Re: [PATCH 1/2] src/mbsyncrc.sample: add an example for gmail with nested labels

2019-11-22 Thread Oswald Buddenhagen
hi, sorry for the excessive delay ... On Tue, Jun 18, 2019 at 01:28:47AM +, Luis Chamberlain wrote: If you're using gmail for development you may often have tons of mailing lists for one project, and so may use nested labels. This shows how to use them, and how to try to avoid goin[g]

[PATCH 1/2] src/mbsyncrc.sample: add an example for gmail with nested labels

2019-06-17 Thread Luis Chamberlain
If you're using gmail for development you may often have tons of mailing lists for one project, and so may use nested labels. This shows how to use them, and how to try to avoid goin over gmail's quota. --- src/mbsyncrc.sample | 42 ++ 1 file c

Re: Invalid character in literal from Gmail Inbox

2019-05-29 Thread Oswald Buddenhagen
On Wed, May 29, 2019 at 11:43:28AM -0500, Chip Senkbeil wrote: > I'm assuming there is no configuration that can be set to ignore this > violation, right? > there isn't. once upon a time someone posted a patch to deal with some kind of invlid messages, and it could have been about that. however, t

Re: Invalid character in literal from Gmail Inbox

2019-05-29 Thread Chip Senkbeil
Great! Removing the Yubico emails (others had the same issue) resolved my problem. I'll contact them later to let them know about the problem, but not sure if I'll get any response from them. I'm assuming there is no configuration that can be set to ignore this violation, right? I have a path I

Re: Invalid character in literal from Gmail Inbox

2019-05-29 Thread Oswald Buddenhagen
On Tue, May 28, 2019 at 05:57:04PM -0500, Chip Senkbeil wrote: > I've attached the log, which dumps a large HTML blob where I've > removed my address and such. > there is an @import line near the top which contains two null characters, which certainly got there due to automatic hard line wrapping

Re: Invalid character in literal from Gmail Inbox

2019-05-28 Thread Chip Senkbeil
Seems to land on a purchase from Yubico I made as the latest culprit. This is from running PipelineDepth of 1 and using -DN --push with my channel of Personal-INBOX. I've attached the log, which dumps a large HTML blob where I've removed my address and such. Specifically ran `mbsync -DN --push Pe

Re: Invalid character in literal from Gmail Inbox

2019-05-28 Thread Oswald Buddenhagen
On Tue, May 28, 2019 at 09:32:30AM -0500, Chip Senkbeil wrote: > M: >>> 7 APPEND "INBOX" {35145} > [...] > M: + go ahead > M: * BYE Invalid character in literal > IMAP error: unexpected BYE response: Invalid character in literal > the local message it is trying to upload contains a character that's

Re: GMail SNI issue? (How to enable SNI for `mbsync`? And a workaround for now...)

2019-05-28 Thread Ciprian Dorin Craciun
On Tue, May 28, 2019 at 2:36 PM Oswald Buddenhagen wrote: > On Tue, May 28, 2019 at 01:42:23PM +0300, Ciprian Dorin Craciun wrote: > > Any hints? > > > already fixed on the 1.3 branch. i suppose i should make a release at > some point ... Good to hear. Regarding the release, given how blocking

Re: GMail SNI issue? (How to enable SNI for `mbsync`? And a workaround for now...)

2019-05-28 Thread Oswald Buddenhagen
On Tue, May 28, 2019 at 01:42:23PM +0300, Ciprian Dorin Craciun wrote: > Any hints? > already fixed on the 1.3 branch. i suppose i should make a release at some point ... ___ isync-devel mailing list isync-devel@lists.sourceforge.net https://lists.sour

GMail SNI issue? (How to enable SNI for `mbsync`? And a workaround for now...)

2019-05-28 Thread Ciprian Dorin Craciun
I've just tried to use mbsync against GMail, and it failed with: SSL error connecting imap.gmail.com (66.102.1.109:993): self signed certificate Trying to get more info I've issued: openssl s_client -host 66.102.1.109 -port 993 To which the certificate reads:

Re: Messages Removed from GMail Server

2018-11-03 Thread Ian Dunn
ear to be new. I found the original problem, but removing the state file and running "mbsync --verbose --push gmail" did push the messages back to the server. Thank you for that one. The original problem was entirely my fault. After offlineimap stopped working on my machine, I swit

Re: Messages Removed from GMail Server

2018-10-28 Thread Oswald Buddenhagen
On Sat, Oct 27, 2018 at 08:51:36AM -0400, Ian Dunn wrote: > I found that the messages from my inbox had been almost entirely > removed, going back several years. > have you checked the [All Mail] folder? > 1. How do I prevent this from happening in the future? > for that we'd need to know what act

Messages Removed from GMail Server

2018-10-27 Thread Ian Dunn
After some difficulty getting mbsync started, I finally got it to pull the messages from my gmail account to my local machine. However, this morning when I checked my email on my phone, I found that the messages from my inbox had been almost entirely removed, going back several years. This

Gmail marks moved mail as unread after synchronization

2018-09-07 Thread tomas . volf
Greeting, I'm using mbsync with Gmail account but I have an issue with how moved messages are handled. When I move mail for example from =maniphest.other to =maniphest.arch (via neomutt), run mbsync (twice) I see that the moved mail (in =maniphest.arch) has now `new` flag (`N`). It doe

mbsync/Gmail configuration for proper deletion (move deleted email to "Trash", instead of hiding it in "All Mail")

2018-08-07 Thread Germain Zouein
actually simply be hidden from "Inbox" (or whichever folder you deleted it from). It will still show in "All Mail". >From an old Gmail Support page: > Messages that are deleted from an IMAP folder (except for those in > [Gmail]/Spam or [Gmail]/Trash) only have that

Re: Workarounds for Gmail duplicates, flag propagation

2017-11-26 Thread Oswald Buddenhagen
On Fri, Nov 24, 2017 at 12:45:40PM +1300, Tom Wong-Cornall wrote: > Are there any workarounds for this? Are people simply only syncing, > perhaps, All Mail instead of INBOX/Sent Items/etc.? Is there something > I can do with my MUA to apply changes to all copies of messages? > i usually recommend

Workarounds for Gmail duplicates, flag propagation

2017-11-23 Thread Tom Wong-Cornall
Hello all, I'm sure by now you're all getting sick of silly Gmail questions from people like me. I wish to use mutt to access my Gmail account, but find direct IMAP usage a little slow, and it also precludes full-text search using notmuch. Therefore mbsync seems like an excellen

Re: mbsync vs offlineimap for gmail

2017-07-09 Thread Oswald Buddenhagen
ctures and imap interface? > > The next step for me is probably to set up a test GMail account and play with > it. Are there any gotchas to be concerned about? > > Philip > > On 17.06.23, Philip DeBoer wrote: > >On 17.06.23, Oswald Buddenhagen wrote: > >>

Re: mbsync vs offlineimap for gmail

2017-07-07 Thread Philip DeBoer
Hi Oswald, I wanted to follow up on this. I've sketched some code on a new branch in my forked repo. It compiles, but I haven't tested it yet. Does it look reasonable to you, with the right data structures and imap interface? The next step for me is probably to set up a test GMail a

Re: mbsync vs offlineimap for gmail

2017-06-23 Thread Philip DeBoer
ls of a message. This is documented at https://developers.google.com/gmail/imap/imap-extensions. It should be possible to download labels for multiple messages (eg, whole mailbox) at once. * Define a new internal header, like X-Keywords (or X-GM-LABELS). Populate and save this when writing m

Re: mbsync vs offlineimap for gmail

2017-06-23 Thread Oswald Buddenhagen
On Fri, Jun 23, 2017 at 07:26:12AM -0400, Philip DeBoer wrote: > If I also have some unlabeled mail, I would need to download All Mail > to see it, right? And then have duplicate copies of most mail? > yeah. a better approach would be defining a low-priority fallback label. i pres

Re: mbsync vs offlineimap for gmail

2017-06-23 Thread Philip DeBoer
add them? On 17.06.23, Oswald Buddenhagen wrote: On Thu, Jun 22, 2017 at 09:41:31PM -0400, Philip DeBoer wrote: I am considering the use of an offline mail store for GMail, which I have not done before. I am looking at mbsync and offlineimap. Reports suggest that mbsync is faster and uses less

Re: mbsync vs offlineimap for gmail

2017-06-23 Thread Oswald Buddenhagen
On Thu, Jun 22, 2017 at 09:41:31PM -0400, Philip DeBoer wrote: > I am considering the use of an offline mail store for GMail, which I have not > done before. I am looking at mbsync and offlineimap. Reports suggest that > mbsync is faster and uses less memory than offlineimap. > &

mbsync vs offlineimap for gmail

2017-06-22 Thread Philip DeBoer
I am considering the use of an offline mail store for GMail, which I have not done before. I am looking at mbsync and offlineimap. Reports suggest that mbsync is faster and uses less memory than offlineimap. Does mbsync support GMail's labels? I have a hierarchy of gmail labels (eg a/b),

Re: coredump during gmail sync

2017-04-09 Thread Oswald Buddenhagen
On Sat, Apr 08, 2017 at 04:26:00PM +0200, Malte Deiseroth wrote: > MaxSize wasnt set in the beginning. I didnt know about it in the beginning > and then set it due to Gmail complaining about it. I never increased it > actively though. > hmm. then the fix may not work, but you can sti

Re: coredump during gmail sync

2017-04-08 Thread Malte Deiseroth
MaxSize wasnt set in the beginning. I didnt know about it in the beginning and then set it due to Gmail complaining about it. I never increased it actively though. So I need to Compiler mbsync Form wip/next, clear the journal and try again. Its about 12000 mail I like to sync. Am 08.04.2017

Re: Mbsync, XOAUTH2, and Gmail

2017-04-08 Thread Oswald Buddenhagen
On Sun, Mar 05, 2017 at 06:26:01PM +0100, Oswald Buddenhagen wrote: > On Sun, Mar 05, 2017 at 10:13:00AM -0500, ben lamothe wrote: > > I've noticed from the mbsync man page that mbsync has sasl support, and I > > also understand that XOAUTH2 is a valid sasl auth mechanism, but I am > > unclear how

Re: coredump during gmail sync

2017-04-08 Thread Oswald Buddenhagen
On Fri, Apr 07, 2017 at 08:53:17AM +0200, Oswald Buddenhagen wrote: > On Thu, Apr 06, 2017 at 05:07:21PM +0200, Malte Deiseroth wrote: > > mbsync: sync.c:1005: box_selected: Assertion `!"sync record with stray > > TUID"' failed. > > Aborted (core dumped) > > > > > > I have no idea[] what is

Re: coredump during gmail sync

2017-04-06 Thread Oswald Buddenhagen
On Thu, Apr 06, 2017 at 05:07:21PM +0200, Malte Deiseroth wrote: > mbsync: sync.c:1005: box_selected: Assertion `!"sync record with stray > TUID"' failed. > Aborted (core dumped) > > > I have no idea[] what is going on here. It was working and then stopped. > weird. and you're the second on

coredump during gmail sync

2017-04-06 Thread Malte Deiseroth
Hello, I'm using mbsync 1.1.2 on ubuntu 16.04 and I'm trying to migrate my mail from many mail services to gmail using mbsync. When I sync, I get this error: >>> 10 SELECT "Archive" * FLAGS (\Answered \Flagged \Draft \Deleted \Seen $NotJunk $NotPhishing $

Re: Mbsync, XOAUTH2, and Gmail

2017-03-05 Thread Oswald Buddenhagen
On Sun, Mar 05, 2017 at 10:13:00AM -0500, ben lamothe wrote: > I've noticed from the mbsync man page that mbsync has sasl support, and I > also understand that XOAUTH2 is a valid sasl auth mechanism, but I am > unclear how to configure mbsync to make use of that mechanism through sasl. > I can't fi

Mbsync, XOAUTH2, and Gmail

2017-03-05 Thread ben lamothe
Hi. I'm trying to sync my gmail account locally with mbsync. Gmail recently rolled out an XOAUTH2 based authentication scheme, and they've required it by default. I have been having trouble configuring mbsync to connect to gmail with oauth. I've noticed from the mbsync man page

Re: Problems with syncing mails with gmail

2017-02-04 Thread Oswald Buddenhagen
On Wed, Feb 01, 2017 at 10:32:16PM +0530, Tulasidhar Dronamraju wrote: > I tried upgrading openssl and zlib. That didnt help. > > With master branch from git https://git.code.sf.net/p/isync/isync > I get > "IMAP error: unexpected EOF from imap.gmail.com " both with and > without DisableExtension C

Re: Problems with syncing mails with gmail

2017-02-03 Thread Tulasidhar Dronamraju
I tried upgrading openssl and zlib. That didnt help. With master branch from git https://git.code.sf.net/p/isync/isync I get "IMAP error: unexpected EOF from imap.gmail.com " both with and without DisableExtension COMPRESS=DEFLATE this happens much quickly On Wed, Feb 1, 2017 at 1:59 PM, Oswald

Re: Problems with syncing mails with gmail

2017-02-01 Thread Oswald Buddenhagen
On Wed, Feb 01, 2017 at 09:38:38AM +0530, Tulasidhar Dronamraju wrote: > Error decompressing data from imap.gmail.com (74.125.130.109:993): (null) > try upgrading openssl and zlib. if that doesn't help, try the mbsync master branch from git. if that still does not work, use "DisableExtension COMPRE

Problems with syncing mails with gmail

2017-02-01 Thread Tulasidhar Dronamraju
Hi I was trying to use mbsync to sync mails from my gmail using mbsync. However I am unable to sync my mails. Initially around 31,316 mails were downloaded. After that its not even syncing mails at all. However I am able to sync with gmail to another box using Offliineimap. on another folder

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

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 mas

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

2016-11-15 Thread Oswald Buddenhagen
On Mon, Nov 14, 2016 at 11:58:51PM +0100, Felix E. Klee wrote: > Error: channel gmail: master [Gmail]/All Mail cannot be opened. > i can't see anything obviously wrong with the config and output up to here. try adding -Dmn to the command line, maybe that will re

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_pas

Re: mbsync marking deleted messages as old messages for a gmail setup

2016-07-04 Thread Oswald Buddenhagen
On Wed, Jun 29, 2016 at 10:52:54AM -0300, Silas Silva wrote: > whenever I delete a message from computer A, it doesn't gets deleted > on computer B, showing up on the box with the "old" flag set. > > Can you please help me? Thanks! > you need to enable Expunge. > mbsync -v > isync 1.1.1 > that

mbsync marking deleted messages as old messages for a gmail setup

2016-06-29 Thread Silas Silva
Hi! I recently migrated from offlineimap to mbsync, which works better in many ways, but has a strange behaviour probably due to wrong configuration I did: I have several computers with an gmail account setup and, whenever I delete a message from computer A, it doesn't gets deleted on compu

Re: Syncing after removing labels/tags in gmail webUI: "cannot be opened"

2016-02-12 Thread Oswald Buddenhagen
On Fri, Feb 12, 2016 at 03:25:32AM +0200, Andrey Utkin wrote: > I'd suppose it would remove such IMAP folders, because these were > exposed as IMAP folders. Or maybe I miss some config option? > it's called Remove. it's off by default.

Syncing after removing labels/tags in gmail webUI: "cannot be opened"

2016-02-12 Thread Andrey Utkin
Hi! Thanks for such a good software. It seems superior to offlineimap at last because of correct interruptibility in between of sync process. But there seems to be an issue when you sync GMail account with another IMAP mailbox. If you have synced them, and then you remove labels/tags in GMail web

Re: Gmail

2016-01-20 Thread famfop
Ok, I just went again to the secure logins page from google and noticed it switched back to "not allow". I switched it back on and now its syncing. I'm wondering though how to keep this setting on "allow" but I'll figure it out on my own. anyway, thank you all for your help =) greetings, famfo

Re: Gmail

2016-01-20 Thread famfop
that should be -Dn instead of -V starting with mbsync 1.2. attached output from mbsync -Dn gmail (again reduced a little bit as same error for all folders). Reading configuration file /home/famfop/.mbsyncrc Channel gmail-INBOX Opening master store gmail-remote... Resolving imap.gmail.com

  1   2   3   >