On 2/1/2010 10:50 PM, Karsten Bräckelmann wrote:
On Mon, 2010-02-01 at 22:33 +0100, Yet Another Ninja wrote:
- If someone knows how to put these two rule sets in one file and "activate" according to SA version, pls let me know... I'm stumped.

Preprocessing Options [1] in the SA Conf documentation. :)

if (version >= 3.003000)
  # util_rb_3tld blob goes here
endif

Hmm, doesn't mention >= specifically. Guess it's supported, though,
otherwise you'd need a minor hack like > 3.002999.

  guenther


[1] 
http://spamassassin.apache.org/full/3.2.x/doc/Mail_SpamAssassin_Conf.html#preprocessing_options

Thanks for the hint.

I've updated http://www.rulesemporium.com/rules/90_2tld.cf to check for version.

Should be visible as soon as SARE mirrors are in sync.

Reply via email to