Re: Preferred way to get imap emails

2019-07-30 Thread Pankaj Jangid
On Tue, Jul 30, 2019 at 02:57:26PM -0500, Derek Martin wrote: > Joining any community requires to at least some extent that you gain > that community's trust. Your posts thusfar have not earned you that. > May be over time, I'll gain it. :-) all well now. -- Pankaj Planet Earth. "" A nasty l

Re: Preferred way to get imap emails

2019-07-30 Thread Pankaj Jangid
On Tue, Jul 30, 2019 at 02:52:27PM -0500, Derek Martin wrote: > > Honestly speaking, I have tried a couple of tools - offlineimap, mbsync > > and fetchmail. All are flawed. > > I don't know what you think the flaws are with this, but I can say > that I use fetchmail + procmail for this purpose my

Re: Preferred way to get imap emails

2019-07-30 Thread Derek Martin
On Tue, Jul 30, 2019 at 03:00:32AM +0530, Pankaj Jangid wrote: > On Mon, Jul 29, 2019 at 01:50:54PM -0700, Kevin J. McCarthy wrote: > > If you want to participate in development, then please do so by starting > > small and showing me I can trust your patches. After you've done that, we > > can tal

Re: Preferred way to get imap emails

2019-07-30 Thread Derek Martin
On Tue, Jul 30, 2019 at 01:47:35AM +0530, Pankaj Jangid wrote: > On Mon, Jul 29, 2019 at 03:13:37PM -0400, Dan Ritter wrote: > > IMAP is, explicitly, a mail protocol for clients to do the > > minimal amount of fetching necessary. You can do a full sync on > > top of it, but that's not what it's the

Re: Preferred way to get imap emails

2019-07-30 Thread Pankaj Jangid
On Tue, Jul 30, 2019 at 03:05:15PM +0200, Marcus C. Gottwald wrote: > Fetch them as soon as new mail becomes visible or once after entering > a folder? Maybe the latter can get achieved using a folder-hook (or a > manually executed key press) triggering the execution of a macro along > the lines of

Re: Preferred way to get imap emails

