So, after setting up Postfix/Dovecot e-mail server (more on that comming up later), I once came along to a situation where I had no mobile phone and I had to check mail.

As usual, Gnome Display Manager crashed, and while I had no time to fix it, I also had no phone. I had to dig through my old mutt config (yes, I even had one) and fiddle with it, so I could read my email.

So, here’s sample, for ~le me, if I ever need it again.

No passwords = prompt.

set from="[email protected]"
set realname="User Name"
set smtp_url="smtp://[email protected]@mail.domain.tld:465/"                           
set imap_user="[email protected]"

set folder="imaps://mail.domain.tld:993"
set spoolfile="+INBOX"

set header_cache="~/.mutt/cache/headers"
set message_cachedir="~/.mutt/cache/bodies"                                    
set certificate_file="~/.mutt/certificates"                                    

set mail_check=15
set move=no
set imap_keepalive=900
set sort=threads
set editor="vim"

Don’t forget to mkdir -p ~/.mutt/cache and you’re done.