Installing Mutt with iCloud on Arch Linux

Jump to: navigation, search

If iCloud is configured with two factor authentication, an application password will need to be created in iCloud, 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 = ""
   set smtp_url = "smtp://"
   set folder = "imaps://"
   set spoolfile = "imaps://"
   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"