But... after further investigation, I see that, by the time MailScanner is invoking SpamAssassin (that is, via perl library, not via system exec) this Received: header hasn't been added yet (because of the way MailScanner integrates within ZMailer)... so the problem is that the other Received: header is the only one and SA is checking it because of that...
FWIW, MIMEDefang used to have this same problem. They resolved it by adding an imitation Received: header before it hands the message to SpamAssassin. If Mailscanner doesn't already support this, you might want to suggest it to them.
Kelson Vibber
SpeedGate Communications <www.speed.net>
