How do I set up a gmail account?

Luciano ES lucmove at gmail.com
Wed May 8 02:56:56 UTC 2019


Hello. Coming back to mutt after a very long time.

I've never been able to make it work with Gmail accounts. I still can't.

I'm trying this:

folder-hook gmail 'set realname="Just Me"'
folder-hook gmail 'set from="username at gmail.com"'
folder-hook gmail 'set use_from=yes'
folder-hook gmail 'set envelope_from=yes'
folder-hook gmail 'set smtp_url = "smtps://username@gmail.com@smtp.gmail.com:465/"'
folder-hook gmail 'set smtp_pass = "mypassword"'
folder-hook gmail 'set imap_user = "username at gmail.com"'
folder-hook gmail 'set imap_pass = "mypassword"'
folder-hook gmail 'set folder = "imaps://imap.gmail.com:993"'
folder-hook gmail 'set spoolfile = "$HOME/Mail/gmail"'
folder-hook gmail 'set ssl_force_tls = yes'

macro index "3"		"<change-folder>/root/Mail/gmail<enter><imap-fetch-mail>"

This exact procedure works fine with two other accounts except they're 
POP3, not IMAP.

I press 3 and mutt opens the gmail folder, but then nothing happens.

So I tried a command:

:imap-fetch-mail

and mutt tells me:

imap-fetch-mail: unknown command


Then I try

:fetch-mail

and mutt tells me:

fetch-mail: unknown command

What am I doing wrong?

-- 
Luciano ES
>>


More information about the Mutt-users mailing list