Bug#731516: /etc/cron.daily/spamassassin: sa-compile not executed from cron

2016-06-03 Thread Adam D. Barratt
On Fri, 2016-06-03 at 18:36 +0200, Miklos Quartus wrote:
> Package: spamassassin
> Followup-For: Bug #731516
> 
> Hi Maintainer, Michal, 

NN@bugs doesn't reach the submitter by default. If you expect a
response from them then you need to CC them.

Regards,

Adam



Bug#731516: /etc/cron.daily/spamassassin: sa-compile not executed from cron

2016-06-03 Thread Miklos Quartus
Package: spamassassin
Followup-For: Bug #731516

Hi Maintainer, Michal, 

> > 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.

As far as I can see, the 'sa-compile' package is now separated from
spamassassin package at least in sid and in Jessie. I do have spamassasin
installed, but I don't have sa-compile. So this bug can be closed,
am I right?

Regards, 
Miklos

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 4.5.0-2-686-pae (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages spamassassin depends on:
ii  adduser  3.114
ii  curl 7.47.0-1
ii  init-system-helpers  1.34
ii  libhtml-parser-perl  3.72-1
ii  libhttp-date-perl6.02-1
ii  libnet-dns-perl  1.05-2
ii  libnetaddr-ip-perl   4.079+dfsg-1
ii  libsocket6-perl  0.27-1
ii  libsys-hostname-long-perl1.5-1
ii  libwww-perl  6.15-1
ii  perl 5.22.2-1
ii  perl-modules-5.22 [libarchive-tar-perl]  5.22.2-1
ii  w3m  0.5.3-28

Versions of packages spamassassin recommends:
ii  gnupg 1.4.20-6
ii  libio-socket-inet6-perl   2.72-2
ii  libmail-spf-perl  2.9.0-4
ii  libperl5.22 [libsys-syslog-perl]  5.22.2-1
pn  sa-compile
ii  spamc 3.4.1-4

Versions of packages spamassassin suggests:
pn  libdbi-perl  
pn  libencode-detect-perl
ii  libio-socket-ssl-perl2.027-1
pn  libmail-dkim-perl
ii  libperl5.22 [libcompress-zlib-perl]  5.22.2-1
pn  pyzor
pn  razor

-- Configuration Files:
/etc/spamassassin/local.cf changed:
rewrite_header Subject  SPAM 
required_score 4.0
ifplugin Mail::SpamAssassin::Plugin::Shortcircuit
endif # Mail::SpamAssassin::Plugin::Shortcircuit


-- no debconf information

-- 
Miklos Quartus
WWW: http://www.miklos.info
GPG: 3C4B 1364 A379 7366 7FED  260A 2208 F2CE 3FCE A0D3


signature.asc
Description: PGP signature


Bug#731516: /etc/cron.daily/spamassassin: sa-compile not executed from cron

2013-12-10 Thread Michal Čihař
Hi

Dne Sun, 8 Dec 2013 12:23:35 -0500
Noah Meyerhans  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


signature.asc
Description: PGP signature


Bug#731516: /etc/cron.daily/spamassassin: sa-compile not executed from cron

2013-12-08 Thread Noah Meyerhans
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.

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.



signature.asc
Description: Digital signature


Bug#731516: /etc/cron.daily/spamassassin: sa-compile not executed from cron

2013-12-06 Thread nijel
Package: spamassassin
Version: 3.3.2-5
Severity: normal
File: /etc/cron.daily/spamassassin

Dear Maintainer,

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.

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


-- System Information:
Debian Release: 7.2
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages spamassassin depends on:
ii  adduser 3.113+nmu3
pn  libarchive-tar-perl 
ii  libhtml-parser-perl 3.69-2
ii  libnet-dns-perl 0.66-2+b2
ii  libnetaddr-ip-perl  4.062+dfsg-1
ii  libsocket6-perl 0.23-1+b2
ii  libsys-hostname-long-perl   1.4-2
ii  libwww-perl 6.04-1
ii  perl5.14.2-21+deb7u1
ii  perl-modules [libio-zlib-perl]  5.14.2-21+deb7u1

Versions of packages spamassassin recommends:
ii  gcc4:4.7.2-1
ii  gnupg  1.4.12-7+deb7u2
ii  libc6-dev  2.13-38
ii  libio-socket-inet6-perl2.69-2
ii  libmail-spf-perl   2.8.0-1
ii  make   3.81-8.2
ii  perl [libsys-syslog-perl]  5.14.2-21+deb7u1
ii  re2c   0.13.5-1
ii  spamc  3.3.2-5

Versions of packages spamassassin suggests:
ii  libdbi-perl   1.622-1
ii  libio-socket-ssl-perl 1.76-2
ii  libmail-dkim-perl 0.39-1
ii  libnet-ident-perl 1.23-1
ii  perl [libcompress-zlib-perl]  5.14.2-21+deb7u1
ii  pyzor 1:0.5.0-2
pn  razor 

-- Configuration Files:
/etc/default/spamassassin changed [not included]
/etc/spamassassin/local.cf changed [not included]
/etc/spamassassin/v310.pre changed [not included]
/etc/spamassassin/v320.pre changed [not included]

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org