This really would be more on topic on the MIMEDefang list, but here goes...
You have a small but significant typo in your code: > if ($hits >= req) { You forgot the "$" in "$req". The effect of the above comparison is that all mail that scores above 0 (zero) are considered spam. Regards /Jonas -- Jonas Eckerman, FSDB & Fruktträdet http://whatever.frukt.org/ http://www.fsdb.org/ http://www.frukt.org/