Sunday, December 15, 2013

How To: Set up Hotmail in Mutt

I like to think of Microsoft's email infrastructure as a bad bowl of spaghetti. Ever since they came out with outlook, live, and hotmail, doing anything with the server configuration is a pain. When using thunderbird, which configures your mail for you automatically, it's fine, but with a program like mutt things get a bit harder. This is how to set up hotmail and mutt.

The important parts of any mutt configuration file are imap_user, imap_pass, smtp_url, smtp_pass, from, and realname. Here is what that section of the file should look like for you:

 set imap_user = ""
 set imap_pass = "YOUR_PASSWORD"
 set smtp_url = "smtp://"
 set smtp_pass = "YOUR_PASSWORD"
 set from = ""
 set realname = "FIRST LAST"
 set ssl_force_tls = yes

Note, smtp_url has two "@" symbols. Without this, sending mail will fail with an SASL error. For the curious, the rest of my configuration file is below:

 # The editor to edit the plaintext of the email in
 set editor = "emacs"

 set folder = "imaps://"
 set spoolfile = "+INBOX"
 set imap_check_subscribed
 set hostname =
 set mail_check = 25
 set timeout = 300
 set imap_keepalive = 300
 set postponed = "+[hotmail]/Drafts"
 set record = "+[hotmail]/Sent Mail"
 set header_cache=~/.mutt/cache/headers
 set message_cachedir=~/.mutt/cache/bodies
 set certificate_file=~/.mutt/certificates
 set move = no
 set include
 set sort = 'threads'
 set sort_aux = 'reverse-last-date-received'
 set auto_tag = yes
 ignore "Authentication-Results:"
 ignore "DomainKey-Signature:"
 ignore "DKIM-Signature:"
 hdr_order Date From To Cc
 alternative_order text/plain text/html *
 auto_view text/html
 bind editor <Tab> complete-query
 bind editor ^T complete
 bind editor <space> noop

 # Gmail-style keyboard shortcuts
 macro index,pager y "<enter-command>unset trash\n <delete-message>" "Gmail archive message"
 macro index,pager d "<enter-command>set trash=\"imaps://[GMail]/Bin\"\n <delete-message>" "Gmail delete message"
 macro index,pager gi "<change-folder>=INBOX<enter>" "Go to inbox"
 macro index,pager ga "<change-folder>=[Gmail]/All Mail<enter>" "Go to all mail"
 macro index,pager gs "<change-folder>=[Gmail]/Starred<enter>" "Go to starred messages"
 macro index,pager gd "<change-folder>=[Gmail]/Drafts<enter>" "Go to drafts"


  1. Thank you for your valuable post, If you are facing problem with your hotmail account, Hotmail Helpline Number NZ +64-98890480 for help & Support.

  2. The above post is worthy enough to set up Hotmail in Mutt but it’s just little bit confusing, to get clarification on this matter better way is to call at Hotmail Phone Number UK 0800-029-4639.

  3. This comment has been removed by the author.

  4. Nice Blog, I have been throughout your blog and being a technical expert, I found it quite information giving. Here, you forgot to tell about the correct to counter the issue which is to contact the technicians. If one facing any tech problem, then contact us at keyword and for more information follow the link. Hotmail Help Number UK

  5. Hotmail Helpline provides UK 0800-098-8587

    Toll Free Number to get email account problems resolution in their hotmail / outlook

    account.we are best hotmail helpline number in uk.

  6. This comment has been removed by the author.

  7. Hello, friends, want to login into hotmail-com sign in are you excited to read this article

  8. Hotmail Helpline provides UK 0800-098-8587 Toll Free Number to get email account problems resolution in their hotmail / outlook account.we are best hotmail helpline number in uk.

  9. This comment has been removed by the author.

  10. Want to recover your blocked Hotmail Account dial or Hotmail Support Number UK 0808-101-3524 and get technical assistance from technical experts. they guide you how to unblock your account and recover your account.

  11. Nice Blog, I have been all over your blog and being a technical expert
    quicken helpline number
    quicken support number

  12. The best in class mailing client, Hotmail has procured a number of exclusive features. Despite all its functional qualities, its users may confront to some technical issues. Resolve them at 0800-029-4639 toll free and stay calm.

    Hotmail Contact Number UK

  13. It's very helpful blog, if you have any kind of issue related to Homtail then, Contact us at Hotmail Customer Support Number UK

  14. BlueHost is one of the best web-hosting company for any hosting plans you need.

  15. For all sorts of sign in or login issues with your Gmail account, you can contact us at 0808-281-8685. We provide instant resolution to all our UK based Gmail users to easily access this web mail service. You can blindly trust our technicians as they are masters in their field and will definitely guide you well.
    Gmail Help Number UK

  16. Hotmail Customer Support0800-098-8587 provides any kind of technical support regarding:

    1. Send receive mail errors
    2. Hotmail Account not logged in
    3. recover deleted emails in hotmail
    4. solving hotmail account hacked problems

    and many more that you are facing in your hotmail account. just contact Hotmail Helpline number

  17. Problems connected with your email service cannot be ignored as that will make your email account weak and a hacker can take benefit from this to hack your account. If you come across any issue with your Gmail account then please get in touch with us at 0808-281-8685.
    Gmail Help Number UK

  18. Whether it is for connecting worldwide or for professional work, Hotmail is most adopted mailing client. If you are prevented by any technical issue being imposed in your Hotmail account, then there is none other better service than to adopt technical support team at Hotmail Help Number UK 0808-101-2159. This toll free number proffers best support service ever.

  19. In the market there are many alternatives which can make sure of continuing work in the most effective manner. Having said this, professionals are readily available if the user dials Hotmail Customer Care Number UK 0808-101-2159. The procedure of making sure all complicated or simple steps are resolved without any difficulty.