X-Spam-Status: Yes, score=10.8 required=5.0 tests=AWL,HELO_DYNAMIC_COMCAST,INFO_TLD,RAZOR2_CF_RANGE_51_100,RAZOR2_CHECK,RCVD_IN_BL_SPAMCOP_NET,
RCVD_IN_SORBS_DUL,URIBL_OB_SURBL,URIBL_SBL autolearn=unavailable
version=3.0.3
but:
spamc < spam.txt
gives:
X-Spam-Status: No, score=4.8 required=5.0 tests=HELO_DYNAMIC_COMCAST,INFO_TLD autolearn=no version=3.0.3
Surely they should both give exactly the same result?
Maybe.. Depends a LOT on the options you pass to spamd when you start it.
In particular, it looks like spamassassin used network checks, but spamc/spamd did not.
Any chance you started spamd with the -L parameter? (which forcibly disables all network checks)
Also, what user did you do this as? Root? If so, spamd would have setuid'ed itself to nobody before scaning the mail, and would have used a different AWL database.