Corrected bug regarding not found headers and added invalid_names.
Changed invalid names to work on folder names, rather than list names.
Query known headers first.
Added special treatment for the spamassassin list.
Replaced re.match with search to find pattern anywhere in the string, not only at the beginning.