[TriLUG] Procmail recipe question

davis davis at skink.net
Thu Feb 12 21:28:31 EST 2004


On Thu, Feb 12, 2004 at 08:22:56PM -0500, Tanner Lovelace wrote:
> 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.

You are correct.  Thanks.
> 
> 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

-- 
Happy Trails	

John F. Davis
ABC #6334 1992 R100GSPD                    Durham, North Carolina
http://www.skink.net



More information about the TriLUG mailing list