Created
January 3, 2017 10:55
-
-
Save facundofarias/4cd548ea81e4edbeabf045f01bbad39c to your computer and use it in GitHub Desktop.
Installing and configuring Mutt on OSX
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
# 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@[email protected]: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’ |
@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!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.