set folder = imaps://disroot.org set my_name = "Al-Hassan Abdel-Raouf" set imap_user = alhassanaraouf set imap_pass=`~/scripts/get-pass.sh email/alhassanaraouf@disroot.org` set spoolfile = +INBOX mailboxes = +INBOX set my_pass=$imap_pass set my_user=$imap_user set realname = $my_name set from = $imap_user@disroot.org set use_from = yes set smtp_pass = $imap_pass set smtp_url=smtps://$from set ssl_force_tls = yes set ssl_starttls = yes # Store message headers locally to speed things up. # If hcache is a folder, Mutt will create sub cache folders for each account which may speeds things up even more. set header_cache = ~/.cache/mutt # Store messages locally to speed things up, like searching message bodies. # Can be the same folder as header_cache. # This will cost important disk usage according to your e-mail amount. set message_cachedir = "~/.cache/mutt" # Specify where to save and/or look for postponed messages. # set postponed = +[Gmail]/Drafts # Allow Mutt to open a new IMAP connection automatically. unset imap_passive # Keep the IMAP connection alive by polling intermittently (time in seconds). set imap_keepalive = 300 # How often to check for new mail (time in seconds). set mail_check = 120 set record = +Sent auto_view text/html set query_command= "khard email --parsable %s" bind editor complete-query bind editor ^T complete macro index,pager \cb " urlscan" "call urlscan to extract URLs out of a message" macro attach,compose \cb " urlscan" "call urlscan to extract URLs out of a message"