Debian Bug report logs - #575230
amavisd-new: Implicit dependency on Spamassassin

version graph

Package: amavisd-new; Maintainer for amavisd-new is Brian May <[email protected]>; Source for amavisd-new is src:amavisd-new (PTS, buildd, popcon).

Reported by: Mats Erik Andersson <[email protected]>

Date: Wed, 24 Mar 2010 12:24:02 UTC

Severity: normal

Found in version amavisd-new/1:2.6.1.dfsg-1

Reply or subscribe to this bug.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to [email protected], Brian May <[email protected]>:
Bug#575230; Package amavisd-new. (Wed, 24 Mar 2010 12:24:05 GMT) (full text, mbox, link).


Acknowledgement sent to Mats Erik Andersson <[email protected]>:
New Bug report received and forwarded. Copy sent to Brian May <[email protected]>. (Wed, 24 Mar 2010 12:24:05 GMT) (full text, mbox, link).


Message #5 received at [email protected] (full text, mbox, reply):

From: Mats Erik Andersson <[email protected]>
To: [email protected]
Subject: amavisd-new: Implicit dependency on Spamassassin
Date: Wed, 24 Mar 2010 13:29:03 +0100
Package: amavisd-new
Version: 1:2.6.1.dfsg-1
Severity: normal
thanks

On a recent new system I installed only amavisd-new and clamav in a
first step, _not_ including spamassassin. The result was that amavisd
refused to start due to execution errors. Once I installed also
Spamassassin, then amavisd would start as expected without any
changes applied to configurations.

Judging from the most recent control file, the implicit dependeny
on Spamassassin should still be present.

-- 
Mats Erik Andersson,




Information forwarded to [email protected], Brian May <[email protected]>:
Bug#575230; Package amavisd-new. (Wed, 24 Mar 2010 12:42:02 GMT) (full text, mbox, link).


Acknowledgement sent to Alexander Wirt <[email protected]>:
Extra info received and forwarded to list. Copy sent to Brian May <[email protected]>. (Wed, 24 Mar 2010 12:42:02 GMT) (full text, mbox, link).


Message #10 received at [email protected] (full text, mbox, reply):

From: Alexander Wirt <[email protected]>
To: Mats Erik Andersson <[email protected]>, [email protected]
Cc: [email protected]
Subject: Re: Bug#575230: amavisd-new: Implicit dependency on Spamassassin
Date: Wed, 24 Mar 2010 13:39:00 +0100
Mats Erik Andersson schrieb am Wednesday, den 24. March 2010:

> Package: amavisd-new
> Version: 1:2.6.1.dfsg-1
> Severity: normal
> thanks
> 
> On a recent new system I installed only amavisd-new and clamav in a
> first step, _not_ including spamassassin. The result was that amavisd
> refused to start due to execution errors. Once I installed also
> Spamassassin, then amavisd would start as expected without any
> changes applied to configurations.
> 
> Judging from the most recent control file, the implicit dependeny
> on Spamassassin should still be present.
This should be fixed in newer versions (amavis shouldn't bail out if
spamassassin isn't installed). I will test this later. 

Thanks for reporting
Alex





Information forwarded to [email protected], Brian May <[email protected]>:
Bug#575230; Package amavisd-new. (Wed, 24 Mar 2010 12:42:05 GMT) (full text, mbox, link).


Acknowledgement sent to Alexander Wirt <[email protected]>:
Extra info received and forwarded to list. Copy sent to Brian May <[email protected]>. (Wed, 24 Mar 2010 12:42:05 GMT) (full text, mbox, link).


Information forwarded to [email protected], Brian May <[email protected]>:
Bug#575230; Package amavisd-new. (Mon, 04 Oct 2010 20:57:06 GMT) (full text, mbox, link).


Acknowledgement sent to Jamie McClelland <[email protected]>:
Extra info received and forwarded to list. Copy sent to Brian May <[email protected]>. (Mon, 04 Oct 2010 20:57:06 GMT) (full text, mbox, link).


Message #20 received at [email protected] (full text, mbox, reply):

From: Jamie McClelland <[email protected]>
To: [email protected]
Subject: amavisd-new cron job also depends on spamassassin
Date: Mon, 4 Oct 2010 16:47:05 -0400
[Message part 1 (text/plain, inline)]
Not sure if this should be a separate ticket or not...

The amavisd-new cron.d entry calls:

/usr/sbin/amavisd-new-cronjob sa-sync 

This script calls /usr/bin/sa-learn. It doesn't appear to check if
sa-learn is installed or not.

And, if spamassassin is installed, but is configured with bayes turned
off, the script returns:

----
ERROR: configuration specifies 'use_bayes 0', sa-learn disabled
----

This happens even if sa is not enabled in amavis.

Ideally, the cron job could check to ensure that both sa is installed
and amavis is configured to do spam checking (and, if possible, if bayes
is turned on).

Or - maybe the installation of the cron job should be dependent on a
dpkg configuration question?

jamie

[signature.asc (application/pgp-signature, inline)]

Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Thu May 15 19:33:32 2025; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.