Mutt: IMAP subscribed to all folders.
parent
405cfac28d
commit
b72a765e34
83
.muttrc
83
.muttrc
|
@ -13,51 +13,51 @@
|
||||||
## General options
|
## General options
|
||||||
##------------------------------------------------------------------------------
|
##------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
## Beep on new incoming mails.
|
||||||
|
set beep_new = "yes"
|
||||||
|
|
||||||
|
## Headers are editable in editor.
|
||||||
|
set edit_headers=yes
|
||||||
|
|
||||||
## Seems like $EDITOR is internal to Mutt, whereas variable set between
|
## Seems like $EDITOR is internal to Mutt, whereas variable set between
|
||||||
## backquotes are external. By default Mutt will use env EDITOR variable, so we
|
## backquotes are external. By default Mutt will use env EDITOR variable, so we
|
||||||
## do not really need to set it.
|
## do not really need to set it.
|
||||||
# set editor=`echo \$EDITOR`
|
# set editor=`echo \$EDITOR`
|
||||||
# set editor="emacsclient -a \"\" -t"
|
# set editor="emacsclient -a \"\" -t"
|
||||||
|
|
||||||
|
## Store message headers locally to speed things up. Gentoo wiki says that if a
|
||||||
|
## folder is specified, it is even faster. If no folder exists, the cache will
|
||||||
|
## be a single file.
|
||||||
|
set header_cache = "~/.cache/mutt"
|
||||||
|
|
||||||
|
## Tell Mutt to check all IMAP folders. This will add all of them to the
|
||||||
|
## sidebar. Contrary to the manu 'mailboxes' way, order cannot be controlled, so
|
||||||
|
## you should set 'sidebar_sort' to yes. This will sort the folders
|
||||||
|
## alphabetically, ignoring punctuation.
|
||||||
|
set imap_check_subscribed
|
||||||
|
|
||||||
|
## Keep imap connection alive by polling intermittently (time in seconds).
|
||||||
|
set imap_keepalive = 300
|
||||||
|
|
||||||
|
## Allow mutt to open new imap connection automatically.
|
||||||
|
unset imap_passive
|
||||||
|
|
||||||
## Mailcap
|
## Mailcap
|
||||||
set mailcap_path = ~/.mutt.d/mailcap
|
set mailcap_path = ~/.mutt.d/mailcap
|
||||||
auto_view text/html
|
auto_view text/html
|
||||||
alternative_order text/plain text/html
|
alternative_order text/plain text/html
|
||||||
|
|
||||||
## Store message headers locally to speed things up.
|
|
||||||
## Gentoo wiki says that if a folder is specified, it is even faster.
|
|
||||||
## If no folder exists, the cache will be a single file.
|
|
||||||
set header_cache = "~/.cache/mutt"
|
|
||||||
|
|
||||||
## Allow mutt to open new imap connection automatically.
|
|
||||||
unset imap_passive
|
|
||||||
|
|
||||||
## Keep imap connection alive by polling intermittently (time in seconds).
|
|
||||||
set imap_keepalive = 300
|
|
||||||
|
|
||||||
## How often to check for new mail (time in seconds).
|
## How often to check for new mail (time in seconds).
|
||||||
set mail_check = 60
|
set mail_check = 60
|
||||||
|
|
||||||
## Remove delay between mailbox switches.
|
|
||||||
set sleep_time = 0
|
|
||||||
|
|
||||||
## Beep on new incoming mails.
|
|
||||||
set beep_new = "yes"
|
|
||||||
|
|
||||||
## Mailbox type.
|
## Mailbox type.
|
||||||
set mbox_type=Maildir
|
set mbox_type=Maildir
|
||||||
|
|
||||||
## Headers are editable in editor.
|
|
||||||
set edit_headers=yes
|
|
||||||
|
|
||||||
## Encoding
|
## Encoding
|
||||||
set send_charset="us-ascii:utf-8"
|
set send_charset="us-ascii:utf-8"
|
||||||
|
|
||||||
## Security issue: if enter-command is available from the GUI, it is possible to
|
## Remove delay between mailbox switches.
|
||||||
## see the password unencrypted. We disable it for this reason. Every command
|
set sleep_time = 0
|
||||||
## that the user intends to use must be bound to a key in advance, otherwise it
|
|
||||||
## will never be accessible.
|
|
||||||
bind index,pager ':' noop
|
|
||||||
|
|
||||||
##------------------------------------------------------------------------------
|
##------------------------------------------------------------------------------
|
||||||
## Multiple accounts
|
## Multiple accounts
|
||||||
|
@ -82,12 +82,12 @@ source "ccat ~/.mutt-pwds.cpt |"
|
||||||
# source "gpg2 -dq ~/.mutt-pwds.gpg |"
|
# source "gpg2 -dq ~/.mutt-pwds.gpg |"
|
||||||
|
|
||||||
## Last account is default.
|
## Last account is default.
|
||||||
source "~/.mutt/$my_ac_personal"
|
|
||||||
folder-hook $folder 'source ~/.mutt/$my_ac_personal'
|
|
||||||
source "~/.mutt/$my_ac_work"
|
source "~/.mutt/$my_ac_work"
|
||||||
folder-hook $folder 'source ~/.mutt/$my_ac_work'
|
folder-hook $folder 'source ~/.mutt/$my_ac_work'
|
||||||
source "~/.mutt/$my_ac_university"
|
source "~/.mutt/$my_ac_university"
|
||||||
folder-hook $folder 'source ~/.mutt/$my_ac_university'
|
folder-hook $folder 'source ~/.mutt/$my_ac_university'
|
||||||
|
source "~/.mutt/$my_ac_personal"
|
||||||
|
folder-hook $folder 'source ~/.mutt/$my_ac_personal'
|
||||||
|
|
||||||
##------------------------------------------------------------------------------
|
##------------------------------------------------------------------------------
|
||||||
## Sidebar
|
## Sidebar
|
||||||
|
@ -96,9 +96,9 @@ folder-hook $folder 'source ~/.mutt/$my_ac_university'
|
||||||
set sidebar_visible = yes
|
set sidebar_visible = yes
|
||||||
set sidebar_width = 24
|
set sidebar_width = 24
|
||||||
set sidebar_shortpath = yes
|
set sidebar_shortpath = yes
|
||||||
# set sidebar_sort = yes
|
set sidebar_sort = yes
|
||||||
# set sidebar_format = "%B%?F? [%F]?%* %?N?%N/?%4S"
|
|
||||||
set sidebar_delim=' '
|
set sidebar_delim=' '
|
||||||
|
# set sidebar_format = "%B%?F? [%F]?%* %?N?%N/?%4S"
|
||||||
# set sidebar_folderindent = yes
|
# set sidebar_folderindent = yes
|
||||||
|
|
||||||
## Color of folders with new mail
|
## Color of folders with new mail
|
||||||
|
@ -130,6 +130,12 @@ source $alias_file
|
||||||
## Keys
|
## Keys
|
||||||
##------------------------------------------------------------------------------
|
##------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
## Security issue: if enter-command is available from the GUI, it is possible to
|
||||||
|
## see the password unencrypted. We disable it for this reason. Every command
|
||||||
|
## that the user intends to use must be bound to a key in advance, otherwise it
|
||||||
|
## will never be accessible.
|
||||||
|
bind index,pager ':' noop
|
||||||
|
|
||||||
## Remap bounce-message function to "B"
|
## Remap bounce-message function to "B"
|
||||||
bind index B bounce-message
|
bind index B bounce-message
|
||||||
|
|
||||||
|
@ -145,9 +151,9 @@ bind index "^" imap-fetch-mail
|
||||||
#bind index,pager previous-page
|
#bind index,pager previous-page
|
||||||
|
|
||||||
## Fix Backspace -- Shell alternative.
|
## Fix Backspace -- Shell alternative.
|
||||||
#$ infocmp > termbs.src
|
## $ infocmp > termbs.src
|
||||||
## Changed kbs=^H to kbs=\177, then:
|
## Changed kbs=^H to kbs=\177, then:
|
||||||
#$ tic -x termbs.src
|
## $ tic -x termbs.src
|
||||||
|
|
||||||
##------------------------------------------------------------------------------
|
##------------------------------------------------------------------------------
|
||||||
## Custom headers for outgoing mail
|
## Custom headers for outgoing mail
|
||||||
|
@ -156,12 +162,11 @@ bind index "^" imap-fetch-mail
|
||||||
## Undo any custom headers that may have been put in by the global Muttrc
|
## Undo any custom headers that may have been put in by the global Muttrc
|
||||||
# unmy_hdr *
|
# unmy_hdr *
|
||||||
|
|
||||||
## Remove any global From: header
|
## Remove any global 'From:' header
|
||||||
#unset use_from
|
# unset use_from
|
||||||
## Don't append a domain to my outgoing mails
|
## Don't append a domain to my outgoing mails
|
||||||
#unset use_domain
|
# unset use_domain
|
||||||
|
# my_hdr From: Firstname Lastname <myfirstname@mymailserver>
|
||||||
#my_hdr From: Firstname Lastname <myfirstname@mymailserver>
|
|
||||||
|
|
||||||
## Extra info.
|
## Extra info.
|
||||||
my_hdr X-Info: Simplicity is the ultimate sophistication.
|
my_hdr X-Info: Simplicity is the ultimate sophistication.
|
||||||
|
@ -170,7 +175,7 @@ my_hdr X-Info: Simplicity is the ultimate sophistication.
|
||||||
# my_hdr X-Operating-System: `uname -s`, kernel `uname -r`
|
# my_hdr X-Operating-System: `uname -s`, kernel `uname -r`
|
||||||
|
|
||||||
## This header only appears to MS Outlook users
|
## This header only appears to MS Outlook users
|
||||||
#my_hdr X-Message-Flag: WARNING!! Outlook sucks!
|
# my_hdr X-Message-Flag: WARNING!! Outlook sucks!
|
||||||
|
|
||||||
## Custom Mail-User-Agent ID.
|
## Custom Mail-User-Agent ID.
|
||||||
set user_agent = yes
|
set user_agent = yes
|
||||||
|
@ -193,6 +198,6 @@ set index_format="%2C | %Z [%d] %-30.30F (%-4.4c) %s"
|
||||||
## Colors
|
## Colors
|
||||||
source "~/.mutt.d/colorset.sh|"
|
source "~/.mutt.d/colorset.sh|"
|
||||||
source "~/.mutt.d/colors.ambrevar"
|
source "~/.mutt.d/colors.ambrevar"
|
||||||
#source "/usr/share/doc/mutt/samples/colors.default"
|
# source "/usr/share/doc/mutt/samples/colors.default"
|
||||||
#source "/usr/share/doc/mutt/samples/colors.linux"
|
# source "/usr/share/doc/mutt/samples/colors.linux"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue