Mutt cleanup and aethon

* Cleaned up the various mailbox scripts to keep them in order.

  * Added an aethon mailbox.
This commit is contained in:
Tom Willemsen 2011-03-07 09:08:09 +01:00
parent b9121c1143
commit 44e6edb041
5 changed files with 34 additions and 12 deletions

16
mutt/aethon.muttrc Normal file
View file

@ -0,0 +1,16 @@
###
# aethon.nl specific options
###
color status brightwhite green
set from = "thomas@aethon.nl"
set smtp_url = "smtp://thomas@aethon.nl@smtp.gmail.com:587/"
set mbox = "+aethon/INBOX"
set signature = "~/.aethon_signature"
set postponed = "+aethon/drafts"
unset record
macro index E "<change-folder>+aethon/archive<enter><limit>~B " "search everything"
macro index D "<save-message>+aethon/trash<enter>" "move message to the trash"
macro index S "<save-message>+aethon/spam<enter>" "mark message as spam"

View file

@ -7,9 +7,9 @@ color status brightwhite blue
set from = "tom.willemsen@archlinux.us" set from = "tom.willemsen@archlinux.us"
set smtp_url = "smtp://tom.willemsen@archlinux.us@smtp.gmail.com:587/" set smtp_url = "smtp://tom.willemsen@archlinux.us@smtp.gmail.com:587/"
set mbox = "+arch/INBOX" set mbox = "+arch/INBOX"
unset record
set postponed = "+arch/drafts" set postponed = "+arch/drafts"
unset record
unset signature
macro index E "<change-folder>+arch/archive<enter><limit>~B " "search everything" macro index E "<change-folder>+arch/archive<enter><limit>~B " "search everything"
macro index D "<save-message>+arch/trash<enter>" "move message to the trash" macro index D "<save-message>+arch/trash<enter>" "move message to the trash"

View file

@ -1,13 +1,15 @@
### ###
# gmail specific option # gmail specific option
###
color status blue default color status blue default
set from = "ryuslash@gmail.com" set from = "ryuslash@gmail.com"
set smtp_url = "smtp://ryuslash@gmail.com@smtp.gmail.com:587/" set smtp_url = "smtp://ryuslash@gmail.com@smtp.gmail.com:587/"
set mbox = "+gmail/INBOX" set mbox = "+gmail/INBOX"
unset record
set postponed = "+gmail/drafts" set postponed = "+gmail/drafts"
unset record
unset signature
macro index E "<change-folder>+gmail/archive<enter><limit>~B " "search everything" macro index E "<change-folder>+gmail/archive<enter><limit>~B " "search everything"
macro index D "<save-message>+gmail/trash<enter>" "move message to the trash" macro index D "<save-message>+gmail/trash<enter>" "move message to the trash"

View file

@ -4,11 +4,12 @@
color status red default color status red default
set from = "tom@iactor.nl" set from = "tom@iactor.nl"
set smtp_url = "mail.iactor.nl:2525" set smtp_url = "mail.iactor.nl:2525"
set mbox = "+iactor/INBOX" set mbox = "+iactor/INBOX"
set record = "+iactor/Sent" set record = "+iactor/Sent"
set postponed = "+iactor/Drafts" set postponed = "+iactor/Drafts"
unset signature
macro index E "<change-folder>+iactor/INBOX<enter><limit>~B " "search everything" macro index E "<change-folder>+iactor/INBOX<enter><limit>~B " "search everything"
macro index D "<save-message>+iactor/Trash<enter>" "move message to the trash" macro index D "<save-message>+iactor/Trash<enter>" "move message to the trash"

7
muttrc
View file

@ -28,6 +28,7 @@ unset mark_old # read/new is good enough for me
set beep_new # bell on new mails set beep_new # bell on new mails
set pipe_decode # strip headers and eval mimes when piping set pipe_decode # strip headers and eval mimes when piping
set thorough_search # strip headers and eval mimes before searching set thorough_search # strip headers and eval mimes before searching
set ascii_chars = yes
# index options # index options
set sort = threads # like gmail set sort = threads # like gmail
@ -51,8 +52,8 @@ alternative_order text/plain text/enriched text/html # save html for last
set quote_regexp = "^( {0,4}[>|:#%]| {0,4}[a-z0-9]+[>|]+)+" set quote_regexp = "^( {0,4}[>|:#%]| {0,4}[a-z0-9]+[>|]+)+"
# formats # formats
#set date_format = "%m/%d/%y at %I:%M%P" set date_format = "%d %b %H:%M"
set index_format = "%3C [%Z] %D %-15.15F %s" set index_format = "%3C %Z %D [%-12.12F] %s"
set alias_format = "%4n %t %-20a %r" set alias_format = "%4n %t %-20a %r"
# composing mail # composing mail
@ -81,6 +82,7 @@ hdr_order from: to: cc: date: subject: # and in this order
mailboxes +arch/INBOX #+arch/archive +arch/sent +arch/drafts +arch/spam +arch/trash mailboxes +arch/INBOX #+arch/archive +arch/sent +arch/drafts +arch/spam +arch/trash
mailboxes +gmail/INBOX #+gmail/archive +gmail/sent +gmail/drafts +gmail/spam +gmail/trash mailboxes +gmail/INBOX #+gmail/archive +gmail/sent +gmail/drafts +gmail/spam +gmail/trash
mailboxes +iactor/INBOX #+iactor/INBOX.Admin +iactor/INBOX.Important +iactor/INBOX.Intern +iactor/INBOX.Taken +iactor/Sent +iactor/Drafts +iactor/Trash mailboxes +iactor/INBOX #+iactor/INBOX.Admin +iactor/INBOX.Important +iactor/INBOX.Intern +iactor/INBOX.Taken +iactor/Sent +iactor/Drafts +iactor/Trash
mailboxes +aethon/INBOX
# always sourced # always sourced
source $alias_file # required for functionality source $alias_file # required for functionality
@ -91,6 +93,7 @@ source ~/.mutt/arch.muttrc # source arch as default
folder-hook arch/* source ~/.mutt/arch.muttrc folder-hook arch/* source ~/.mutt/arch.muttrc
folder-hook gmail/* source ~/.mutt/gmail.muttrc folder-hook gmail/* source ~/.mutt/gmail.muttrc
folder-hook iactor/* source ~/.mutt/iactor.muttrc folder-hook iactor/* source ~/.mutt/iactor.muttrc
folder-hook aethon/* source ~/.mutt/aethon.muttrc
# abook # abook
set query_command = "abook --mutt-query '%s'" set query_command = "abook --mutt-query '%s'"