davis wrote:

Hello

It took me a while to test it, since I don't normally
scan on the asterisks meter but here is how you can do it:



:0fw
| spamc

:0:
* ^X-Spam-Level: \*\*\*\*
maybe-spam

:0:
* ^X-Spam-Level: \*\*\*\*\*\*\*
spam


Note, btw, that your second rule will *never* be called.
The first rule matches both.  If you want both rules
to work, put the more specific one first (that's the
6 asterisks) so it will match, handle that e-mail,
and the the mail that is still around will be handled
by the second rule because procmail handles rules in
order.

Cheers,
Tanner
--
TriLUG mailing list        : http://www.trilug.org/mailman/listinfo/trilug
TriLUG Organizational FAQ  : http://trilug.org/faq/
TriLUG Member Services FAQ : http://members.trilug.org/services_faq/
TriLUG PGP Keyring         : http://trilug.org/~chrish/trilug.asc

Reply via email to