-
-
Save devnowcommit/befc12625dfc24c3fc62405c352553c7 to your computer and use it in GitHub Desktop.
Minimal configuration for Neomutt/Mutt and Gmail/G Suite
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Minimal configuration for Neomutt/Mutt and Gmail/G Suite | |
# Decrypts passwords quietly | |
# see: https://wiki.archlinux.org/index.php/Mutt#Passwords_management | |
source "gpg -dq $HOME/.my-pwds.gpg |" | |
# Username and password for your Gmail/G Suite account | |
set imap_user = "john.snow@winterfell.ext" | |
# Password assigned from decrypted file | |
set imap_pass = $my_pass | |
# Specifies the default location of your mailboxes | |
set folder = "imaps://imap.gmail.com:993" | |
# Configure Simple Mail Transfer Protocol for sending mail | |
# for Gmail | |
set smtp_url = "smtps://yourusername@smtp.gmail.com:587" | |
# for G Suite with own domain | |
#set smtp_url = "smtps://yourusername@yourdomain.ext@smtp.gmail.com:587" | |
set smtp_pass = $my_pass | |
# Location of inbox | |
set spoolfile = "+INBOX" | |
# Location of drafts | |
set postponed = "+[GMail]/Drafts" | |
# Activate caching, as it can greatly improve speed | |
set header_cache = "~/.mutt/cache/headers" | |
set message_cachedir = "~/.mutt/cache/bodies" | |
# Disable saving outgoing mail since Gmail saves them by default. | |
set record = "" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment