# mutt setup file -*- mode: shell-script; -*- # # $Id: dot-muttrc,v 1.33 2005/12/11 10:23:29 simon Exp $ # # by Simon L. Nielsen # # Misc options set realname="Simon L. Nielsen" # Scoring source "~/.mutt/score.rc" # Aliases set alias_file="~/.mutt/aliases" # where i keep my aliases source "~/.mutt/aliases" # read them in # Where to save SSL certificate set certificate_file="~/.mutt/certificate_file" set date_format="%Y.%m.%d %H:%M:%S %z" # dates ISO-8601 format set index_format="%4C %Z %{%b %d} %3N %-15.15F (%4l) %s" # Normal mutt index with score set quit=ask-yes # don't simply die on 'q' # Sort order set sort=date-received #folder-hook . set sort=date-received # Default #folder-hook "!" set sort=mailbox-order # Inbox set delete="yes" # Don't ask about purging messages set confirmappend="no" # Don't ask about appending - it gets annyoing in the long run # More GPG set pgp_replyencrypt # Encrypt when replying to encrypted messages. set pgp_replysignencrypted # Sign when replying to encrypted messages. set pgp_replysign # Sign when replying to signed messages. #set pgp_autosign="yes" # Sign by default #set pgp_sign_as="0x27359A51" # Force to default to my normal key mailboxes "!" # Add inbox to mailboxes list set menu_scroll=yes # Scroll one line set move=no # Move mail-spool to $mbox? # Key bindings bind index next-entry # Make down not skip deleted bind index previous-entry # Make up not skip deleted macro compose "source ~/.muttrc\n" "Reload config" macro index "source ~/.muttrc\n" "Reload config" # macros to invoke a profile macro index "source ~/.mutt/profile.nitro\n" "Load profile: nitro" macro index "source ~/.mutt/profile.freebsd\n" "Load profile: FreeBSD" macro index "source ~/.mutt/profile.freebsd.sec\n" "Load profile: FreeBSD.sec" macro compose "source ~/.mutt/profile.nitro\nSimon L. Nielsen \nset editor='chsig ~/.signature.nitro'\nset editor='emacsnw'\n" "Load profile: nitro" macro compose "source ~/.mutt/profile.freebsd\nSimon L. Nielsen \nset editor='chsig ~/.signature.freebsd'\nset editor='emacsnw'\n" "Load profile: FreeBSD" macro compose "source ~/.mutt/profile.freebsd.sec\nSimon L. Nielsen \nset editor='chsig ~/.signature.freebsd.sec'\nset editor='emacsnw'\n" "Load profile: FreeBSD.sec" # Default send hook send-hook . set copy="yes" # Save copy of outgoing mails send-hook . set mime_forward="ask-no" send-hook . set editor="emacsnw" send-hook . unset pgp_create_traditional send-hook . unset pgp_autoencrypt # Spamcop send-hook spam.spamcop.net set copy="no" send-hook spam.spamcop.net set mime_forward="yes" send-hook spam.spamcop.net set editor="/usr/bin/true" # Special for some people send-hook johannes@riis\.dk set pgp_create_traditional send-hook solar@nitro\.dk set pgp_create_traditional send-hook nitro-bio@nitro\.dk set pgp_create_traditional send-hook nitro-info@nitro\.dk set pgp_create_traditional send-hook swan@nitro\.dk set pgp_create_traditional send-hook @vader\.dk set pgp_autoencrypt # Macros macro index s "spamcop\n\nDf=save/spam" "Forward to SpamCop" # # object attribute RegExp # mono header bold "^(from|subject):" #mono body underline "((ftp|http|https)://|news:)[^ >)\"\t]+" mono body underline "((ftp|http|https)://|(file|news):|www\\.)[-a-z0-9_.:]*[a-z0-9](/[^][{} \t\n\r\"<>()]*[^][{} \t\n\r\"<>().,:!])?/?" mono body underline "[-a-z_0-9.]+@[-a-z_0-9.]+" mono body bold "(^| )\\*[-a-z0-9äöüß*]+\\*[,.?]?[ \n]" mono body underline "(^| )_[-a-z0-9äöüß_]+_[,.?]?[ \n]" # # color terminals: # (default, white, black, green, magenta, blue, cyan, yellow, red) # (bright...) # (color1,color2,...,colorN-1) # # object foreground background # color normal default default # normal text color indicator brightyellow default # actual message #color header underlin default "^(from|subject):" # Don't display certain headers ignore * unignore From To Cc Subject Date Reply-To Organization X-Mailer User-Agent Mail-Followup-To X-Spam-Status RT-Originator # Order to display the headers in hdr_order From: Date: To: Cc: X-Mailer: User-Agent: Organization: RT-Originator: Subject: X-Spam-Status: # Site stuff source "~/.mutt/site.rc" # This must be set after site since = is not defined before set record="=/sent-mail" # archive outgoing mail save-hook ~A =/save/read set postponed="=save/postponed" # Common nitro mail stuff #source "~/.mutt/nitro.rc"