Preferred way to get imap emails

Pankaj Jangid pankaj.jangid at gmail.com
Sun Jul 28 03:14:09 UTC 2019


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.
> > > 
> > That's a good choice if you just want to read inbox and clear up junk. I
> > wanted to have all my IMAP folders synced locally. I am trying out
> > mbsync. Let's see how it goes.
> 
> I've had the best luck with mbsync; it worked much better for me
> than offlineimap or mailsync.
> 
> 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.
> 
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 start isync

It is working fine as of now. Let's see how it goes after a few sleep
and wakeup cycles of my macbook.

-- 
Pankaj
Planet Earth. 

""
	There was once a programmer who worked upon microprocessors.  "Look at
how well off I am here," he said to a mainframe programmer who came to visit,
"I have my own operating system and file storage device.  I do not have to
share my resources with anyone.  The software is self-consistent and
easy-to-use.  Why do you not quit your present job and join me here?"
	The mainframe programmer then began to describe his system to his
friend, saying: "The mainframe sits like an ancient sage meditating in the
midst of the data center.  Its disk drives lie end-to-end like a great ocean
of machinery.  The software is a multi-faceted as a diamond and as convoluted
as a primeval jungle.  The programs, each unique, move through the system
like a swift-flowing river.  That is why I am happy where I am."
	The microcomputer programmer, upon hearing this, fell silent.  But the
two programmers remained friends until the end of their days.
		-- Geoffrey James, "The Tao of Programming"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.mutt.org/pipermail/mutt-users/attachments/20190728/91cb542a/attachment-0001.asc>


More information about the Mutt-users mailing list