Skip to content

Instantly share code, notes, and snippets.

@facundofarias
Created January 3, 2017 10:55
Show Gist options
  • Save facundofarias/4cd548ea81e4edbeabf045f01bbad39c to your computer and use it in GitHub Desktop.
Save facundofarias/4cd548ea81e4edbeabf045f01bbad39c to your computer and use it in GitHub Desktop.
Installing and configuring Mutt on OSX
# 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’
@devinrhode2
Copy link

@caballerofelipe your script is awesome, thank you very much. I even sent a patch with some tweaks+comments (running mac os x mojave)

@caballerofelipe
Copy link

@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.

@devinrhode2
Copy link

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

@jonnyhtw
Copy link

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