-
-
Save facundofarias/4cd548ea81e4edbeabf045f01bbad39c to your computer and use it in GitHub Desktop.
# Install mutt using brew | |
$ brew install mutt | |
# Configure mutt | |
$ vim ~/.muttrc | |
# Put the following on the mutt config file (.muttrc) | |
set imap_user = “YOUR_USERNAME@GMAIL_OR_YOUR_DOMAIN.com” | |
set imap_pass = “YOUR_PASSWORD” | |
set smtp_url = “smtp://YOUR_USERNAME@GMAIL_OR_YOUR_DOMAIN@smtp.gmail.com:587/” | |
set smtp_pass = “YOUR_PASSWORD” | |
set from = “YOUR_USERNAME@GMAIL_OR_YOUR_DOMAIN.com” | |
set realname = “YOUR_NAME” | |
set folder = “imaps://imap.gmail.com:993" | |
set spoolfile = “+INBOX” | |
set postponed = “+[Gmail]/Drafts” | |
set header_cache = ~/.mutt/cache/headers | |
set message_cachedir = ~/.mutt/cache/bodies | |
set certificate_file = ~/.mutt/certificates | |
set move = no | |
set smtp_authenticators = ‘gssapi:login’ |
These quotations...
Put the following on the mutt config file (.muttrc)
set imap_user = "YOUR_USERNAME@GMAIL_OR_YOUR_DOMAIN.com"
set imap_pass = "YOUR_PASSWORD"
set smtp_url = "smtp://YOUR_USERNAME@GMAIL_OR_YOUR_DOMAIN@smtp.gmail.com:587/"
set smtp_pass = "YOUR_PASSWORD"
set from = "YOUR_USERNAME@GMAIL_OR_YOUR_DOMAIN.com"
set realname = "YOUR_NAME"
set folder = "imaps://imap.gmail.com:993"
set spoolfile = "+INBOX"
set postponed = "+[Gmail]/Drafts"
set header_cache = ~/.mutt/cache/headers
set message_cachedir = ~/.mutt/cache/bodies
set certificate_file = ~/.mutt/certificates
set move = no
set smtp_authenticators = ‘gssapi:login’
changed the quotes.
Hi,
I wrote a script to do this automatically, you can execute it like this:
sh -c "$(curl -sSL https://raw.githubusercontent.com/caballerofelipe/scripts/master/mutt/installMuttForGmailOrApps.sh)"
Also, I created the needed dirs.
Or clone the repo and execute the file locally. You can also see the file here.
@caballerofelipe your script is awesome, thank you very much. I even sent a patch with some tweaks+comments (running mac os x mojave)
@devinrhode2, you welcome ;) Unfortunately I won't be able to check the patch in the near future cause I did this a long time ago and I'm working on other stuff for the time being.
for anyone googling, my pr is here: caballerofelipe/scripts#1
All I did was move the brew install to the end, for reasons outlined in this pr
hi there
i'm new to mutt and am having trouble getting it to open jpeg and png files using mailcap! i'm on osx catalina.
does anyone have any tips?!
thanks!
Why you using “? Not "?