Helmut>    mailmsg = email.message_from_string(msg)
    Helmut>    SPAM_CORE = mailmsg['X-Spam-Score']

Maybe lower case?

    SPAM_CORE = mailmsg['x-spam-score']

-- 
Skip Montanaro - s...@pobox.com - http://www.smontanaro.net/
    America's vaunted "free press" notwithstanding, story ideas that expose
    the unseemly side of actual or potential advertisers tend to fall by the
    wayside.  Not quite sure why.  -- Jim Thornton
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to