> > The procmail rule might look like this: > > # Filter small messages the regular way > :0fw:spamassassin.lock > * ! > 14999 > | spamassassin > > # Otherwise, just test an excerpt, and deliver spam > # directly into big-spam.mbox. > :0E: > ? (head -c 7500; echo ""; tail -c 7500) | spamassassin -e ^^^^^^^^^ WRONG ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > big-spam.mbox >
CORRECTION. In the rule above the runs spamassassin -e, it needs to negate the test because SA returns non-zero, when spam is detected. And, a leading '*' was missing. Thus, the rules should read: # Filter small messages the regular way :0fw:spamassassin.lock * ! > 14999 | spamassassin # Otherwise, just test an excerpt, and deliver spam # directly into big-spam.mbox. :0E: * ! ?(head -c 7500; echo ""; tail -c 7500) | spamassassin -e big-spam.mbox ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0 _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk