Re: #20 [PATCH] add(mbsync-get-cert): support STARTTLS and custom port

2024-09-29 Thread Oswald Buddenhagen via isync-devel
On Sun, Sep 29, 2024 at 12:18:14PM +, Behnam Lal Moghaddam wrote: I just didn't bother to change the name ever, so that pseudonym has been used more often than my real name. heh, ok. i made a few fixups. unless you see something wrong with it, i'll push this version at some point. From 33b

Re: Re: #20 [PATCH] add(mbsync-get-cert): support STARTTLS and custom port

2024-09-29 Thread Oswald Buddenhagen via isync-devel
On Sat, Sep 28, 2024 at 11:54:56PM +, Behnam Lal Moghaddam wrote: On 24/09/28 02:03PM, Oswald Buddenhagen via isync-devel wrote: a few suggestions: I rewrote the patch according to your suggestions. ok. i see you removed the port config entirely, which is fair enough. however, i don&#

Re: Convert from mutt record file to mbsync file with proper UID

2024-09-29 Thread Oswald Buddenhagen via isync-devel
On Sat, Sep 28, 2024 at 05:17:55PM +, Ludovico Gerardi wrote: The problem is that I still have the older outgoing messages in the renamed file, and I don't know how to convert those into the format that mbsync uses, with the right UID etc. Could anyone help me please? you don't need to worr

Re: #20 [PATCH] add(mbsync-get-cert): support STARTTLS and custom port

2024-09-28 Thread Oswald Buddenhagen via isync-devel
On Sat, Sep 28, 2024 at 09:23:49AM +, Behnam Lal Moghaddam wrote: I want to share a patch that allows mbsync-get-cert script to support STARTTLS and custom port. thanks! a few suggestions: - use true/false for $STARTTLS - then you can evaluate it without running it through `test` - don't

Re: Issues with Exchange Online.

2024-09-23 Thread Oswald Buddenhagen via isync-devel
On Sun, Sep 22, 2024 at 06:09:06PM +0200, Dom (shymega) Rodriguez wrote: As well as that, I find OWA has the dates in the wrong order after syncing. I have `CopyArrivalDates` set as true. you mean, the pull causes the server to re-stamp the messages? that's just weird ... I'm not sure how com

Re: Not all messages syncing

2024-09-20 Thread Oswald Buddenhagen via isync-devel
On Fri, Sep 20, 2024 at 11:55:19AM +0100, Edd Barrett wrote: And if you re-run it again, I see the same discrepancy between the mesage counts on hte near and far sides. So it's still not syncing. After those two runs, I notice that MaxPulledUid and MaxPushedUid remain zero. Is that right? iirc

Re: Not all messages syncing

2024-09-20 Thread Oswald Buddenhagen via isync-devel
On Fri, Sep 20, 2024 at 09:04:57AM +0100, Edd Barrett wrote: However I notice that after a sync, mailboxes can be of differing sizes on different hosts. For example last night, the Inbox folder had: - 5826 messages on the IMAP server - 5860 messages on the desktop - 5833 messages on the laptop

Re: near side box '&AOE' cannot be opened

2024-09-14 Thread Oswald Buddenhagen via isync-devel
On Sat, Sep 14, 2024 at 01:20:25PM +0200, Tamás Gulácsi via isync-devel wrote: Patterns "!Trash !Conversation !Deleted !Drafts !Junk !Outbox !RSS !Scheduled" Patterns "!\"Conversation History\" !\"Deleted Items\"" Patterns "!\"Junk Email\"" Patterns "!\"RSS Feeds\"" fwiw, you have a level of qu

Re: Synchronize fails after upgrading to 1.5

2024-09-13 Thread Oswald Buddenhagen via isync-devel
On Fri, Sep 13, 2024 at 07:00:02AM +, jordan--- via isync-devel wrote: I found a report on Reddit that looks like a similar problem, but with no resolution: https://www.reddit.com/r/commandline/comments/1d9ik8a/mbsync_not_downloading_all_messages/ Do you have any suggestions on what I might

Re: how to debug or ignore "BODY is no literal" error

2024-08-29 Thread Oswald Buddenhagen via isync-devel
On Thu, Aug 29, 2024 at 03:57:39PM +0200, Alan Schmitt wrote: F: >>> 7 UID FETCH 1949470 (BODY.PEEK[]) F: * 14550 FETCH (UID 1949470 BODY[] "") IMAP error: malformed FETCH response from : BODY is no literal Is there a way to ignore the problematic message and synchronize the other ones?

Re: Dealing with UTF-8 mailbox names after upgrade from 1.4 to 1.5

2024-08-18 Thread Oswald Buddenhagen via isync-devel
On Sun, Aug 18, 2024 at 08:33:06PM +0900, Norbert Preining wrote: Do you have any suggestions how to deal with this issue? first you could check whether this is a "real" issue or "just" fallout from having legacy folders. that is, do a (partial) sync from scratch into a temporary folder. if tha

Re: Local maildir box with SubFolders Verbatim: subfolders of INBOX are not listed

