## ==================================================
## COLOR for both the Folder INDEX *and* the PAGER
## ==================================================
#        error messages
   color error        red    black

#  "message" - informational messages
#  such as the incremental count at startup.
   color message      white  blue

## ==================================================
## Special COLORs for the Folder INDEX
## ==================================================

#  The  "indicator" for the "current message" -
#  whether it is an arrow or an "inverse line":
   color indicator    white  red

#        "status" lines in the folder index.
#        used for the mini-help line.
   color status       white  blue

#  The  "tree" display of threads within the folder index.
   color tree         red    black

## ==================================================
## COLOR for some special messages.
## ==================================================

#  000828
#  Deleted Mails - use dark color
#  as these are already "dealt with".
   color index blue black "~D"

#  000823
#  Mails with no obvious addresses
#  (empty To: and Cc: lines)
   color index blue black "! ~C ."

#  Flagged Messages are important!
   color index brightred   black "~F"
#  I use the flag to indicate that
#  I should reply to these soon.

#  "DONE mails" ie those I have already replied to.
   color index cyan         black  '~Q'

#  MailList - these messages have been sent to
#  a known mailing list.  What do these do in my mailbox??
   color index white        blue   '~l'

#  Sent to "Undisclosed Recipients":
   color index blue black  '~C Undisclosed.*Recipients'
#
#  Message-IDs contains at least one '@' character,
#  so it should not be missing:
   color index blue black "! ~i @"
#
#  Message-IDs are enclosed in angle brackets,
#  so an '<' should not be missing:
   color index blue black "! ~i <"
#
#  Message-IDs are not empty:
   color index blue black "~i <>"
#
#  Message-IDs' FQDN must not be empty:
   color index blue black "~i @>"
#
#  Message-IDs' FQDN contain at least one dot:
#  color index blue black "! ~i @.*[.]"
#
#  Message-IDs FQDN does not end with a dot,
#  ie there must be at least a top level domain:
   color index blue black "~i [.]>"
#
#  Message-IDs do not contain spaces.
   color index blue black "~i '<.* .*>'"
#
#  Message-IDs should not contain "localhost".
#  color index blue black "~i localhost"
#  commented because a LOT of people cannot
#  change this because of their crappy mail system.  *sigh*
#
#  Message-IDs with more than one angel bracket:
   color index blue black "~i <.*<"
#
#  Message-IDs with a strange domain name,
   color index blue black "~i [.][a-z]>"

# 001230
#  When the Subject indicates a reply (with ":re")
#  then there *must* be a reference to the previous message!
#  So if there is no In-Reply-To or References line -
#  then it must be a crappy mailer.
   color index  magenta black "~s re: ! ~x . ! ~h 'in-reply-to: '"
#  Guilty Mailers:
#  X-Mailer: Internet Mail Service (5.5.2650.21)
#  X-Mailer: MIME-tools 4.104 (Entity 4.116)
#  X-Mailer: USANET web-mailer (34WB1.4A.01)

#  SPAM SPAM SPAM
#  Address lines contain only local addresses
#  ie without an '@' character.
   color index blue black "! ~C @"

#  SPAM indicators in mail body ("~b")
#
#  "Dollars and Percentages"
#  Example:  "95% of Internet traffic ..."
#        and "Normally, we charge $500 per keyword"
   color index blue black "~b [1-9][0-9]% ~b [0-9]{3,}\$"
#
#  Empty Subject line - "not a single character"!
   color index blue black "! ~s ."
#
#  Subject line contains figures in dollar:
# "Subject: Make $50,000 in 90 Days"
   color index blue black "~s '\\$[0-9]+[0-9]+'"


#  SPAM indicators - special header lines.
#
#  HTML attachments
   color index blue black "~h 'Content-Type: text/html'"

# ======================
# PAGER stuff
# ======================
#       "search" - matches found with search
#        within the internal pager.
   color search       white  blue

#  The  "markers" indicate a wrapped line
#  when showing messages with looong lines.
   color markers      red    black

#EOF  vim: tw=999 ft=muttrc
