spamassassin-users October 2010 archive
Main Archive Page > Month Archives  > spamassassin-users archives
spamassassin-users: Re: List of urls

Re: List of urls

From: John Hardin <jhardin_at_nospam>
Date: Tue Oct 26 2010 - 17:41:40 GMT
To: users@spamassassin.apache.org

On Tue, 26 Oct 2010, Richard Smits wrote:

> Does anyone know if it's possible to have a list of url's, and define a
> score for all of them in one line ?
>
> ----
> Now i do like this :
> ----
> uri url_1 /www.domain1.com/
> uri url_2 /www.domain2.com/
> uri url_3 /www.domain3.com/
> uri url_4 /www.domain4.com/
>
> score url_1 10
> score url_2 10
> score url_3 10
> score url_4 10
>
> ----
> But I want just one line to define the score. Are there more ways to do
> this?

Do you want ten points total if _any_ targeted URI hits, or ten points for
each targeted URI that hits regardless of how many hit?

The latter is what you are doing above.

-- John Hardin KA7OHZ http://www.impsec.org/~jhardin/ jhardin@impsec.org FALaholic #11174 pgpk -a jhardin@impsec.org key: 0xB8732E79 -- 2D8C 34F4 6411 F507 136C AF76 D822 E6E6 B873 2E79 ----------------------------------------------------------------------- ...the Fates notice those who buy chainsaws... -- www.darwinawards.com ----------------------------------------------------------------------- 5 days until Halloween