Empty email messages?

I’m trying to get SpamAssassin, or Mail::Audit, to drop inbound email with headers but no body. There seems to have been a lot of this lately.

I also noticed last week that this can confuse Outlook Express. No, I don’t use Outlook, Express or otherwise, but I had to troublshoot a customer who was unable to download her email. Turned out that it was choking on these messages, and the only way around it was to manually delete these files from the mbox on the mail server.

Anyways, any pointers appreciated. And I’ll post updates here when I find the solution.

==============================

Looks like I can ask Mail::Audit

if scalar ( @{ $msg->body } ) == 0