You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Sujit Choudhury <S....@westminster.ac.uk> on 2006/12/06 12:18:09 UTC

sa-update confusing - again

I ran sa-update yesterday and today.

I get the rules timestamped as follows:
-rw-r--r--  1 root root 15859 Dec  3 12:32
/usr/share/spamassassin/20_drugs.cf

-rw-r--r--  1 root root 15833 Dec  5 11:22
/var/lib/spamassassin/3.001007/updates_spamassassin_org/20_drugs.cf

The two dates are different.  It appears that only difference is in
/usr/share/spamassassin/20_drugs.cf with an extra line:
require_version 3.001007

We are running SpamAssassin version 3.1.7

- Sujit Choudhury


------------------------------------------
Sujit Choudhury
ISLS
University of Westminster
Ext 3851 / 1779


RE: sa-update confusing - again

Posted by Sujit Choudhury <S....@westminster.ac.uk>.
Ok, I get it.  Thanks.

Sujit

-----Original Message-----
From: Ralf Hildebrandt [mailto:Ralf.Hildebrandt@charite.de] 
Sent: 06 December 2006 11:43
To: Sujit Choudhury
Cc: users@spamassassin.apache.org
Subject: Re: sa-update confusing - again

* Sujit Choudhury <S....@westminster.ac.uk>:

> No my question is this:
> Does sa-update downloads the rules to /var/lib/spamassassin/3.001007
and then checks it with the rules in /usr/share/spamassassin and updates
the rules if changed?

http://wiki.apache.org/spamassassin/RuleUpdates

Look for:

After sa-update completes, do I have to move the files somewhere for
them to be used?

and 

Should I use "--updatedir" to put updates in the default rules directory
(ie: /usr/share/spamassassin), or the site rules directory (ie:
/etc/mail/spamassassin)?

or in short:
"sa-update just works"

Re: sa-update confusing - again

Posted by Ralf Hildebrandt <Ra...@charite.de>.
* Sujit Choudhury <S....@westminster.ac.uk>:

> No my question is this:
> Does sa-update downloads the rules to /var/lib/spamassassin/3.001007 and then checks it with the rules in /usr/share/spamassassin and updates the rules if changed?

http://wiki.apache.org/spamassassin/RuleUpdates

Look for:

After sa-update completes, do I have to move the files somewhere for them to be used?

and 

Should I use "--updatedir" to put updates in the default rules directory (ie: /usr/share/spamassassin), or the site rules directory (ie: /etc/mail/spamassassin)?

or in short:
"sa-update just works"

Re: sa-update confusing - again

Posted by Theo Van Dinter <fe...@apache.org>.
On Wed, Dec 06, 2006 at 12:30:10PM +0100, Ralf Hildebrandt wrote:
> > Yes, using diff I found that only line that is different is the addition of require_version 3.001007. in /usr/share/spamassassin/20_drugs.cf.
> 
> But what is your question? OK, one line changed. Maybe somebody forget
> to add the 3.1.7 dependency and so it was added and the new rule
> subsequently published.

actually it's more that the update doesn't have a version dependency, and by
in large the rest of the cf file content hasn't changed.

:)

-- 
Randomly Selected Tagline:
aphorism, n.:
 	A concise, clever statement.
 afterism, n.:
 	A concise, clever statement you don't think of until too late.
 		-- James Alexander Thom

RE: sa-update confusing - again

Posted by Sujit Choudhury <S....@westminster.ac.uk>.
No my question is this:
Does sa-update downloads the rules to /var/lib/spamassassin/3.001007 and then checks it with the rules in /usr/share/spamassassin and updates the rules if changed?


- Sujit

-----Original Message-----
From: Ralf Hildebrandt [mailto:Ralf.Hildebrandt@charite.de] 
Sent: 06 December 2006 11:30
To: users@spamassassin.apache.org
Subject: Re: sa-update confusing - again

* Sujit Choudhury <S....@westminster.ac.uk>:
> Yes, using diff I found that only line that is different is the addition of require_version 3.001007. in /usr/share/spamassassin/20_drugs.cf.

