Re: [SAtalk] Attachment checking eval tests

2002-03-03 Thread Matthew Cline
On Sunday 03 March 2002 07:54 am, Rob McMillin wrote: > You made the same spelling error twice in the original. Gah! I really must use my spellchecker more often. -- Visit http://dmoz.org, the world's | Give a man a match, and he'll be warm largest human edited web directory. | for a minut

Re: [SAtalk] Attachment checking eval tests

2002-03-03 Thread Rob McMillin
Matthew Cline wrote: >On Saturday 02 March 2002 09:37 pm, I wrote: > >>rawbody ONLY_ATTACHMENTS eval:check_for_only_attachments() >>describe ONLY_ATTACHMNETS Only attachmnets, no text >> > >Ooops, spelling mistake in "describe". Should be > >describe ONLY_ATTACHMENTS Only atta

Re: [SAtalk] Attachment checking eval tests

2002-03-03 Thread Matthew Cline
On Saturday 02 March 2002 09:37 pm, I wrote: > rawbody ONLY_ATTACHMENTS eval:check_for_only_attachments() > describe ONLY_ATTACHMNETS Only attachmnets, no text Ooops, spelling mistake in "describe". Should be describe ONLY_ATTACHMENTS Only attachmnets, no text > sub check_

[SAtalk] Attachment checking eval tests

2002-03-02 Thread Matthew Cline
I've gotten lots of spam that's only an attachment. To detect this, I've written two rawbody eval subroutines. One checks if the first part of a multi-part mail has any non-blank lines, and if it has none, it returns true; this is supposed to detect messages that are soley attachments with no