e&gt;
    if words[0] != 'From' : continue
IndexError: list index out of range
</font></pre><font color="black">Each debug line is printing the list of words which we get
when we <tt>split</tt> the line into words. When the program fails
the list of words is empty <code>[]</code>. If we open the file in a text editor
and look at the file, at that point it looks as follows:
</font><pre><font size="4" color="blue">
X-DSPAM-Result: Innocent
X-DSPAM-Processed: Sat Jan  5 09:14:16 2008
X-DSPAM-Confidence: 0.8475