-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Marc MERLIN writes:
> 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?

Marc --

this is doable for SpamAssassin 3.0.0 using the new plugin architecture.
See Mail::SpamAssassin::Plugin perldoc for details...

- --j.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
Comment: Exmh CVS

iD8DBQFAMnlGQTcbUG5Y7woRAp9oAKDkRfOQzaf8TiwBZAOIM+sD5ZaSAgCfS+sV
1aKBDLDa1ureTEcsw68/xSU=
=BbQ8
-----END PGP SIGNATURE-----

Reply via email to