# # Nugget's Mutt settings # # $Id: .muttrc,v 1.82 2004/10/25 18:23:37 nugget Exp $ # # The current version of my .muttrc can always be found # at http://macnugget.org/stuff/.muttrc # source ~/.mail_aliases # aliases file # source /usr/local/share/doc/mutt/samples/gpg.rc unset smime_is_default unset smime_ask_cert_label set crypt_autosign = no set crypt_replyencrypt = no set crypt_replysign = no set crypt_replysignencrypted = no set crypt_verify_sig = yes set smime_default_key="12345678.0" set smime_encrypt_self = yes set smime_ca_location="/usr/local/share/certs/ca-root.crt" unset pgp_autosign set pgp_timeout=3600 set abort_nosubject=no set beep set beep_new # set spoolfile=$HOME/Maildir/ set spoolfile=imap://localhost/INBOX set folder=imap://localhost/ set alias_file=~/.mail_aliases set allow_8bit set askcc set autoedit set check_new set date_format=!%d-%b-%Y set envelope_from=yes set imap_user=nugget set index_format="%Z %[%d-%b-%Y] %-15.15F %s" set ispell="aspell -e -c" # set folder_format="%t%N %8s %d %f" (old, non-imap style) set folder_format="%f %> %t%N" set delete=yes set fast_reply set hidden_host set tmpdir=/tmp/nugget unset mark_old unset wait_key set timeout=10 set move=no unset markers set print=ask-yes set print_command="mp -content -from | spoolps.sh" my_hdr X-Image-Url: http://slacker.com/~nugget/images/me64.jpg my_hdr X-Face: $|):m*5Dzpmv<0]ES1U00?k=:H+c+LP&2N%e+wdP6n?EPKm=R[?mMs0Kv&/aAZ6h4pxU[!}($5O?ZkQKa my_hdr X-Operating-System: `uname -rsm` my_hdr X-Distributed: Join the Effort! http://www.distributed.net/ bind pager . resend-message macro index ) "|sa-learn --ham --no-sync --single\n" "Learns mail as NOTSPAM" macro index ( "|sa-learn --spam --no-sync --single\ns=Spam\n$" "Learns mail as SPAM" macro pager ) "|sa-learn --ham --no-sync --single\n" "Learns mail as NOTSPAM" macro pager ( "|sa-learn --spam --no-sync --single\ns=Spam\n$" "Learns mail as SPAM" ignore In-Reply-To: ignore X-eGroups-Return: ignore X-Apparently-To: ignore X-Loop: ignore X-Spam-Status: ignore X-Spam-Level: ignore X-Mailer: ignore X-MimeOLE: ignore X-MSMail-Priority: ignore precedence: ignore Delivered-To: ignore List-ID: ignore List-Archive: ignore List-Help: ignore List-Subscribe: ignore List-Unsubscribe: ignore Mailing-List: ignore X-BeenThere: ignore X-Mailman-Version: ignore List-Post: ignore Thread-Index: ignore Errors-To: ignore X-Habeas- ignore X-Spam-Checker-Version: ignore X-OriginalArrivalTime: ignore X-Face: ignore X-Image-Url: # # Put the following line in your ~/.mailcap file. That, plus the auto_view and alternative_order commands below # will cause mutt to elegantly and seamlessly handle incoming html mails. # # text/html; lynx -dump -width=78 -nolist %s | sed 's/^ //'; copiousoutput; needsterminal; nametemplate=%s.html # auto_view text/html alternative_order text/enriched text/plain text/html # I prefer to segregate spool files with storage folders (=foo) mailboxes ! `cd ~/Maildir && ls -d .Lists.* .Systems | sed 's/^\./imap:\/\/localhost\//' | xargs -n 999` # mailboxes ! `cd ~/Maildir && ls -d .nugget* .Lists.* .Folders.* | grep -v Spam | sed 's/^/$HOME\/Maildir\//' | xargs -n 999` # OK, I'm actually going to figure out the lists stuff... subscribe mutt-users@mutt.org subscribe freebsd-questions@freebsd.org subscribe announce@freebsd.org subscribe questions@freebsd.org subscribe freebsd-security@freebsd.org subscribe doc@freebsd.org subscribe tejasmiata@yahoogroups.com subscribe unreal-users@lists.sourceforge.net subscribe alg@austinlug.org # Set defaults for folder-hook folder-hook . 'set realname="David McNett"' folder-hook . 'set from=nugget@slacker.com' folder-hook . 'set hostname=slacker.com' folder-hook . 'set record=imap://localhost/Sent\ Items' folder-hook . 'set postponed=imap://localhost/.Folders.Drafts' folder-hook . 'set sort=date-received' folder-hook . 'set signature=~/.signature' folder-hook . 'uncolor index *' folder-hook . 'color normal white blue' folder-hook . 'color hdrdefault brightwhite cyan' folder-hook . 'color header red cyan From:' folder-hook . 'color header black cyan Subject:' folder-hook . 'color quoted black blue' folder-hook . 'color status white magenta' folder-hook . 'color indicator black brightwhite' folder-hook . 'color message white black' folder-hook . 'color signature white blue' folder-hook . 'color search black red' folder-hook . 'color attachment black blue' folder-hook . 'color tree black blue' folder-hook . 'color markers black blue' # 80sBBS list folder-hook bbslist 'set signature=~/.signature-bbslist' # babel list folder-hook babel 'set signature=~/.signature-babel' # Austin LUG list folder-hook alglist 'set signature=~/.signature-alg' folder-hook alglist 'set from=nugget-alg@slacker.com' # dcti-related mailboxes folder-hook dcti 'set from=nugget@distributed.net' folder-hook dcti 'set hostname=distributed.net' folder-hook dcti 'set signature=~/.signature-dcti' folder-hook dcti 'color normal black white' folder-hook dcti 'color hdrdefault black color3' folder-hook dcti 'color header red color3 From:' folder-hook dcti 'color header cyan color3 Subject:' folder-hook dcti 'color quoted green white' folder-hook dcti 'color status black green' folder-hook dcti 'color indicator cyan black' folder-hook dcti 'color message black white' folder-hook dcti 'color signature blue white' folder-hook dcti 'color search red white' folder-hook dcti 'color attachment cyan white' folder-hook dcti 'color tree black white' folder-hook dcti 'color markers black white' # miata-related mailboxes folder-hook miata 'set signature=~/.signature-miata' folder-hook miata 'color index brightwhite blue equiraptor' # This hook catches all spools/folders with "list" in the name, so it # Applies for all my mailing lists since I name them like that. folder-hook Lists set sort=threads # Since I often just skim the traffic in the freebsd lists, I want to # make sure I don't miss the more worthwhile messages. I've set it # to show any list posts from freebsd staffers in red, and to highlight # messages from people I like to watch. folder-hook freebsd 'color index brightyellow blue @freebsd.org' folder-hook freebsd 'color index brightwhite blue silby' folder-hook freebsd 'color index brightwhite blue mcnett' # Similar highlighting for other lists folder-hook NANOG 'color index brightwhite blue paul@vix.com' folder-hook asterisk 'color index brightyellow blue @digium.com' # settings for all recipients. I want to sign everything, even if # it annoys the non-pgp/mime folks. #send-hook . "unset pgp_autoencrypt" #send-hook . "set pgp_autosign pgp_sign_as=0xE43C5FC3" # revert possible overrides from previous messages sent send-hook . 'set realname="David McNett"' # To eliminate confusion, capitalize my family name for Japanese # recipients as is the custom there. send-hook \.jp 'set realname="David MCNETT"' # This is basically a list of all the people whom I know run mutt and # pgp. This list should obviously be a lot longer. Note that since # I use a DH key as default, I override that and use my RSA key for # people with RSA Keys. #send-hook smkelly@slashnet.org "set pgp_autoencrypt" #send-hook sample@rsa-key-luser.com "set pgp_autoencrypt pgp_sign_as=0xC405E7A1" send-hook drechsau@visi.com "set pgp_autoencrypt pgp_sign_as=0xC405E7A1" # I'm experimenting with a procmail recipe and perl script to automatically # maintain this list of always-encrypt recipients. You can view the script # I use at http://www.slacker.com/cgi/cvsweb.cgi/dtpbin/auto_add_pgpkey # I source that file here: source ~/.muttrc-pgpusers # No pgp for some of my mailing lists. send-hook freebsd.org "unset pgp_autoencrypt pgp_autosign" send-hook miata.net "unset pgp_autoencrypt pgp_autosign" send-hook tejasmiata@yahoogroups.com "unset pgp_autoencrypt pgp_autosign" # Don't double-sign netsol forms. I do this manually for the PGP-AUTH. send-hook hostmaster@networksolutions.com "unset pgp_autoencrypt pgp_autosign" # No point in signing list control mails send-hook majordomo@ "unset pgp_autoencrypt pgp_autosign" send-hook listserv@ "unset pgp_autoencrypt pgp_autosign" # Yeah, right... send-hook house.gov "unset pgp_autoencrypt pgp_autosign" send-hook net4077@yahoo.com "unset pgp_autoencrypt pgp_autosign" # There's nothing quite as funny as receiving an alpha page that only # says "Content-Type: multipart/mixed; boundary=+HP7ph2Bb" :) # We want mails to "*pager*" to be as bare-bones as possible. send-hook mobile "unset pgp_autoencrypt pgp_autosign" send-hook mobile "set signature=" send-hook pager "unset pgp_autoencrypt pgp_autosign" send-hook pager "set signature=" send-hook away "unset pgp_autoencrypt pgp_autosign" send-hook away "set signature=" send-hook bellsouthips.com "unset pgp_autoencrypt pgp_autosign" send-hook bellsouthips.com "set signature=" send-hook pagenetips.com "unset pgp_autoencrypt pgp_autosign" send-hook pagenetips.com "set signature=" send-hook gomail.net "unset pgp_autoencrypt pgp_autosign" send-hook gomail.net "set signature=" send-hook mobile.att.net "unset pgp_autoencrypt pgp_autosign" send-hook mobile.att.net "set signature=" send-hook imcingular.com "unset pgp_autoencrypt pgp_autosign" send-hook imcingular.com "set signature=" send-hook messaging.sprintpcs.com "unset pgp_autoencrypt pgp_autosign" send-hook messaging.sprintpcs.com "set signature=" send-hook docomo.ne.jp "unset pgp_autoencrypt pgp_autosign" send-hook docomo.ne.jp "set signature=" # Man I sure am a lazy slacker. send-hook dcti@lists.distributed.net 'set from=nugget@distributed.net' send-hook dcti@lists.distributed.net 'set signature=~/.signature-dcti' # Now we need to define save folders for mails which I prefer to achive. save-hook @billcenter.americanexpress.com =bills # Finally, some archives need both inbound and outbounds saved fcc-save-hook jukal@ =openchallenge fcc-save-hook @openchallenge.org =openchallenge fcc-save-hook @tivo.com =tivo source ~/.muttrc-hooks source ~/.muttrc-secure