On 10/18/2013 6:58 PM, Quanah Gibson-Mount wrote:
--On Friday, October 18, 2013 3:47 PM -0700 Quanah Gibson-Mount <[email protected]> wrote:

--On Friday, October 18, 2013 10:56 PM +0200 Axb <[email protected]>
wrote:

As to rules, running sa-update as the last step in your setup routine
will be your best bet to get uptodate rules.
I think nobody would recommend delivering a static package.

I would note sa-update depends on already having rules:

build@zre-sles11-64:~/p4/zimbra/main/ThirdParty/Perl> perl -T -I zimbramon/lib zimbramon/bin/sa-update --updatedir=./spamassassin config: no configuration text or files found! do you need to run 'sa-update'? Timeout::_run: check: no loaded plugin implements 'check_main': cannot scan!
Check the necessary '.pre' files are in the config directory.

I also find it rather amusing that sa-update tells you to run sa-update...

So if you have *nothing* but the sa-update command and SA perl modules, what is the best practice for getting the rules? At the moment, there appears to be a circular dependency.
I don't believe that is correct. It appears you are missing the /etc/mail/spamassassin/ pre files which includes v320.pre which includes this include:

# Check - Provides main check functionality
#
loadplugin Mail::SpamAssassin::Plugin::Check

At a minimum, you need those files in a pre.

regards,
KAM

Reply via email to