mutt-wizard/autoconf/mutt_profile
Andrey Drobyshev 8e09df4ea9 Clear mailboxes list before its assignment.
On account change new account's mailboxes are being appended to the old
one's. This commit forces mailboxes list to be cleared before adding new
items to it.
2018-02-26 00:31:02 +03:00

20 lines
618 B
Plaintext

# vim: filetype=neomuttrc
# muttrc file for account $title
set realname = "$realname"
set from = "$fulladdr"
set smtp_url = "smtp://$login@$smtp:$sport/"
set sendmail = "/usr/bin/msmtp -a $title"
set folder = "~/.mail/$title"
set header_cache = ~/.config/mutt/accounts/$title/cache/headers
set message_cachedir = ~/.config/mutt/accounts/$title/cache/bodies
set certificate_file = ~/.config/mutt/accounts/$title/certificates
source "~/.config/mutt/credentials/getmuttpass $title |"
set mbox_type = Maildir
set ssl_starttls = yes
set ssl_force_tls = yes
bind index,pager g noop
bind index gg first-entry
unmailboxes *