> 
> Anybody got a rule that will catch messages that don't have a body?
> 

3.1.0-pre3 has this already...

-------------
# __MIME_ATTACHMENT defined in 20_html_tests.cf
body __NONEMPTY_BODY    /\S/
meta EMPTY_MESSAGE      !__MIME_ATTACHMENT && !__NONEMPTY_BODY
describe EMPTY_MESSAGE  Message appears to be empty with no Subject:
text
-------------

That's the best way to avoid those that like to send files via email
without a message body.

Or you could break them down however you want based on SUBJECT, BODY,
and ATTACHMENTS if you need to be more granular.

-------------
meta EMPTY_MSG1        !__NONEMPTY_BODY
describe EMPTY_MSG1 Email has no message body

meta EMPTY_MSG2        !__MIME_ATTACHMENT && !__NONEMPTY_BODY
describe EMPTY_MSG2 Email has no message body and no attachments

meta EMPTY_MSG3       !__HAS_SUBJECT
describe EMPTY_MSG3 Email has no subject line

meta EMPTY_MSG4       !__HAS_SUBJECT && !__NONEMPTY_BODY
describe EMPTY_MSG4 Email has no subject line or message body

meta EMPTY_MSG5       !__MIME_ATTACHMENT && !__HAS_SUBJECT &&
!__NONEMPTY_BODY
describe EMPTY_MSG5 Email has no subject line, message body, or
attachments

meta EMPTY_MSG6       UNDISC_RECIPS && !__NONEMPTY_BODY
describe EMPTY_MSG6 Email has no message body and was sent to
Undisclosed Recips

meta EMPTY_MSG7       UNDISC_RECIPS && !__HAS_SUBJECT &&
!__NONEMPTY_BODY
describe EMPTY_MSG7 Email has no subject line or message body and was
sent to Undisclosed Recips
-------------

Dallas

Reply via email to