Installing Mutt with iCloud on Arch Linux

From GlassTTY
Jump to: navigation, search


If iCloud is configured with two factor authentication, an application password will need to be created in iCloud http://icloud.com, this password is then used for Mutt.

Install the package and create the folders as shown below

   sudo pacman -S mutt
   cd ~
   mkdir .mutt
   mkdir .mutt/cache
   mkdir .mutt/cache/headers
   mkdir .mutt/cache/bodies
   mkdir .mutt/certificates

Add the configuration file .mutt/muttrc replace 'user' with your username.

   set imap_user = "user"
   set imap_pass = your-imap-password (or application specific password)
   set from = "user@icloud.com"
   set smtp_url = "smtp://user@smtp.mail.me.com:587/"
   set folder = "imaps://user@imap.mail.me.com/"
   set spoolfile = "imaps://user@imap.mail.me.com/INBOX"
   set postponed = "+Drafts"
   set record = "+Sent Messages"
   set imap_pipeline_depth=0
   set header_cache = "~/.mutt/cache/headers"
   set message_cachedir = "~/.mutt/cache/bodies"
   set certificate_file = "~/.mutt/certificates"