But what is your question? OK, one line changed. Maybe somebody forget
to add the 3.1.7 dependency and so it was added and the new rule
subsequently published.

-- 
Ralf Hildebrandt (i.A. des IT-Zentrums)         Ralf.Hildebrandt@charite.de
Charite - Universitätsmedizin Berlin            Tel.  +49 (0)30-450 570-155
Gemeinsame Einrichtung von FU- und HU-Berlin    Fax.  +49 (0)30-450 570-962
IT-Zentrum Standort CBF                    send no mail to plonk@charite.de

Re: sa-update confusing - again

Posted by Ralf Hildebrandt <Ra...@charite.de>.
* Sujit Choudhury <S....@westminster.ac.uk>:
> Yes, using diff I found that only line that is different is the addition of require_version 3.001007. in /usr/share/spamassassin/20_drugs.cf.

But what is your question? OK, one line changed. Maybe somebody forget
to add the 3.1.7 dependency and so it was added and the new rule
subsequently published.

-- 
Ralf Hildebrandt (i.A. des IT-Zentrums)         Ralf.Hildebrandt@charite.de
Charite - Universitätsmedizin Berlin            Tel.  +49 (0)30-450 570-155
Gemeinsame Einrichtung von FU- und HU-Berlin    Fax.  +49 (0)30-450 570-962
IT-Zentrum Standort CBF                    send no mail to plonk@charite.de

RE: sa-update confusing - again

Posted by Sujit Choudhury <S....@westminster.ac.uk>.
Yes, using diff I found that only line that is different is the addition of require_version 3.001007. in /usr/share/spamassassin/20_drugs.cf.

- Sujit



-----Original Message-----
From: Ralf Hildebrandt [mailto:Ralf.Hildebrandt@charite.de] 
Sent: 06 December 2006 11:22
To: users@spamassassin.apache.org
Subject: Re: sa-update confusing - again

* Sujit Choudhury <S....@westminster.ac.uk>:
> I ran sa-update yesterday and today.
> 
> I get the rules timestamped as follows:
> -rw-r--r--  1 root root 15859 Dec  3 12:32 /usr/share/spamassassin/20_drugs.cf
> 
> -rw-r--r--  1 root root 15833 Dec  5 11:22 /var/lib/spamassassin/3.001007/updates_spamassassin_org/20_drugs.cf
> 
> The two dates are different.  It appears that only difference is in
> /usr/share/spamassassin/20_drugs.cf with an extra line:
> require_version 3.001007

Have you used diff?
 
> We are running SpamAssassin version 3.1.7

And your question is?

-- 
Ralf Hildebrandt (i.A. des IT-Zentrums)         Ralf.Hildebrandt@charite.de
Charite - Universitätsmedizin Berlin            Tel.  +49 (0)30-450 570-155
Gemeinsame Einrichtung von FU- und HU-Berlin    Fax.  +49 (0)30-450 570-962
IT-Zentrum Standort CBF                    send no mail to plonk@charite.de

Re: sa-update confusing - again

Posted by Ralf Hildebrandt <Ra...@charite.de>.
* Sujit Choudhury <S....@westminster.ac.uk>:
> I ran sa-update yesterday and today.
> 
> I get the rules timestamped as follows:
> -rw-r--r--  1 root root 15859 Dec  3 12:32 /usr/share/spamassassin/20_drugs.cf
> 
> -rw-r--r--  1 root root 15833 Dec  5 11:22 /var/lib/spamassassin/3.001007/updates_spamassassin_org/20_drugs.cf
> 
> The two dates are different.  It appears that only difference is in
> /usr/share/spamassassin/20_drugs.cf with an extra line:
> require_version 3.001007

Have you used diff?
 
> We are running SpamAssassin version 3.1.7

And your question is?

-- 
Ralf Hildebrandt (i.A. des IT-Zentrums)         Ralf.Hildebrandt@charite.de
Charite - Universitätsmedizin Berlin            Tel.  +49 (0)30-450 570-155
Gemeinsame Einrichtung von FU- und HU-Berlin    Fax.  +49 (0)30-450 570-962
IT-Zentrum Standort CBF                    send no mail to plonk@charite.de