On Fri, 21 Oct 2016, Kevin Golding wrote:

On Fri, 21 Oct 2016 11:48:41 +0100, simplerezo <simpler...@gmail.com> wrote:

> very unknown users can't by definition hit AWL.

That's why my wanted rule is score(AWL) > -1 : all users that have not yet
send enough not-spam mails can not, for example, send me invoices as zip
attachment (yes, there is some big company that are actually sending invoice
that way...).

You can hook into the AWL database pretty easily. I used to run a plugin that did similar to what you're trying to achieve that just polled the AWL database and set a flag to trigger a rule with a static score - then you can go meta crazy with it.

I was going to say: you can't write a rule based on the *current* AWL adjustment because that's calculated after all the rules have hit. But SA *could* potentially have a rule that checks the current historical average that AWL uses...

I suggest you file a New Feature bug to expose a mechanism to use the current AWL average (not the per-message adjustment) in a rule.

--
 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
-----------------------------------------------------------------------
  Precision mis-clicks since 1994!
-----------------------------------------------------------------------
 304 days since the first successful real return to launch site (SpaceX)

Reply via email to