Re: systemd timer not working

2022-07-23 Thread Vikas Rawal
> > > > > i guess? systemd has protection mechanisms against error floods. you can > > configure the exact behavior. > > Can you kindly point to how? Is there a way of telling systemd to just > silently ignore these errors? > > This seems to make systemd ignore the errors: https://stackoverflow.co

Re: systemd timer not working

2022-07-23 Thread Vikas Rawal
> > I think it is working at the moment. But it stops every now and then. As > > you would see below, mbsync.service also ends with an error. There is no > > such error when I run mbsync -V daily myself. > > > the error is certainly stochastic, so it's more likely to occur when you > auto-poll ofte

Re: systemd timer not working

2022-07-21 Thread Vikas Rawal
I think it is working at the moment. But it stops every now and then. As you would see below, mbsync.service also ends with an error. There is no such error when I run mbsync -V daily myself. Is this error makes systemd stop running it repeatedly? > Please run the following commands: > > systemct

Re: systemd timer not working

2022-07-21 Thread Vikas Rawal
I have modified the scripts slightly based on recommendations on this thread. But this still does not work. I am just looking for mbsync to run every two minutes. What do most people use? It is crazy that something so obvious should be so difficult to get right. Vikas --- # mbsync.service [Un

systemd timer not working

2022-07-14 Thread Vikas Rawal
I am somehow unable to get systemd to run mbsync regularly. I have created the following files and enabled them. Would appreciate any pointers about what might be wrong here. VR - *~/.config/systemd/user/mbsync.service:* [Unit] Description=Mbsync synchronization service [Service] Type=one

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 sync mails with that. Doesn't lo

Re: expunge emails on gmail and locally

2021-09-24 Thread Vikas Rawal
First of all, thanks Oswald and jrun for your responses. There are many scattered emails in the mailing list archives related to gmail's behaviour and it is not easy to find what is relevant to fix the problem one is facing. I had in fact tried but failed to resolve it. So, pointed suggestions of j

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 simply adds a notmuc

Re: Error: unrecognized sync state header entry at [path-to-my-maildir]/.mbsyncstate:1

2021-09-14 Thread Vikas Rawal
Looks like a problem caused by having different versions of isync on the two machines. Fixed by upgrading. Vikas On Tue, 14 Sept 2021 at 21:39, Vikas Rawal wrote: > I have moved my maildirs to a new computer. But when I run mbsync on this > computer, I am getting errors as follows: >

Error: unrecognized sync state header entry at [path-to-my-maildir]/.mbsyncstate:1

2021-09-14 Thread Vikas Rawal
I have moved my maildirs to a new computer. But when I run mbsync on this computer, I am getting errors as follows: Error: unrecognized sync state header entry at at [path-to-my-maildir]/.mbsyncstate:1 If I remove .mbsyncstate, mbsync downloads all the mails again, duplicating everything. What s

Re: Error: incompatible journal version (got 3, expected 4)

2021-04-25 Thread Vikas Rawal
Thanks. That took care of the problem. Vikas On Sun, 25 Apr 2021 at 18:15, Oswald Buddenhagen wrote: > On Sun, Apr 25, 2021 at 04:36:23PM +0530, Vikas Rawal wrote: > >I removed the local mailbox, and created an empty maildir (SentMail > >directory with cur, new and tmp subdi

Re: Error: incompatible journal version (got 3, expected 4)

2021-04-25 Thread Vikas Rawal
2021 at 15:33, Oswald Buddenhagen wrote: > On Sat, Apr 24, 2021 at 06:18:20AM +0530, Vikas Rawal wrote: > >Could somebody point me to what the problem might be? > > > it means that you upgraded after a non-clean exit (crash?). > > the proper way to recover would be to downgra

Error: incompatible journal version (got 3, expected 4)

2021-04-25 Thread Vikas Rawal
I am getting this error for one of my mailboxes: Channel gmail-sent Far :gmail-remote:"\[Gmail\]/Sent\ Mail" Near :gmail-local:SentMail Could somebody point me to what the problem might be? Thanking you, Vikas ___ isync-devel mailing list isync-devel@

Re: Unable to expunge mails from server or local storage

2018-10-14 Thread Vikas Rawal
Also, to add: in my gmail account settings, auto-expunge is turned off, and mails are set to "Immediately delete the message forever" when it is deleted and expunged from the last visible IMAP folder. Thanks in advance for any advice. Vikas On Mon, Oct 15, 2018 at 7:08 AM Vikas Ra

Unable to expunge mails from server or local storage

2018-10-14 Thread Vikas Rawal
My mbsync config does not expunge messages from server or local storage. Whatever is deleted on the server (using gmail's web interface) does not propagate to the local stoage and what I delete (or move) locally (using neomutt), does not get deleted on the server. Would really appreciate help as m