Simple muttrc file for accessing Gmail imap

Jude DaShiell jdashiel at panix.com
Mon Sep 23 00:51:16 UTC 2019


In order to create an app password, google will need your cell phone
number for verification and later security contacts should those become
necessary.

On Sun, 22 Sep 2019, Hokan wrote:

> Date: Sun, 22 Sep 2019 20:46:58
> From: Hokan <hokan.hokan at gmail.com>
> To: mutt-users at mutt.org
> Subject: Re: Simple muttrc file for accessing Gmail imap
>
> You'll also need to set "less secure password" or create an "app password".
>
> Or set up Oauth, but that'll take a bit of work.
>
>
> On Sun, Sep 22, 2019 at 07:11:10PM -0400, D.J.J. Ring, Jr. wrote:
> > I've been trying to help someone set up mutt for gmail imap using
> > mutt's internal support for IMAP.
> >
> > I have been going nuts.  Something's wrong but I cannot figure out why it fails.
> >
> > I just remembered that gmail has to have IMAP switched ON by using the
> > gmail settings online.:
> >
> > For the Gmail IMAP settings to work in your email client, IMAP access
> > must be enabled in Gmail online.
> >
> > https://www.lifewire.com/how-to-enable-gmail-via-imap-1170856
> >
> > HOW TO Activate IMAP in Gmail
> >
> > To access a Gmail account in your email program or mobile device via
> > the IMAP protocol, activate IMAP in Gmail.
> >
> > Open Gmail in a web browser.
> >
> > Choose Settings (the gear icon).
> >
> > Select Settings.
> >
> > Select the Forwarding and POP/IMAP tab.
> >
> > In the IMAP access section, select Enable IMAP.
> >
> > Leave the other settings on the default selections.
> >
> > Select Save Changes.
> >
> > That's it.
> >
> > Duh!  It's been so long since I enabled that setting, I forgot it had
> > to be done.
> >
> > Regards,
> >
> > David
> >
> > On Sat, Aug 24, 2019 at 4:06 PM Jude DaShiell <jdashiel at panix.com> wrote:
> > >
> > > Yes, those macros work and do so silently.  Thanks for the macros and
> > > the idea to bind stuff to the comma key.  I hadn't thought of that one
> > > before.
> > >
> > > On Sat, 24 Aug 2019, Mark Frank wrote:
> > >
> > > > Date: Sat, 24 Aug 2019 14:00:27
> > > > From: Mark Frank <mark at markanderika.com>
> > > > To: mutt-users at mutt.org
> > > > Subject: Re: Simple muttrc file for accessing Gmail imap
> > > >
> > > > On Sat, Aug 24, 2019 at 1:21 PM Jude DaShiell <jdashiel at panix.com> wrote:
> > > >
> > > > > mutt is set up to download pop3 but has no keyboard shortcut to download
> > > > > imap or didn't the last time I went through its documentation.
> > > > >
> > > > >
> > > > I've had this in my muttrc for years.  Don't  if if any of these values are
> > > > optimum as I don't use mutt much anymore but it does work.
> > > >
> > > >
> > > > $ grep imap ./.mutt/muttrc | egrep -v ^#
> > > > set spoolfile=imaps://imap.gmail.com/INBOX
> > > > set folder=imaps://imap.gmail.com/
> > > > set imap_keepalive = 900
> > > > set imap_user='mark at markanderika.com'
> > > > set imap_pass=xxxxxxxxx
> > > > set imap_keepalive=300
> > > > unset imap_passive
> > > > set postponed=imaps://stag.mark-and-erika.com/INBOX.postponed
> > > > macro index ,g <imap-fetch-mail> "force retrieval of mail from IMAP server"
> > > > macro pager ,g <imap-fetch-mail> "force retrieval of mail from IMAP server"
> > > >
> > >
> > > --
> > >
>
>

-- 



More information about the Mutt-users mailing list