How do I set up a gmail account?

Jude DaShiell jdashiel at panix.com
Wed May 8 10:01:31 UTC 2019


Please check your .fetchmailrc file, you need a separate poll line for
gmail in that file and you need to specify imaps on it and you also need
to state name there is name here if your gmail username and your user
account on your local machine differ.  I hope this helps.

On Tue, 7 May 2019, Luciano ES wrote:

> Date: Tue, 7 May 2019 22:56:56
> From: Luciano ES <lucmove at gmail.com>
> To: mutt-users at mutt.org
> Subject: How do I set up a gmail account?
>
> 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?
>
>

-- 



More information about the Mutt-users mailing list