Does anyone know if it is possible to access the mail header information from VBA in Outlook 2002?

Our incoming spam are marked with X-Spam-Flag in the header information and it would be really nice to be able to trash these mails automatically.

This is, unfortunatly, not working with the built-in rules in Outlook. Those rules only work with Subject, body and sending address not with mail header as far as I can understand.

/Anders