On Mon, Feb 16, 2004 at 01:13:42AM -0800, Marc MERLIN wrote:
> Hi,
> 
> I just wrote greylisting support for SA (to use at SMTP time with SA-Exim,
> http://marc.merlins.org/linux/exim/sa.html)
> (patched attached if you're interested)
> 
> I call my rule as such:
> header GREYLIST_ISWHITE       eval:greylisting('/var/spool/sa-exim/tuplets', 
> "dir", "1800", "X-SA-Exim-Connect-IP", "X-SA-Exim-Mail-From", 
> "X-SA-Exim-Rcpt-To")
> describe GREYLIST_ISWHITE The incoming server has been whitelisted for this 
> receipient
> score GREYLIST_ISWHITE        -6
> 
> I would however like the following thing:
> How do I run this rule close to last, and only if  5 < current score < 10 
> 
> Is there a way to do this cleanly without patching SA some more?

Actually, I just realized that I only need to run the rule if the score is
less than 10 (I don't care how low the score is).

I seem to remember a way to have a rule run around the end and only run if
the score is less than X. How do you do that again?

Thanks,
Marc
-- 
"A mouse is a device used to point at the xterm you want to type in" - A.S.R.
Microsoft is to operating systems & security ....
                                      .... what McDonalds is to gourmet cooking
Home page: http://marc.merlins.org/   |   Finger [EMAIL PROTECTED] for PGP key

Reply via email to