2024-08-17 Thread Oswald Buddenhagen via isync-devel
On Sun, Aug 18, 2024 at 12:24:09AM +0200, Felix Fontein via isync-devel wrote: I upgraded to isync 1.5.0 today and noticed a bug. yep, https://sourceforge.net/p/isync/bugs/77/ ___ isync-devel mailing list isync-devel@lists.sourceforge.net https://l

Re: Re: Unexpected EOF with mbsync -a after update to 1.5

2024-08-17 Thread Oswald Buddenhagen via isync-devel
On Fri, Aug 16, 2024 at 10:14:10PM +0200, Jan Eden via isync-devel wrote: I get three different results when specifying the channels directly, depending on their order: [...] it might be helpful if you mention which case used which arguments. I installed isync via homebrew (slightly altering

Re: Unexpected EOF with mbsync -a after update to 1.5

2024-08-16 Thread Oswald Buddenhagen via isync-devel
On Fri, Aug 16, 2024 at 10:46:22AM +0200, Jan Eden via isync-devel wrote: Although I found a practical solution (i.e. a working order), I would be grateful if someone could explain what is going on here. a bug, rather obviously. is the problem reproducible with `mbsync -ls`? if not, with `mbsy

Re: Issue with Office365

2024-08-15 Thread Oswald Buddenhagen via isync-devel
On Thu, Aug 15, 2024 at 08:15:34AM -0400, Laurent Michel wrote: Gotcha. Though, I must say I did not have a “.mbsync” folder. That is still mysterious to me (I compilde isync from the git repo directly, main branch). git master since two years (and now 1.5.0) defaults to $XDG_STATE_HOME/isync/

Re: isync 1.5 breaks configuration

2024-08-08 Thread Oswald Buddenhagen via isync-devel
On Thu, Aug 08, 2024 at 11:07:38AM +0900, Norbert Preining wrote: On Thu, 08 Aug 2024, Norbert Preining wrote: Maildir store '-local': Path cannot be nested under Inbox The respective entry in .mbsyncrc is: MaildirStore -local Path ~/Maildir// Adding

Re: .mbsyncrc correct?

2024-08-07 Thread Oswald Buddenhagen via isync-devel
On Wed, Aug 07, 2024 at 06:27:35AM +0700, Louis A. Turk via isync-devel wrote: Error: Cannot resolve server 'mail.firmanelohim.org/': Name or service not known. Is my .mbsyncrc correct? no: Host mail.fm.org/ that trailing slash makes no sense at all. maybe you got confused by the requirem

Re: lost track of X messages / socket error

2024-07-31 Thread Oswald Buddenhagen via isync-devel
On Mon, Oct 31, 2022 at 03:43:28PM +, Edd Barrett wrote: On Fri, Oct 28, 2022 at 05:04:10PM +0200, Oswald Buddenhagen wrote: i need the full log. in fact, of two consecutive runs, as this is an inter-run problem. you can limit it on the command line to the affected mailbox, and send me the

Re: conflicting changes not going away

2024-07-26 Thread Oswald Buddenhagen via isync-devel
On Fri, Jul 26, 2024 at 09:12:54AM +0200, Alan Schmitt wrote: Running using --verbose made me realize there is a significant difference in the number of messages in the local and remote sides: Opening far side box INBOX... Opening near side box INBOX... Loading far side box... Loading near side

Re: Message being deleted locally

2024-07-16 Thread Oswald Buddenhagen via isync-devel
On Tue, Jul 16, 2024 at 04:55:22PM +, Johan Parin wrote: So are you saying this is an Exchange problem or a DavMail problem? davmail. that's why i'm strongly suggesting that you try "native" exchange imap (it's not really native; it's also just a translation layer, but at least it's directl

Re: Message being deleted locally

2024-07-16 Thread Oswald Buddenhagen via isync-devel
On Tue, Jul 16, 2024 at 01:44:50PM +, Johan Parin wrote: That pulled around 2.5K messages. Now I can see on Outlook web my Inbox has 19077 items. With notmuch I get after 'notmuch new': $ notmuch count folder:work/INBOX 19074 I guess that is close enough. well, that probably means that

Re: Message being deleted locally

2024-07-16 Thread Oswald Buddenhagen via isync-devel
On Tue, Jul 16, 2024 at 05:10:11AM +, Johan Parin wrote: So what I'm doing is I have copied the settings from Evolution (including tenantID) from Linux users in the company (as Linux & Evolution is a supported configuration in our IT policy), so I pretend I'm using Evolution. yes, that's pa

Re: Message being deleted locally

2024-07-14 Thread Oswald Buddenhagen via isync-devel
On Sun, Jul 14, 2024 at 03:09:58PM +, Johan Parin via isync-devel wrote: I have a setup at work where the company is using MS Exchange + OAUTH2. I use DavMail to deal with OAUTH2 and then mbsync to connect to DavMail. As MUA I use notmuch. This was working OK for a while I think but then I s

Re: mbsync skips certain messages

2024-07-10 Thread Oswald Buddenhagen via isync-devel
On Wed, Jul 10, 2024 at 11:34:59AM +, Thomas Bergheim wrote: Everything works great, except for this bug. isync just thinks it already synced everything it should have. the log merely reflects a static state, so it doesn't help with figuring out how this happened. you can work around the s

Re: the opposite of MaxMessages

2024-07-09 Thread Oswald Buddenhagen via isync-devel
On Mon, Jul 08, 2024 at 09:48:27AM -0400, Paymon wrote: On Mon, Jul 08, 2024 at 09:44:27AM GMT, Paymon wrote: my case is the opposite of that^; i.e. i have a very small quota on the server and a fairly big amount incoming messages (mailing lists). i want to archive the mailing list locally where

Re: Segmentation fault when syncing for the first time, if compiled with -O2/-O3

2024-07-07 Thread Oswald Buddenhagen via isync-devel
On Sun, Jul 07, 2024 at 02:28:54PM +0800, Runxi Yu wrote: Could this be made into the next release? yes, of course. but don't expect this to happen very soon (someone needs to figure out what exactly is wrong with commit 859b7dd7). ___ isync-devel m

Re: Segmentation fault when syncing for the first time, if compiled with -O2/-O3

2024-07-04 Thread Oswald Buddenhagen via isync-devel
report! you could make it even better by using -g3 instead of -g (that should get rid of the "" gunk) and isync's --debug instead of --verbose. but never mind, it's good enough this time. does the attached patch help? From 14e432d890896d996b4c68576303329d66eb6b28 Mon Sep 17 00:00:

Re: Socket error

2024-06-10 Thread Oswald Buddenhagen via isync-devel
On Mon, Jun 10, 2024 at 09:45:37AM +0200, Henrik Frisk wrote: So sorry this dragged out. well, _i_ am in no hurry ... I would be so happy if you have the time to take a look at these files attached which are the logs from mbsync and DavMail. somewhat guessing here, but this seems to be a ge

Re: Issue syncing iCloud INBOX

2024-06-10 Thread Oswald Buddenhagen via isync-devel
On Sun, Jun 09, 2024 at 12:52:26PM -0600, Steve Mayer wrote: Thanks Oswald! I’ve attached the output of ‘mbsync —debug iCloud’. that's not useful, as it is from an obviously stable state. you need to "catch it in the act". if you can't repro it differently, start from scratch, logging both the

Re: Issue syncing iCloud INBOX

2024-06-09 Thread Oswald Buddenhagen via isync-devel
On Sun, Jun 09, 2024 at 09:40:08AM -0600, Steve Mayer via isync-devel wrote: Any ideas as to what might be going on? not really. i suppose the server might be doing funny things. re-run with -D and send me the log - maybe i can spot something. ___ i

Re: Socket error

2024-05-16 Thread Oswald Buddenhagen via isync-devel
On Thu, May 16, 2024 at 12:18:36PM +0200, Henrik Frisk wrote: Despite my best efforts, trying the things suggested here and a bunch of other stuff to do with the configuration of davmail and mbsync I can't get this to work. I guess my main question to this list is if this is a davmail problem or

Re: Flags not syncing after moving email

2024-04-02 Thread Oswald Buddenhagen via isync-devel
On Mon, Apr 01, 2024 at 09:09:16PM +0200, Oswald Buddenhagen via isync-devel wrote: [...] mail me the logs. so with the logs at hand it really looks like the imap server is acting up: first run: F: >>> 10 APPEND "Folders/Test2" (\Seen) {6229} F: + Ready F: * 1 EXISTS F:

Re: Flags not syncing after moving email

2024-04-01 Thread Oswald Buddenhagen via isync-devel
On Mon, Apr 01, 2024 at 08:03:22PM +0200, laburnumT wrote: When I look at my settings in Gmail it is set to Auto-Expunge off - Wait for the client to update the server. that's weird, because the log shows somewhat clearly that a message is expunged before an expunge or close command is issued.

Re: Flags not syncing after moving email

2024-04-01 Thread Oswald Buddenhagen via isync-devel
On Mon, Apr 01, 2024 at 01:37:57PM +0200, laburnumT wrote: Sorry that the file is in a 7z format. It was the first compression format I had the could get the file below the size limit for sending to this mailing list. that's fine, though i guess i should have been more specific - when you send

Re: Flags not syncing after moving email

2024-03-31 Thread Oswald Buddenhagen via isync-devel
On Sat, Mar 30, 2024 at 09:32:02PM +0100, laburnumT wrote: I have looked at the logs if run with --debug-sync, --debug-net would be likely more helpful in this case, but usually it's actually better to just not limit the debug categories at all. but couldn't figure out what I had done wrong.

Re: mbsync skips certain messages

2024-03-23 Thread Oswald Buddenhagen via isync-devel
On Fri, Mar 22, 2024 at 01:09:58PM +0100, Henrik Frisk wrote: Sorry for my lack of knowledge here, but based on what information do I best identify the message in the debugging output ? i presume that any message being skipped is a problem, so that's the only thing to look for in the log. if it

Re: mbsync skips certain messages

2024-03-22 Thread Oswald Buddenhagen via isync-devel
On Fri, Mar 22, 2024 at 10:29:28AM +0100, Henrik Frisk wrote: After a long time of working flawlessly my sync process now skips certain messages. I have not been able to see how/if the skipped messages relate. it's pretty hopeless to figure this out unless you can catch it in the act with debug

Re: duplicates due to X-TUID headers

2024-03-14 Thread Oswald Buddenhagen via isync-devel
On Fri, Mar 15, 2024 at 07:42:32AM +0100, Peter P. wrote: I re-checked and the duplicated messages are in fact lacking a message-id header. I don't know why and how they got removed. Do you have any recommendataion how I could de-duplicate messages with missing message-ids? in that case you ca

Re: duplicates due to X-TUID headers

2024-03-13 Thread Oswald Buddenhagen via isync-devel
On Wed, Mar 13, 2024 at 12:40:21PM +0100, Peter P. wrote: These duplicates are not detected by (neo)mutt's ~= filter since some of these messages contain a X-TUID header, others do not. that's just wrong. mutt goes by the message-id header and nothing else. I am interested how/why these heade

Re: hanging after LOGOUT completed

2024-03-04 Thread Oswald Buddenhagen via isync-devel
On Mon, Mar 04, 2024 at 05:03:04AM -0500, agarttha--- via isync-devel wrote: mbsync 1.4.4 sporadically stopped exiting after mail retrieval. The debug log (3) is below. Often mbsync will hang after OK LOGOUT. Perhaps it's a server side change? Or my mbsync configuration is wrong after updating

Re: How to synchronize all messages in a folder from the near to the far side?

2024-02-20 Thread Oswald Buddenhagen via isync-devel
On Tue, Feb 20, 2024 at 10:04:57AM +0100, Peter P. wrote: * Peter P. [2024-02-20 10:01]: What is the best way to completely sync a far side folder to the near side without keeping any previous near side messages? depends on what you mean by that. do you just want to get rid of the near-side c

Re: How to synchronize all messages in a folder from the near to the far side?

2024-02-20 Thread Oswald Buddenhagen via isync-devel
On Mon, Feb 19, 2024 at 07:07:07PM +0100, Peter P. wrote: Socket error: secure read from -whatever- : error:0A000126:SSL routines::unexpected eof while reading that's just generic flakiness of the connection. don't worry. and on the next run I do get: Warning: lost track of XXX pushed message

Re: How to synchronize all messages in a folder from the near to the far side?

2024-02-19 Thread Oswald Buddenhagen via isync-devel
On Mon, Feb 19, 2024 at 06:07:18PM +0100, Peter P. wrote: * Oswald Buddenhagen via isync-devel [2024-02-19 18:03]: On Mon, Feb 19, 2024 at 05:09:43PM +0100, Peter P. wrote: > And no messages get synced to the far side. > > In an earlier attempt with the same command, only a few mess

Re: How to synchronize all messages in a folder from the near to the far side?

2024-02-19 Thread Oswald Buddenhagen via isync-devel
On Mon, Feb 19, 2024 at 05:09:43PM +0100, Peter P. wrote: And no messages get synced to the far side. In an earlier attempt with the same command, only a few messages were copied to the far side: it looks very much like you still have an old state file lying around (and you got very lucky by u

Re: filter duplicates?

2024-02-04 Thread Oswald Buddenhagen via isync-devel
On Sun, Feb 04, 2024 at 04:03:40PM +0100, Peter P. wrote: So if I am unlucky and mutt on computer1 deletes MessageA as a duplicate of MessageB... and mutt on computer2 deletes messageB as a duplicate of messageA I might end up with both messageA and messageB being synced back up to the imap serv

Re: Mbsync does not sync INBOX emails only

2024-01-23 Thread Oswald Buddenhagen via isync-devel
On Tue, Jan 23, 2024 at 05:05:00PM +, jos...@breatheoutbreathe.in wrote: I haven't done the nuclear option of deleting INBOX, and I'm not sure what this means in practice: hacking MaxPulledUID in .mbsyncstate would probably do. that should become clear after some careful reading of the

Re: Mbsync does not sync INBOX emails only

2024-01-23 Thread Oswald Buddenhagen via isync-devel
On Sun, Jan 21, 2024 at 09:30:19AM -0800, Joseph Turner via isync-devel wrote: I am experiencing the same issue as Oswald. you mean mark. anyway, the way i read his mail was that inbox isn't synced at all, rather than that just some mails are missing. but in retrospect, that's not necessaril

Re: Mbsync does not sync INBOX emails only

2024-01-21 Thread Oswald Buddenhagen via isync-devel
On Sat, Jan 20, 2024 at 05:27:33PM +, Mark Johnno via isync-devel wrote: $ mbsync -v isync 1.3.0 that's a tad old. i think i fixed a related bug in 1.4.x. other than that, the interesting part is what the listing returns for the M side. INBOX always exists, but may be hidden by the namesp

Re: Socket Error, Possible protocol violation

2024-01-10 Thread Oswald Buddenhagen via isync-devel
On Wed, Jan 10, 2024 at 09:59:07AM +0100, Bence Ferdinandy wrote: On Thu Aug 17, 2023 at 14:45, Oswald Buddenhagen wrote: On Thu, Aug 17, 2023 at 07:59:09AM -0400, brittanderson--- via isync-devel wrote: >The error has reoccured. It is: > >Socket error: receive buffer full. Probably

Re: Why are messages sometimes not pulled from server?

2024-01-05 Thread Oswald Buddenhagen via isync-devel
On Fri, Jan 05, 2024 at 09:04:26AM -0500, Jason Cox wrote: On Fri Jan 5, 2024 at 5:10 AM EST, Oswald Buddenhagen via isync-devel wrote: hacking MaxPulledUID in .mbsyncstate would probably do. I assume I would just decrement it by the number of messages that aren't being downloaded? no.

Re: Why are messages sometimes not pulled from server?

2024-01-05 Thread Oswald Buddenhagen via isync-devel
On Thu, Jan 04, 2024 at 08:50:17PM -0500, Jason Cox via isync-devel wrote: Eventually I just deleted the inbox and did a fresh sync to get the missing messages. Is there a better way to resolve this issue? hacking MaxPulledUID in .mbsyncstate would probably do. as to why the situation arised i

Re: Trying to sync an ms exchange mail service

2023-11-25 Thread Oswald Buddenhagen
On Sat, Nov 25, 2023 at 01:02:43PM +, Tomas Nordin wrote: Does it confirm any suspicions maybe? yes. you need to try GSSAPI, and if that still doesn't work, PLAIN. and change your password immediately, as you just managed to disclose it publicly ... ___

Re: Trying to sync an ms exchange mail service

2023-11-20 Thread Oswald Buddenhagen
On Sun, Nov 19, 2023 at 03:38:36PM +, tom...@posteo.net wrote: IMAP command 'AUTHENTICATE NTLM TlRMTVNTUAABBwIgACA=' returned an error: NO AUTHENTICATE failed. can you get a log from offlineimap to see what it is doing? my guess would be that it's not using NTLM, e

Re: Automatically removing mail off server upon retrieval

2023-11-10 Thread Oswald Buddenhagen
On Wed, Nov 08, 2023 at 12:40:21PM +1100, Michael Skec via isync-devel wrote: I was wondering if it is possible to configure isync in such a way that a remote IMAP server essentially behaves as a POP3 server, no, this is inimical to isync's very idea. just use fetchmail instead. regards

Re: UID error messages

2023-10-02 Thread Oswald Buddenhagen
On Sun, Oct 01, 2023 at 12:39:59PM -0700, Felix Lechner via isync-devel wrote: As a concept, UIDs relate more to IMAP than to Maildir, not really. but mbsync shows messages like "Maildir error: duplicate UID 1." Should such errors point to IMAP instead? no. your local mailbox is somehow

Re: possible issue with microsoft 365 and html mail

2023-09-24 Thread Oswald Buddenhagen
On Sat, Sep 23, 2023 at 11:25:04AM -0400, npiazza--- via isync-devel wrote: I'm wondering where the difference in the two messages' structures (at least as seen by mutt) comes from, i would guess that gmail does that upon reception. https://www.gmass.co/blog/gmail-api-html-plain-text-messages/

Re: [PATCH] Implementing IncludeCmd (feature request #17)

2023-08-31 Thread Oswald Buddenhagen
On Thu, Aug 31, 2023 at 10:58:27AM +0200, Michiel van den Heuvel wrote: so if you think it would be a good use of *your* time, then go ahead. After some somewhat more synchronous communication, it might be. are you asking for a chat channel? i'm @ossi:kde.org on matrix, ossi on libera.chat ir

Re: Restore after crash

2023-08-31 Thread Oswald Buddenhagen
On Thu, Aug 31, 2023 at 06:54:06AM -0700, Robert Bower wrote: My situation is actually the oppisiate. My Ubuntu machine was running 1.3 and the mint machine is running 1.4. right, the journal handling is not backward compatible, unlike that of the proper state file. so you need to install the

Re: Restore after crash

2023-08-31 Thread Oswald Buddenhagen
On Wed, Aug 30, 2023 at 11:16:47AM -0700, Robert Bower wrote: Error: incompatible journal version (got 3, expected 4) it means you downgraded isync. you need to build a newer version (1.4) yourself if there are no backports for your mint version. regards

Re: [PATCH] Implementing IncludeCmd (feature request #17)

2023-08-26 Thread Oswald Buddenhagen
On Sat, Aug 26, 2023 at 02:09:49PM +0200, JWM van den Heuvel wrote: The previous mail was me sending -- instead of saving -- a draft. My bad. thought so. no worries. The perl scripts are a work of art and make me want to punch something. compliment accepted. :'-D A nice future refactorin

Re: [PATCH] Implementing IncludeCmd (feature request #17)

2023-08-22 Thread Oswald Buddenhagen
On Tue, Aug 22, 2023 at 12:42:25PM +0200, Michiel van den Heuvel wrote: >I don't suppose you have some formatter config file? > bah! Real Hackers (TM) write their own formatters as shell-perl hybrids with recursive regular expressions. ON PUNCH CARDS. I'll trade you my magnetic needles so you

Re: [PATCH] Implementing IncludeCmd (feature request #17)

2023-08-18 Thread Oswald Buddenhagen
On Thu, Aug 17, 2023 at 08:27:51PM +0200, Michiel van den Heuvel wrote: eval => included, i guess. Changed it, but are you sure? Now that the command is called `Eval`? well, you cut away the part where i kind of implied that it really should be IncludeCmd. (it kind of is awkward, but i think

Re: Socket Error, Possible protocol violation

2023-08-18 Thread Oswald Buddenhagen
On Fri, Aug 18, 2023 at 08:37:52AM -0400, brittanderson--- via isync-devel wrote: Thank you for the follow-up. I just had another message that provoked this error. This one from protonmail, so it is not a microsoft exchange specific issues, and I do not use davmail for the protonmail account.

Re: Socket Error, Possible protocol violation

2023-08-17 Thread Oswald Buddenhagen
On Thu, Aug 17, 2023 at 07:59:09AM -0400, brittanderson--- via isync-devel wrote: The error has reoccured. It is: Socket error: receive buffer full. Probably protocol error. hmm, this might in fact be one of the two regressions that prevent me from releasing 1.5.0 - i honestly don't remember,

Re: [PATCH] Implementing IncludeCmd (feature request #17)

2023-08-17 Thread Oswald Buddenhagen
hi! On Thu, Aug 17, 2023 at 10:59:48AM +0200, Michiel van den Heuvel wrote: I named the command `Eval` instead of `IncludeCmd` because it seemed clearer to me, but you're welcome to change that. my thinking was that IncludeCmd would nicely complement a hypothetical Include command, following t

Re: Socket Error, Possible protocol violation

2023-08-16 Thread Oswald Buddenhagen
On Tue, Aug 15, 2023 at 02:31:11PM -0400, brittanderson--- via isync-devel wrote: Oswald Buddenhagen writes: the two sides have different uids. the ones appearing in the imap stream don't match the local mailboxes. the complete output contains the local (or more precisely, near-side) ui

Re: Socket Error, Possible protocol violation

2023-08-15 Thread Oswald Buddenhagen
On Tue, Aug 15, 2023 at 10:47:12AM -0400, Britt Anderson via isync-devel wrote: Because of the "fetch" issue I upgraded from 1.4.4 to master, which "fetch" issue in particular are you referring to? which was been running well when I got a non-zero exit code because of socket error with a stat

Re: a more general question

2023-08-10 Thread Oswald Buddenhagen
On Wed, Aug 09, 2023 at 10:31:01PM +0200, Peter P. wrote: Is this supposed to keep email on all three computers in sync? yes If yes, is this also the case for a folder that is present on all three but that I use as a trash from withing mutt (on both nearsides)? Because I discover emails in th

Re: [PATCH] Add environment variable support to Path

2023-08-06 Thread Oswald Buddenhagen
On Sat, Aug 05, 2023 at 07:21:02PM +0200, Michiel van den Heuvel wrote: Do you agree that implementing `IncludeCmd` would supersede my previous patch? yeah, i'd say so. it's somewhat more costly at runtime, but that shouldn't matter, and it would be more flexible. I'll try to cook something

Re: [PATCH] Add environment variable support to Path

2023-08-04 Thread Oswald Buddenhagen
On Fri, Aug 04, 2023 at 09:44:40PM +0200, Michiel van den Heuvel wrote: This patch adds support for environment variable expansion to the configuration options that encode a path. This would get rid of some templating for my own configuration, and might prove useful for others with integrating wi

Re: gmail times out

2023-08-01 Thread Oswald Buddenhagen
On Tue, Aug 01, 2023 at 11:53:01AM +, Pier via isync-devel wrote: I have a pretty huge mail (work email) which I'm trying to sync with mbsync however, I keep getting a timeout when it tries to sync a large directory: Socket error on imap.gmail.com (142.251.16.108:993): timeout. did you sea

Re: Outlook server timeout'ing on mbsync only

2023-07-17 Thread Oswald Buddenhagen
On Mon, Jul 17, 2023 at 01:01:42PM +0100, Abdul-Lateef Haji-Ali via isync-devel wrote: Today, I start experiencing issues when mbsync connects to an Outlook server. Socket error on outlook.office365.com (52.98.236.146:993): timeout. However, other clients seem to be able to connect to the IM

Re: Finding offending message that breaks the Sender/From requirement

2023-07-16 Thread Oswald Buddenhagen
On Sun, Jul 16, 2023 at 02:05:51AM +, hus...@alshehhi.io wrote: Is there a way to find the offending message? probably the easiest way is to add -DN to the mbsync arguments. then you can directly grep for the message's content. regards ___ isy

Re: Dealing with forgetting to sync

2023-07-13 Thread Oswald Buddenhagen
On Wed, Jul 12, 2023 at 09:01:00PM +0200, Einar Largenius wrote: Warning: lost track of 1 pulled message(s) Warning: lost track of 1 pushed message(s) these are just warnings that something went wrong during the last sync run, and they become obsolete right after they were printed. the next is

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

Re: Trash and Expunge interaction

2023-05-24 Thread Oswald Buddenhagen
On Tue, May 23, 2023 at 11:19:14AM +0200, sourcefo...@toonn.io wrote: One bit of trouble I'm having is that my provider's webmail doesn't show e-mails with the IMAP Deleted tag. So when NeoMutt tags something as trashed the e-mail is invisible in the webmail UI, no matter the folder, and mbsync d

Re: isync and IMAP permissions

2023-05-14 Thread Oswald Buddenhagen
On Sun, May 14, 2023 at 02:25:58PM +0500, Eugene M. Zheganin via isync-devel wrote: Is there any trick ? i have no clue, but the "Expunge None" is wrong regardless. ___ isync-devel mailing list isync-devel@lists.sourceforge.net https://lists.source

Re: mbsync 1.4.4 errors out (buffer too small) on large mail account

2023-03-28 Thread Oswald Buddenhagen
On Tue, Mar 28, 2023 at 02:50:54PM +0200, Niklaus Hofer wrote: Here is the requested output. hmpf, that didn't help. let's try something else: make sure that you have a debug info package installed for isync, and then run the sync with -Dd on the command line. that should drop you into a gdb

Re: mbsync 1.4.4 errors out (buffer too small) on large mail account

2023-03-28 Thread Oswald Buddenhagen
On Tue, Mar 28, 2023 at 10:02:57AM +0200, Niklaus Hofer wrote: C: 0/1 B: 3919/5470 F: +0/0 *0/0 #0/0 N: +1621/1625 *222/222 #0/0Fatal: buffer too small. Please report a bug. Aborted As you can see, the mailbox has about 5.5k folders which are pretty deeply nested, too. It also contains som

Re: Advice on email backup

2023-03-18 Thread Oswald Buddenhagen
On Sat, Mar 18, 2023 at 08:29:31PM +0100, H wrote: For that to work, I would have to configure Thunderbird to use Maildir rather than the default mboxrd message format, correct? no. that part of the procedure doesn't have anything to do with isync, and don't see any other reason why maildir s

Re: Humble question

2023-03-18 Thread Oswald Buddenhagen
On Sat, Mar 18, 2023 at 07:00:27PM +0100, Henrik Frisk wrote: sync.c:1207:8: error: implicit declaration of function 'fdatasync' [-Werror,-Wimplicit-function-declaration] Do you have a workaround for that? --- a/src/common.h +++ b/src/common.h @@ -172,7 +172,7 @@ void flushn( void ); char *xv

Re: Humble question

2023-03-16 Thread Oswald Buddenhagen
On Thu, Mar 16, 2023 at 04:38:27PM +0100, Henrik Frisk wrote: and finally this 116 UID STORE 8910 +FLA8 OK STORE completed. well, this is just more garbage. it appears that some bytes from the data stream are just dropped, but it will be tough to figure out where that happens - could be somew

Re: Advice on email backup

2023-03-16 Thread Oswald Buddenhagen
On Thu, Mar 16, 2023 at 04:26:03PM +0100, H wrote: I also realized that I, in addition, have several zipped Thunderbird mail archives that I also ought to "dump" into this to-be consolidated mail archive. It is my understanding that Thunderbird (I have been using version 59) uses the mboxrd for

Re: Humble question

2023-03-16 Thread Oswald Buddenhagen
On Thu, Mar 16, 2023 at 02:39:24PM +0100, Henrik Frisk wrote: IMAP command 'UID STORE 9154 +FLAGS.SILENT (\Deleted)' returned an error: UID STORE 9154 +FLAG516 UID STORE 9290 +FLAG12 OK STORE completed. looks like a garbage response from the server. try adding -Dn to the command line for some m

Re: Advice on email backup

2023-03-14 Thread Oswald Buddenhagen
On Tue, Mar 14, 2023 at 08:37:27PM +0100, H wrote: I have never used mutt - do I install it on one of my workstations and then access the  mail backup directory on the server over whatever suitable connection? via imap. possible, but i wouldn't do that. Or, do I install it on my server and r

Re: Advice on email backup

2023-03-14 Thread Oswald Buddenhagen
On Tue, Mar 14, 2023 at 07:35:18PM +0100, H wrote: which Linux email client would you suggest to prune the consolidate email directories? use mutt, then the de-duplication business boils down to typing 'D~=' in each folder (this does message-id based de-duplication, but that should be good en

Re: Pushing Android Outlook emails to O365 server email account

2023-02-07 Thread Oswald Buddenhagen
On Mon, Feb 06, 2023 at 01:54:03PM -0500, H wrote: Can I (1) get them out of Android Outlook into eg. mbsync format, the mails are presumably stored in some kind of database. you'll need to research that and available tools yourself. if you're lucky, the app will allow you to configure a seco

Re: timeout due to debug output

2023-01-28 Thread Oswald Buddenhagen
On Fri, Jan 27, 2023 at 10:36:19AM +0100, Uwe Kleine-König wrote: mbsync -V -DDMns (note that -D implies -V.) My interpretation is that some reply is expected from the far side (line 24) so a timeout (default value 20s) is setup. Then mbsync proceeds to load the local box. With the given deb

Re: [PATCH] gitignore TAGS and GTAGS files

2023-01-09 Thread Oswald Buddenhagen
On Sun, Jan 08, 2023 at 08:25:43PM +, Husain Alshehhi wrote: GTAGS and TAGS are generated by the targets GTAGS and TAGS in the makefile. oh, they appear to be automake standard targets. the commit message should mention that. also, have a look at the distclean-tags target - there appears t

Re: [PATCH] gitignore TAGS and GTAGS files

2023-01-08 Thread Oswald Buddenhagen
On Sun, Jan 08, 2023 at 05:14:02AM +, Husain Alshehhi wrote: TAGS and GTAGS generate files to index the src. These files should not be included in source control. i'm not convinced that this should be included upstream. it's not part of the build system, so it must be something you did loca

Re: Odg: Logging in to O365 account

2023-01-02 Thread Oswald Buddenhagen
On Sun, Jan 01, 2023 at 01:14:25PM -0500, H wrote: nor does AuthMechs support XOAUTH2, only EXTERNAL LOGIN PLAIN ANONYMOUS. then you presumably didn't install the xoauth2 sasl plugin (correctly). ___ isync-devel mailing list isync-devel@lists.sour

Re: Logging in to O365 account

2022-12-24 Thread Oswald Buddenhagen
On Fri, Dec 23, 2022 at 10:32:10PM -0500, H wrote: Could anyone point me to a good tutorial or example? I understand I need to find some oauth2 library to use but am unsure which one? there was a relevant post here just recently. see the archive. _

Re: SSL routines::unexpected eof while reading

2022-12-24 Thread Oswald Buddenhagen
On Sat, Dec 24, 2022 at 09:18:50AM +0100, Peter P. wrote: As far as I understand it, this error happens when the connection is closed? Is there a workaround or can this only be fixed in a newer version of the isync package? i don't have the faintest. :} is the master branch able to connect (use

Re: internaldate parsing error on fastmail

2022-12-23 Thread Oswald Buddenhagen
On Fri, Dec 23, 2022 at 05:53:27PM +0100, Peter P. wrote: What can I try next? Thank you! post the last lines of the mbsync output with -Dn. ___ isync-devel mailing list isync-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/

Re: exclude local folders from synchronization

2022-12-12 Thread Oswald Buddenhagen
On Mon, Dec 12, 2022 at 09:25:48PM +, tetume...@posteo.net wrote: "Patterns INBOX !INBOX_archive" But, this seems not to work. May I be doing something wrong with the syntax for the Pattern keyword? can't say without the rest of the config file. have a look at the mbsync -l output. __

Re: Office365: IMAP error: selected SASL mechanism(s) not available

2022-12-07 Thread Oswald Buddenhagen
On Wed, Dec 07, 2022 at 11:59:05AM +, Mario Župan wrote: I got:    IMAP command 'LOGIN ' returned an error: LOGIN failed. most likely the username or password is subtly incorrect. maybe you have unescaped quotes in the password? I got: IMAP error: selected SASL mechanism(s) not avai

Re: Subfolders not synchronizing (near side box cannot be opened)

2022-11-24 Thread Oswald Buddenhagen
On Thu, Nov 24, 2022 at 11:38:02AM +0100, Alan Schmitt wrote: Am I doing something wrong? yes, you forgot the trailing slash on Path. ___ isync-devel mailing list isync-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/isync-d

Re: IMAP command 'UID FET)' returned an error

2022-11-14 Thread Oswald Buddenhagen
On Mon, Nov 14, 2022 at 02:31:37PM +0100, Marko Bauhardt wrote: the bsd community was able to help. http://mail-index.netbsd.org/netbsd-users/2022/11/14/msg029205.html the arm based strlen function isn't correct implemented. using `configure` and ignore strlen internal function fixes the issue

Re: Prefer local IMAP or Maildir store?

2022-11-14 Thread Oswald Buddenhagen
On Mon, Nov 14, 2022 at 12:52:16AM +0200, Fabian Ritzmann via isync-devel wrote: I would like to sync a number of mailboxes (mailbox.org/GMail/GMX) to a local Dovecot installation with one user account. Since Dovecot uses Maildir++ format, I could configure mbsync to write either to the same mail

Re: IMAP command 'UID FET)' returned an error

2022-11-08 Thread Oswald Buddenhagen
On Tue, Nov 08, 2022 at 05:35:45PM +0100, Marko Bauhardt wrote: Hi, that looks like a good start, but you still need to make the addresses usable: gdb mbsync l *0x650d7c30 q I executed, [...] why would you do any of that? the idea was to make the sanitizer dump readable, for which the a

  1   2   3   4   5   6   7   8   9   10   >