On Fri, 24 Jul 2009, Greg Troxel wrote:

John Hardin <jhar...@impsec.org> writes:

On Fri, 24 Jul 2009, Greg Troxel wrote:

I have long wanted to be able to

whitelist_from f...@bar -3.0

to have per-entry scores.  Obviously though I haven't wanted it
enough to write the code.

How does this not work?

  header WL_FROM_FOO   From =~ /\bf...@bar/i
  score  WL_FROM_FOO   -3.00

It does, but doesn't it require allowing user rules?

Yeah, but that requirement wasn't specified. Sorry.

Plus, it's two lines for each whitelist_from_score entry, with a magic regexp.

Yeah, the whitelist_* do a lot of magic in the background. This would get hard to manage for more than a few entries. I was assuming you only wanted to do a few.

--
 John Hardin KA7OHZ                    http://www.impsec.org/~jhardin/
 jhar...@impsec.org    FALaholic #11174     pgpk -a jhar...@impsec.org
 key: 0xB8732E79 -- 2D8C 34F4 6411 F507 136C  AF76 D822 E6E6 B873 2E79
-----------------------------------------------------------------------
  If "healthcare is a Right" means that the government is obligated
  to provide the people with hospitals, physicians, treatments and
  medications at low or no cost, then the right to free speech means
  the government is obligated to provide the people with printing
  presses and public address systems, the right to freedom of
  religion means the government is obligated to build churches for the
  people, and the right to keep and bear arms means the government is
  obligated to provide the people with guns, all at low or no cost.
-----------------------------------------------------------------------
 13 days since a sunspot last seen - EPA blames CO2 emissions

Reply via email to