First configure the directory as so--
mkdir -p ~/.mutt/cache/headers
mkdir ~/.mutt/cache/bodies
touch ~/.mutt/certificates
Then create the config file --
touch ~/.mutt/muttrc
Now, edit the file
sudo nano ~/.mutt/muttrc
Thanks to iandexter/github for the script:-
# Gmail settings
set imap_user = "username@yahoo.com"
set imap_pass = "password"
set smtp_url = "smtp://username@smtp.mail.yahoo.com:465/"
set smtp_pass = "password"
set from = "username@yahoo.com"
set realname = "Your real name"
set folder = "imaps://imap.mail.yahoo.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 sort = 'threads'
set sort_aux = 'last-date-received'
set imap_check_subscribed
# Some tweaks
set imap_keepalive = 300
set mail_check = 90
set timeout = 15
set charset = iso-8859-1
~Thanks
https://help.yahoo.com/kb/SLN4075.html
---------- Post updated at 07:00 AM ---------- Previous update was at 04:19 AM ----------
Thanks to