Tutorial for mutt IMAP with gmail address

ಚಿರಾಗ್ ನಟರಾಜ್ mailinglist at chiraag.me
Tue Nov 10 02:43:54 UTC 2020


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Hi David,

It's pretty simple. You'll want the following in your .muttrc:

set from="Your Name <email.address at gmail.com>"
set realname="Your Name"
set imap_user=email.address at gmail.com
set folder="imaps://imap.gmail.com:993"
set spoolfile="+INBOX"
set postponed="+[Gmail]/Drafts"
set trash = "imaps://imap.gmail.com/[Gmail]/Trash"
set smtp_url="smtps://email.address\@gmail.com@smtp.gmail.com"
set imap_pass="supersecretpassword"
set smtp_pass="supersecretpassword"

That should be enough to get you the bare essentials. If you've enabled two-factor authentication (I recommend you do!), then you should go to myaccount.google.com and generate an app password and use that for imap_pass and smtp_pass instead of your real password.

HTH!

- Chiraag
-- 
ಚಿರಾಗ್ ನಟರಾಜ್
Pronouns: he/him/his

09/11/20 21:30 ನಲ್ಲಿ, "D.J.J. Ring, Jr." <n1ea at arrl.net> ಬರೆದರು:
> 
> Can someone recommend a tutorial of configuring mutt to work with
> gmail IMAP directly via the muttrc file?
> 
> Thanks,
> 
> David

-----BEGIN PGP SIGNATURE-----
Version: ProtonMail

wmgEARYIABAFAl+p/mgJEIfX1AMZ6M/KAAoJEIfX1AMZ6M/KoE4BAJtv6Nia
dMDQi8mg07UAZlvojknUYp0Pu9jSRtTZ3gpsAP4s+yO3e1Uj2IFi/w5veMLQ
3hQHBTC8ZDSF/0UApWGjCw==
=6ae4
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: publickey - mailinglist at chiraag.me - b0c8d720.asc
Type: application/pgp-keys
Size: 659 bytes
Desc: not available
URL: <http://lists.mutt.org/pipermail/mutt-users/attachments/20201110/dddec4cd/attachment.key>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: publickey - mailinglist at chiraag.me - b0c8d720.asc.sig
Type: application/pgp-signature
Size: 96 bytes
Desc: not available
URL: <http://lists.mutt.org/pipermail/mutt-users/attachments/20201110/dddec4cd/attachment.sig>


More information about the Mutt-users mailing list