# $Id: hooks,v 1.7 2000/12/31 17:10:08 seymour Exp $ # ## Hooks # Generated when you compose a new email #send-hook . 'my_hdr X-Uptime: `uptime`' # Collapse threads by default, and jump to the last message folder-hook . push "*" # compressed folder support # http://www.spinnaker.de/mutt/compressed # # idea: make it not write changes to compressed folders by default? #open-hook \\.gz$ "gzip -cd %f > %t" #close-hook \\.gz$ "gzip -c %t > %f" #append-hook \\.gz$ "gzip -c %t >> %f" # Display sent-mail folders differently folder-hook . 'set index_format="%3C %Z %[%b %d %H:%M] - %-22.22L (%3l) %s"' folder-hook sent-mail 'set index_format="%3C %Z %[%b %d %H:%M] - %-22.22t (%3l) %s"' # Change email address depending on who you are sending to #send-hook . 'my_hdr From: Chris Gushue ' #send-hook '~t ^owirc@owirc\.com' 'my_hdr From: Chris Gushue ' #send-hook '~t ^owirc-dev@owirc\.com' 'my_hdr From: Chris Gushue ' #send-hook '~t ^mutt-users@mutt\.org' 'my_hdr From: Chris Gushue ' # These people don't want, or can't handle, GPG signatures #send-hook . 'set pgp_autosign' #send-hook owirc 'set nopgp_autosign' #send-hook owirc-dev 'set nopgp_autosign'