# vi: filetype=muttrc
unmailboxes *

# in/out mail servers
set realname = "$my_name"
set imap_pass = "SOME_PASSWORD"
set smtp_url = "smtps://you@somedomain.com@mailserver.com:465"
set smtp_pass = "SOME_PASSWORD"
set folder = "imaps://you@somedomain.com@mailserver.com:993"
set spoolfile = "+INBOX"

set from = "you@somedomain.com"
set envelope_from
set use_from = "yes"
set record = "+Sent"
set trash = "+Trash"
set postponed = "+Drafts"
set mail_check = 6

# 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

## Hook -- IMPORTANT!
account-hook $folder "set imap_pass=SOME_PASSWORD"m