SAMPLES = Mush.rc Pine.rc gpg.rc pgp2.rc pgp5.rc pgp6.rc Tin.rc \
sample.muttrc sample.mailcap sample.muttrc-tlr \
colors.default colors.linux smime.rc \
- ca-bundle.crt smime_keys_test.pl mutt_xtitle
+ ca-bundle.crt smime_keys_test.pl mutt_xtitle \
+ sample.colors.attach_headers
EXTRA_DIST = language.txt language50.txt \
patch.slang-1.2.2.keypad.1 \
--- /dev/null
+# Color if the attachment is autoviewed
+color attach_headers brightgreen default "Autoview"
+
+# Color only the brackets around the headers
+color attach_headers brightyellow default "^\\[--"
+color attach_headers brightyellow default "--]$"
+
+# Color the mime type and the size
+color attach_headers green default "Type: [a-z]+/[a-z0-9\-]+"
+color attach_headers green default "Size: [0-9\.]+[KM]"
+
+# Color GPGME signature checks
+color attach_headers brightgreen default "Good signature from.*"
+color attach_headers brightred default "Bad signature from.*"
+color attach_headers brightred default "BAD signature from.*"
+color attach_headers brightred default "Note: This key has expired!"
+color attach_headers brightmagenta default "Problem signature from.*"
+color attach_headers brightmagenta default "WARNING: This key is not certified with a trusted signature!"
+color attach_headers brightmagenta default " There is no indication that the signature belongs to the owner."
+color attach_headers brightmagenta default "can't handle these multiple signatures"
+color attach_headers brightmagenta default "signature verification suppressed"
+color attach_headers brightmagenta default "invalid node with packet of type"