Hi! I was just wondering why my script misses some messages. So I reduced the problem to a small mbox. It has two mails (and really only two lines starting with "From ", but bogofilter -TM gives four lines of output. Here is the mbox: http://www.logic.univie.ac.at/~3.14/bogofilter-mbox-parsing-bug.zip pi