# # .muttrc-local-w3c # # $Id: muttrc-local-w3c,v 1.43 2011-04-13 21:13:10 gerald Exp $ # set hostname="w3.org" # my DNS domain set signature="~/.signature-w3c" # file which contains my signature set folder=~/mail/w3c set mbox=~/mail/w3c/inbox set spoolfile=~/mail/w3c/inbox set postponed=+postponed set record=+`hostname | cut -d. -f1`-outbox unignore message-id # use these settings for most folders send-hook . 'set signature="~/.signature-w3c"' send-hook . 'my_hdr From: Gerald Oskoboiny ' send-hook . 'set attribution="* %n <%a> [%d]"' # use w3t sig for w3t-internal mailboxes send-hook w3t 'set signature="~/.signature-w3t"' send-hook sysreq 'set signature="~/.signature-w3t"' send-hook webreq 'set signature="~/.signature-w3t"' send-hook adminreq 'set signature="~/.signature-w3t"' send-hook mit-help 'set signature="~/.signature-w3t"' send-hook request 'set attribution="On %d, %n wrote\n%t:"' # view root mailbox sorted by subject folder-hook root 'set sort=subject' # highlight specific messages depending on the mailbox folder-hook . 'color index default cyan "~N ~b gerald"' folder-hook inbox 'uncolor index "~N ~b gerald"' # workaround for only one message displayed when switching back to inbox folder-hook inbox 'exec current-bottom"' # special settings for unknown-sender mailbox (for skimming through spam) folder-hook . 'set pager_index_lines=8 menu_scroll' folder-hook unknown-sender 'set pager_index_lines=20 nomenu_scroll' folder-hook unknown-sender 'uncolor index "~N ~b gerald"' # macro to delete the next thread with a msg containing '[closed]' in subject # (not quite perfect but still useful) macro index \ed "/~s '\\[closed\\]'\n:exec delete-thread\n" # make ^X copy a URI for the current message to the clipboard macro index,pager \cX "|w3c-copy-archive-uri\n" # make ^O open the current message in a web browser macro index,pager \cO "|w3c-browse-message\n" # set specific order for mailboxes mailboxes ! mailboxes +w3t mailboxes +w3t-sys mailboxes +sysreq mailboxes +conky-outbox mailboxes +w3t-foo-request mailboxes +w3c-foo-request mailboxes +unknown-sender mailboxes +================= mailboxes `find ~/mail/w3c -maxdepth 1 -type f | grep -v spam | grep -v 200 | xargs echo` # "grep -v 200" above is used to exclude e.g. sysreq.2001-12 # tell mutt which mailing lists I am on subscribe `find ~/mail/w3c -maxdepth 1 -type f | grep -v spam | grep -v 200 | xargs echo` unsubscribe w3t unsubscribe w3t-archive unsubscribe webreq