Re: gmail times out

2023-08-01 Thread Oswald Buddenhagen
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 likely

gmail times out

2023-08-01 Thread Pier via isync-devel
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

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

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:

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 until it exit

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 gmail

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/master

Re: How to backup Fastmail and Gmail with isync

2022-05-15 Thread Sean Hammond
gt;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 IMAPAccount's, this s

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

2022-04-19 Thread Martin Clausen
ntly 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 practically, you need to use --pu

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

2022-04-19 Thread Oswald Buddenhagen
, 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, but that won't help

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

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,

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

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

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 goo

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

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" h

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:&quo

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

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

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

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

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

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
t; 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
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 jrun's

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. ___

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 s

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

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 the fi

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 topic has

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

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] over

[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 changed, 42

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,

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

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

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

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: X.509

Re: Messages Removed from GMail Server

2018-11-03 Thread Ian Dunn
ar 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 switched

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

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

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 does

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

2018-08-07 Thread Germain Zouein
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 label removed a

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 excellent solution

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
to 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. > &

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 ca

Re: coredump during gmail sync

2017-04-09 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: 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-07 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

coredump during gmail sync

2017-04-07 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 $Phishing $

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

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

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

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 >

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 computer B

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 Oswald Buddenhagen
On Wed, Jan 20, 2016 at 02:09:01PM +0100, famfop wrote: > >The other thing you haven't shown us is the full text of the error message. > >Try running mbsync -V. > > output of $(mbsync -V gmail) attached as output.log, > that should be -Dn instead of -V starting with mb

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

Re: Gmail

2016-01-20 Thread famfop
Hi, Do you have openssl installed? yes. The other thing you haven't shown us is the full text of the error message. Try running mbsync -V. output of $(mbsync -V gmail) attached as output.log, also i attached a "reduced" copy of my rc file as i'm expecting the error

Re: Gmail

2016-01-19 Thread Maurice McCarthy
> I am sorry to bother the mailing list for such a newbie question but > when trying to connect to my gmail account it tells me I should do a web > login and "AUTHENTICATE PLAIN ' returned an error: NO [ALERT] > " ... > I've been following the archwiki page[0] for

Re: Gmail

2016-01-19 Thread famfop
well, i made the two things as you said but it's still not working. basically the "important stuff" in my config is: --- Create Both Expunge Both SyncState * IMAPAccount gmail AuthMechs LOGIN Host imap.gmail.com User myemail Pass mypasswd SSLType IMAPS SSLVersions SSLv3 CertificateFil

Re: Gmail

2016-01-19 Thread Maurice McCarthy
https://www.google.com/settings/security/lesssecureapps On Tue, Jan 19, 2016 at 02:55:38PM +0100 or thereabouts, famfop wrote: > Hi, > I am sorry to bother the mailing list for such a newbie question but > when trying to connect to my gmail account it tells me I should do a web

Re: Gmail

2016-01-19 Thread Maurice McCarthy
ically > the "important stuff" in my config is: > --- > Create Both > Expunge Both > SyncState * > > IMAPAccount gmail > AuthMechs LOGIN > Host imap.gmail.com > User myemail > Pass mypasswd > SSLType IMAPS > SSLVersions SSLv3 > CertificateFile /etc/ssl/

Deleting mail after relay to gmail

2015-09-24 Thread Steve Midgley
Hi, First off, mbsync is a very useful tool - thank you for creating it. We are using mbsync to copy mail from a standard qmail email box to a Google Apps/Business gmail account via IMAP on both sides. This is working perfectly using mbsync using "Sync Pull" configuration (though I thin

Re: Deleting mail after relay to gmail

2015-09-24 Thread Oswald Buddenhagen
On Thu, Sep 24, 2015 at 11:58:01AM -0700, Steve Midgley wrote: > Does anyone have any suggestions as to how to handle this issue using > mbsync? > i think you're looking for fetchmail instead. though admittedly i don't know right away how to store the messages in the target mailbox via imap. i

Re: Problem syncing with gmail

2015-06-29 Thread Daniel Trstenjak
Ok, the problem seems to be, that a syncing of mbsync created the folders '[Google Mail].Sent Mail' and '[Google Mail].Spam' on the IMAP server. I'm not quite sure which misconfiguration of mbsync could have done this. After removing these folders from the IMAP server everything works. Thanks!

Re: Problem syncing with gmail

2015-06-29 Thread Daniel Trstenjak
On Mon, Jun 29, 2015 at 10:05:40AM +0200, Oswald Buddenhagen wrote: hmpf, this looks entirely ok. please add -l -Dn to the mbsync command line and send me the output. Greetings, Daniel Reading configuration file /home/dan/.mbsyncrc Channel gmail Opening master store gmail-remote... Resolving

Re: Problem syncing with gmail

2015-06-29 Thread Oswald Buddenhagen
On Mon, Jun 29, 2015 at 11:34:38AM +0200, Daniel Trstenjak wrote: * LIST (\HasNoChildren) / [Google Mail].Sent Mail * LIST (\HasNoChildren) / [Google Mail].Spam ok, everything clear. you introduced this with a previous misconfiguration. clean up your folder structure, and all will be fine. *

Re: Problem syncing with gmail

2015-06-29 Thread Daniel Trstenjak
On Mon, Jun 29, 2015 at 12:13:15PM +0200, Oswald Buddenhagen wrote: ok, everything clear. you introduced this with a previous misconfiguration. clean up your folder structure, and all will be fine. If you mean the local one, seems to be fine: $ ll Mail/gmail/ total 9,5M drwx-- 5 dan dan

Re: Problem syncing with gmail

2015-06-28 Thread Oswald Buddenhagen
On Thu, Jun 25, 2015 at 06:50:58PM +0200, Daniel Trstenjak wrote: On Sun, Jun 21, 2015 at 03:04:04PM +0200, Daniel Trstenjak wrote: when syncing with gmail I'm now getting: 17 APPEND Old (\Seen) {1573} + go ahead (1 in progress) 18 APPEND Old (\Seen) {5105} 17 BAD Invalid Arguments

Re: Problem syncing with gmail

2015-06-25 Thread Daniel Trstenjak
On Sun, Jun 21, 2015 at 03:04:04PM +0200, Daniel Trstenjak wrote: when syncing with gmail I'm now getting: 17 APPEND Old (\Seen) {1573} + go ahead (1 in progress) 18 APPEND Old (\Seen) {5105} 17 BAD Invalid Arguments: Unable to parse message IMAP command 'APPEND Old (\Seen) ' returned

Re: Problem syncing with gmail

2015-06-24 Thread Daniel Trstenjak
On Wed, Jun 24, 2015 at 08:00:47AM +0200, Oswald Buddenhagen wrote: and you're sure you have the latest revision? what do git describe and mbsync --version say? $ git describe fatal: No annotated tags can describe 'ccd1340bf46e62c3be5796b665dd62779ffc9d40'. $ mbsync --version isync 1.3.0

  1   2   >