Hi

Dne Sun, 8 Dec 2013 12:23:35 -0500
Noah Meyerhans <no...@debian.org> napsal(a):

> On Fri, Dec 06, 2013 at 09:35:44AM +0100, nijel wrote:
> > the cron script (once enabled) does not invoke sa-compile as the directory
> > /var/lib/spamassassin/compiled does not exist after package installation. 
> > 
> > Once this directory is created (either manually or by executing sa-compile),
> > the cron job works as expected.
> 
> This is intentional. Rules aren't compiled by default, since we don't
> list a hard dependency on gcc and the various other tools needed for
> sa-compile.

The README.Debian just mentions to enable rules
in /etc/spamassassin/v320.pre and install packages, missing directory
is not documented anywhere so it takes some time to figure out what
is wrong...

> It's on my to-do list to split sa-compile into a separate package that
> can properly depend on the tools it needs. The sa-compile package's cron
> job can unconditionally compile the rules, since it can safely assume
> that if you have the package installed then you intend to compile your
> rules.

Indeed this would be best solution.

-- 
        Michal Čihař | http://cihar.com | http://blog.cihar.com

Attachment: signature.asc
Description: PGP signature

Reply via email to