# Set some general user information.
set realname = "John Doe"
set from = "john.doe@example.com"
set envelope_from = yes

# Configure IMAP.
set imap_user = "john.doe@example.com"
set imap_pass = "johndoe"
set folder = imap://mail.example.com/

# Default mailboxes.
set spoolfile = "=INBOX"
set record = "=Sent Items"
set postponed = "=Drafts"

# Configure SMTP.
set smtp_url = smtp://john.doe@example.com@mail.example.com:587/
set smtp_pass = $imap_pass

# Configure TLS.
set ssl_ca_certificates_file = tls/ca.pem

# Configure convenient shortcut for fetching new mail.
bind index G imap-fetch-mail

# Configure various paths explicitly to prevent them from clashing
# with user's system-wide files.
set alias_file = mutt/john.doe-files/config
set certificate_file = mutt/john.doe-files/certificates
set folder = mutt/john.doe-files/mail
set history_file = mutt/john.doe-files/history
set mbox = mutt/john.doe-files/mbox
set news_cache_dir = mutt/john.doe-files/news_cache
set newsrc = mutt/john.doe-files/newsrc
set postponed = mutt/john.doe-files/postponed
set record = mutt/john.doe-files/record
set signature = mutt/john.doe-files/signature