Proxy>SMTP Proxy>SPAM Filtering>Expressions (Enclose Regular Expressions with<>), Does this apply to the whole message including headers or only to the body of the message?

Expression filters with<>only applies to the body of the message.