[Mimedefang] conditional SALocalTestsOnly ?

David F. Skoll dfs at roaringpenguin.com
Mon May 19 21:25:01 EDT 2003


On Mon, 19 May 2003, Ole Craig wrote:

> 	My question is, do I have to go through the rigamarole of
> creating a file for state purposes in $CWD, or is $SALocalTestsOnly
> not subject to the stated rule?

It's worse than that: $SALocalTestsOnly is used only when the
SpamAssasin object is created, and never again.  So it's extremely difficult
to do what you want using SpamAssassin.

However, you can easily do lookups conditionally using MIMEDefang's
built-in relay_is_blacklisted() function, and adjust the SA score
yourself.

--
David.



More information about the MIMEDefang mailing list