reset all push * push V set sendmail="/usr/bin/msmtp" set from=tek@serverop.de #set folder="~/Mail2" set mbox_type=Maildir set mbox="~/Mail" set folder="~/Mail" mailboxes =inbox \ =people \ =uni \ =Subscriptions \ =CRUX \ =CRUX-contrib \ =bauer \ =united-domains \ =outbox \ =Spam \ #=hetzner #mailboxes =inbox +outbox # wtf.. # = and + get expanded to 'folder' # $folder has to be declared before # for this to work. source ~/.mutt/muttalias #set sort=reverse-threads set sort=threads # thread with latest message is displayed first set sort_aux=last-date-received set copy set delete set postponed=$folder/postponed set signature="~/bin/bofh.sh|" # muttng-specific #set signoff_string="kind regards, Thomas Penteker" #set sidebar_visible="no" #set sidebar_width=18 #set sidebar_delim="|" # alternate: ':command here^M' #macro index b 'toggle sidebar_visible' #macro pager b 'toggle sidebar_visible' macro index \cb |urlview\n 'call urlview to extract URLs out of a message' macro pager \cb |urlview\n 'call urlview to extract URLs out of a message' macro index .n "~NN*" "Mark all messages read" #bind index K sidebar-prev #bind index J sidebar-next #bind index \CO sidebar-open # save outgoing messages for reference set record=+outbox set header_cache='/home/tek/.mutt/hcache' set index_format="%4C %Z %[!%d-%m-%y] %-17.17F (%3l) [%X] %s" set attribution="* %n (%a) wrote:" # pressing 'r' opens a new mail, containing original 'From' and 'Subject' set fast_reply=yes # (fully) quote original message set include=yes # well... *sigh* set check_new=yes set mail_check=1 set timeout=20 set beep_new=no # no of (header)messages shown on top of a messages set pager_index_lines=15 # do not scroll message index when at the of an email set pager_stop=yes # #set charset="iso-8859-15" set charset="utf-8" # # set edit_headers # makes headers appear while composing Mail in $EDITOR # $EDITOR seems not to get honored.. set editor="/usr/bin/vim" set tmpdir="/home/tek/tmp" # check! #set compose_format='foo' #set folder_format='foo' set realname='Thomas Penteker' set use_envelope_from=yes set hostname='serverop.de' unmy_hdr * my_hdr From: Thomas Penteker my_hdr Reply-To: tek@serverop.de my_hdr X-PGP-Key-ID: CBDAD579 #hooks #send2-hook . my_hdr X-Now-Playing: `cat /home/tek/tmp/cmus-status` send-hook . my_hdr User-Agent: Mutt/`mutt -v | head -1 | cut -f 1 -d "("``uname`-`uname -r -m` send-hook . my_hdr 'X-Now-Playing: `/home/tek/bin/np`' send-hook . my_hdr 'X-WAR-CRIMINAL: George W. Bush' #send-hook . my_hdr 'X-Message-Flag: Message text blocked: ADULT LANGUAGE/SITUATIONS' send-hook . set 'signoff_string="kind regards, Thomas Penteker"' send-hook fritzenboe@ set 'signoff_string=" Tom"' send-hook fritzenboe@ set crypt_autoencrypt=no send-hook fritzenboe@ set crypt_replyencrypt=yes # ML subscriptions subscribe crux@lists.crux.nu save-hook "~t lists.crux.nu" +CRUX # review ;) #folder-hook outbox set index_format="%d %t %s" # Spam == Spam* folder-hook Spam* 'push ~r>1w!~F' folder-hook hetzner 'push ~r>1w!~F' folder-hook pen-test 'push ~r>3w!~F' folder-hook sec-basics 'push ~r>3w!~F' folder-hook sec-basics 'push V' folder-hook full-disclosure 'push ~r>3w!~F' folder-hook full-disclosure 'push V' folder-hook CRUX 'push ~r>2m!~F' folder-hook CRUX-contrib 'push ~r>2m!~F' # header ignores ignore * unignore From: unignore To unignore Date unignore Subject unignore Cc unignore X-Mailer unignore User-Agent unignore Organization unignore X-Operating-System unignore X-GPG-Public-Key unignore X-PGP-Key-ID unignore X-Uptime unignore X-Now-Playing unignore X-Newsreader unignore Newsgroup hdr_order From: To: Subject: Cc: Date: X-Mailer: # colours color hdrdefault green black color quoted yellow black color signature red black color indicator white blue color attachment magenta black color error red black color status white blue color tree yellow black color normal white black color body cyan black (http|ftp)://[&=?_a-zA-Z0-9\./~\-]+ # gnupg coloring (source: kris kennaway ) color body green black "^gpg: Good signature from" color body brightred black "^gpg: Bad signature from" color body brightred black "^gpg: BAD signature from" color body brightred black "^gpg: Note: This key has expired!" color body brightyellow black "^gpg: WARNING: This key is not certified with a trusted signature!" color body brightyellow black "^gpg: There is no indication that the signature belongs to the owner." color body brightyellow black "^gpg: can't handle these multiple signatures" color body brightyellow black "^gpg: signature verification suppressed" color body brightyellow black "^gpg: invalid node with packet of type" # index coloring based on score #color index white black color index cyan black '~n -0' color index green black '~n 1-9' color index white black '~n 10-19' color index brightyellow black '~n 20-' #color index brightyellow black '~p' color header blue black 'X-Mailer:.*Outlook' #color sidebar_new yellow default #color sidebar white red #color sidebar_indicator white red set default_hook="~f %s ! ~P | (~P ~C %s)" # TESTING !!! #save-hook '~t ^.*@serverop.de' =serverop #message-hook '~f tek22@web.de' =foobar # TEST # # macro generic ":my_hdr From: tux@tux.tld:set macro index " /home/tek/Mail/people*" "Change to =people" macro index " /home/tek/Mail/inbox*" "Change to =inbox" macro index " /home/tek/Mail/CRUX*" "Change to =CRUX" set pgp_decode_command="gpg %?p?--passphrase-fd 0? --no-verbose --batch --output - %f" set pgp_verify_command="gpg --no-verbose --batch --output - --verify %s %f" set pgp_decrypt_command="gpg --passphrase-fd 0 --no-verbose --batch --output - %f" set pgp_sign_command="gpg --no-verbose --batch --output - --passphrase-fd 0 --armor --detach-sign --textmode %?a?-u %a? %f" set pgp_clearsign_command="gpg --no-verbose --batch --output - --passphrase-fd 0 --armor --textmode --clearsign %?a?-u %a? %f" set pgp_encrypt_only_command="pgpewrap gpg --batch --quiet --no-verbose --output - --encrypt --textmode --armor --always-trust --encrypt-to 0xCBDAD579 -- -r %r -- %f" set pgp_encrypt_sign_command="pgpewrap gpg --passphrase-fd 0 --batch --quiet --no-verbose --textmode --output - --encrypt --sign %?a?-u %a? --armor --always-trust --encrypt-to 0xCBDAD579 -- -r %r -- %f" set pgp_import_command="gpg --no-verbose --import -v %f" set pgp_export_command="gpg --no-verbose --export --armor %r" set pgp_verify_key_command="gpg --no-verbose --batch --fingerprint --check-sigs %r" set pgp_list_pubring_command="gpg --no-verbose --batch --with-colons --list-keys %r" set pgp_list_secring_command="gpg --no-verbose --batch --with-colons --list-secret-keys %r" # if only more people'd use pgp set crypt_autoencrypt=no set crypt_replyencrypt=yes set pgp_sign_as="0xCBDAD579" set pgp_timeout=600 set pgp_good_sign="^gpg: Good signature from" set crypt_autosign=yes set crypt_replysign=yes # does not work currently #macro pager \eD "|gpg --decrypt | less\n" "decrypt with GnuPG" #macro index \eD "|gpg --decrypt | less\n" "decrypt with GnuPG" macro pager \eD "gpg --passphrase-fd 0 --no-verbose --output - %f\n" "decrypt with GnuPG" macro index \eD "gpg --passphrase-fd 0 --no-verbose --output - %f\n" "decrypt with GnuPG" #macro pager \eV "|gpg --verify\n" "verify signature with GnuPG" set index_format="%4C %?H?[%H] ? %Z %X %{%b %d} %-15.15F %?M?(#%03M)&(%4c)? %s" # mark all new meassages as read macro index .n "~NN*" "Catchup all new messages"