2019-07-30 Thread Marcus C. Gottwald
Pankaj Jangid wrote (Sat 2019-Jul-27 20:58:20 +0530): > My 2nd question is - is there a way to pre-fetch all the emails in inbox. Fetch them as soon as new mail becomes visible or once after entering a folder? Maybe the latter can get achieved using a folder-hook (or a manually executed key pre

Re: Preferred way to get imap emails

2019-07-29 Thread Matthias Apitz
I'm a mutt user for many years. From time to time I do miss a feature in mutt to mark a given thread as "do not present any mail of this thread anymore, just collapse them and mark for deletion on exit". This is such a thread I would mark as this. matthias -- Matthias Apitz, ✉ g...@un

Re: Preferred way to get imap emails

2019-07-29 Thread Pankaj Jangid
On Mon, Jul 29, 2019 at 01:50:54PM -0700, Kevin J. McCarthy wrote: > If you want to participate in development, then please do so by starting > small and showing me I can trust your patches. After you've done that, we > can talk about larger changes. > This is really encouraging. -- Pankaj Pla

Re: Preferred way to get imap emails

2019-07-29 Thread Kevin J. McCarthy
On Tue, Jul 30, 2019 at 01:47:35AM +0530, Pankaj Jangid wrote: I may start it's implementation after a philosophical debate here. Please don't. You've been here all of, what, less than two weeks? You've shown a lack of understanding of basic mutt concepts, and spent far more time talking tha

Re: Preferred way to get imap emails

2019-07-29 Thread Pankaj Jangid
On Mon, Jul 29, 2019 at 03:13:37PM -0400, Dan Ritter wrote: > Mail used to come from servers to clients via POP. It was > essentially a full-push of a mailbox. Bidirectional sync was > not a good idea. > IMAP is, explicitly, a mail protocol for clients to do the > minimal amount of fetching necess

Re: Preferred way to get imap emails

2019-07-29 Thread Pankaj Jangid
On Mon, Jul 29, 2019 at 12:54:04PM -0500, Derek Martin wrote: > Because this again is how IMAP works--you're meant to read the message > off the server, and it's downloaded on demand. If you had to > pre-fetch all the messages, this could take a very long time, > especially if you were looking at

Re: Preferred way to get imap emails

2019-07-29 Thread Derek Martin
On Sat, Jul 27, 2019 at 10:58:22PM +0530, Pankaj Jangid wrote: > > > I have configured cache so it doesn't happen everytime with the same > > > email. My 2nd question is - is there a way to pre-fetch all the > > > emails in inbox. > > > > I don't think so -- not without using something like offlin

Re: Preferred way to get imap emails

2019-07-29 Thread Pankaj Jangid
On Mon, Jul 29, 2019 at 12:32:42PM -0500, Derek Martin wrote: > > The only problem with mbsync is that it doesn't have a "daemon > > mode", so I had to write a script that runs it every N seconds. > > But that's a trivial complaint. > > There are any number of solutions to this, but... cron? It's

Re: Preferred way to get imap emails

2019-07-29 Thread Derek Martin
On Sat, Jul 27, 2019 at 02:57:20PM -0600, Akkana Peck wrote: > The only problem with mbsync is that it doesn't have a "daemon > mode", so I had to write a script that runs it every N seconds. > But that's a trivial complaint. There are any number of solutions to this, but... cron? It's probably m

Re: Preferred way to get imap emails

2019-07-28 Thread Pankaj Jangid
> > Homebrew. And isync provides a daemon by the same name. I just had to > > > > brew services start isync > > That service is not part of isync but of the packaging [1]. > > Personally, I'm using the systemd service + timer from [2] on Linux. If > you read [1], it shows that they do exactly th

Re: Preferred way to get imap emails

2019-07-28 Thread lists
On Sun, Jul 28, 2019 at 08:44:09AM +0530, Pankaj Jangid wrote: > I don't know which distribution you are on. Right now I am on macOS and > installed mbsync using Homebrew. mbsync comes under isync package in > Homebrew. And isync provides a daemon by the same name. I just had to > > brew services

Re: Preferred way to get imap emails

2019-07-28 Thread Patrick Shanahan
* Erik Christiansen [07-28-19 04:06]: > On 28.07.19 12:21, Cameron Simpson wrote: > > On 27Jul2019 22:40, Pankaj Jangid wrote: > > > On Sat, Jul 27, 2019 at 11:41:52AM -0400, Patrick Shanahan wrote: > > > > I still use fetchmail and with imap accounts including google. and > > > > have no proble

Re: Preferred way to get imap emails

2019-07-28 Thread Erik Christiansen
On 28.07.19 12:21, Cameron Simpson wrote: > On 27Jul2019 22:40, Pankaj Jangid wrote: > > On Sat, Jul 27, 2019 at 11:41:52AM -0400, Patrick Shanahan wrote: > > > I still use fetchmail and with imap accounts including google. and > > > have no problem. > > > > > Probably I'll try it again. This wa

Re: Preferred way to get imap emails

2019-07-27 Thread Pankaj Jangid
On Sun, Jul 28, 2019 at 12:21:47PM +1000, Cameron Simpson wrote: > On 27Jul2019 22:40, Pankaj Jangid wrote: > > On Sat, Jul 27, 2019 at 11:41:52AM -0400, Patrick Shanahan wrote: > > > I still use fetchmail and with imap accounts including google. and > > > have no problem. > > > > > Probably I'l

Re: Preferred way to get imap emails

2019-07-27 Thread Pankaj Jangid
On Sat, Jul 27, 2019 at 02:57:20PM -0600, Akkana Peck wrote: > > > I have getmail working pulling email from my gmail account using imap > > > and it only grabs the new mail for me each time I run it and I open up > > > mutt and go through the email then mutt purges what I deleted as it > > > exits

Re: Preferred way to get imap emails

2019-07-27 Thread Cameron Simpson
On 27Jul2019 22:40, Pankaj Jangid wrote: On Sat, Jul 27, 2019 at 11:41:52AM -0400, Patrick Shanahan wrote: I still use fetchmail and with imap accounts including google. and have no problem. Probably I'll try it again. This was my favourite tool. But then I check that there is no change in

Re: Preferred way to get imap emails

2019-07-27 Thread Akkana Peck
Pankaj Jangid writes: > On Sat, Jul 27, 2019 at 12:41:21PM -0400, Jude DaShiell wrote: > > I have getmail working pulling email from my gmail account using imap > > and it only grabs the new mail for me each time I run it and I open up > > mutt and go through the email then mutt purges what I delet

Re: Preferred way to get imap emails

2019-07-27 Thread Pankaj Jangid
On Sat, Jul 27, 2019 at 12:41:21PM -0400, Jude DaShiell wrote: > I have getmail working pulling email from my gmail account using imap > and it only grabs the new mail for me each time I run it and I open up > mutt and go through the email then mutt purges what I deleted as it > exits. > That's a

Re: Preferred way to get imap emails

2019-07-27 Thread Pankaj Jangid
On Sat, Jul 27, 2019 at 04:24:53PM -, Grant Edwards wrote: > I've been using mutt with Gmail for 10-15 years, and I just point mutt > at Gmail's IMAP server and leave all of the email on that server. > [That sounds like what you have now.] > Yes. Using this configuration right now. > Yep, tha

Re: Preferred way to get imap emails

2019-07-27 Thread Pankaj Jangid
On Sat, Jul 27, 2019 at 06:19:10PM +0200, Matthias Apitz wrote: > I always use fetchmail and pass the mails locally through > sendmail --> procmail --> SpamAssassin --> /var/mail/guru >\-> /var/mail/spam > to get the SPAM filtered out and to get all my mails

Re: Preferred way to get imap emails

2019-07-27 Thread Pankaj Jangid
On Sat, Jul 27, 2019 at 11:41:52AM -0400, Patrick Shanahan wrote: > > I still use fetchmail and with imap accounts including google. and have > no problem. > Probably I'll try it again. This was my favourite tool. But then I check that there is no change in the repository since very long. I was

Re: Preferred way to get imap emails

2019-07-27 Thread Jude DaShiell
:53 > From: Grant Edwards > To: mutt-users@mutt.org > Subject: Re: Preferred way to get imap emails > > On 2019-07-27, Pankaj Jangid wrote: > > > I have very recently switched back to mutt. My 1st question is - is > > the preferred way to get imap emails in the mutt inb

Re: Preferred way to get imap emails

2019-07-27 Thread Grant Edwards
On 2019-07-27, Pankaj Jangid wrote: > I have very recently switched back to mutt. My 1st question is - is > the preferred way to get imap emails in the mutt inbox. I've been using mutt with Gmail for 10-15 years, and I just point mutt at Gmail's IMAP server and leave all of the email on that ser

Re: Preferred way to get imap emails

2019-07-27 Thread Matthias Apitz
El día sábado, julio 27, 2019 a las 08:58:20p. m. +0530, Pankaj Jangid escribió: > Hi, > > I have very recently switched back to mutt. My 1st question is - > is the preferred way to get imap emails in the mutt inbox. 12 years back > I used to fetch everything using fetchmail, using POP3. But now

Re: Preferred way to get imap emails

2019-07-27 Thread Patrick Shanahan
* Pankaj Jangid [07-27-19 11:29]: > Hi, > > I have very recently switched back to mutt. My 1st question is - > is the preferred way to get imap emails in the mutt inbox. 12 years back > I used to fetch everything using fetchmail, using POP3. But now I have a > Gmail account and Gmail is mostly op