You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Irina <ir...@nas.net> on 2007/06/29 17:05:28 UTC

SA versions in CPAN

Hello all,

Experience a wierd thing.  2 days ago used CPAN to upgrade SA.  It was
upgraded ok to 3.2.1 version.  Today, used CPAN on a server that never had
SA on it, it installed 3.0.4.

Does anybody know what is wrong?

Thank you for your help in advance.

Irina
===========


Re: SA versions in CPAN

Posted by Irina <ir...@nas.net>.
Sorry, but not sure how to do that.  Is it in CPAN configuration?

Thank you.
Irina
================

----- Original Message ----- 
From: "Catalin Miclaus" <ca...@starcomms.com>
To: "Spamassassin Users List" <us...@spamassassin.apache.org>
Sent: Friday, June 29, 2007 11:29 AM
Subject: RE: SA versions in CPAN



-----Original Message-----
From: Irina [mailto:irina@nas.net] 
Sent: Friday, June 29, 2007 4:05 PM
To: Spamassassin Users List
Subject: SA versions in CPAN

Hello all,

Experience a wierd thing.  2 days ago used CPAN to upgrade SA.  It was
upgraded ok to 3.2.1 version.  Today, used CPAN on a server that never
had
SA on it, it installed 3.0.4.

Does anybody know what is wrong?

Thank you for your help in advance.

Irina
===========



Maybe you reached a server that is not up-to-date.
Try to change the CPAN server.


Regards,
 
Catalin Miclaus
Senior Network Administrator
Starcomms Ltd.



Re: Rules in 2 locations

Posted by Luis Hernán Otegui <lu...@gmail.com>.
OK, here we go me and my big mouth... No, really, thanks for the
explanations, Bowie and Theo...


Luix

2007/6/29, Theo Van Dinter <fe...@apache.org>:
> On Fri, Jun 29, 2007 at 01:14:03PM -0300, Luis Hernán Otegui wrote:
> > This is normal. Stock distribution rules are installed in
> > /usr/local/share/spamassassin when you install SA. But as new rules
> > are updated via SARE, they get downloaded to
> > /var/lib/spamassassin/3.002001/updates_spamassassin_org/. Notice the
> > version dependent subdir. After sa-update, SA will use the new rules
> > sitting on /var/lib/...
>
> Just for clarification, SARE has nothing to do with the
> updates.spamassassin.org channel.  updates.spamassassin.org are rules/etc
> from the official project.  Third parties make SARE rules available
> through their own channels, the SARE group doesn't publish their own
> channel.
>
> Also, "man spamassassin" has a whole section on directories used for configs.
>
> --
> Randomly Selected Tagline:
> "BABYLON 5!  A five-mile long cement mixer of truth, pouring out the
>   Concrete of Nice-Nice in a long, grey ribbon into the future, to form a
>                  ***SIDE WALK OF JUSTICE!!***" - The Tick on Babylon 5
>
>


-- 
-------------------------------------------------
GNU-GPL: "May The Source Be With You...
Linux Registered User #448382.
When I grow up, I wanna be like Theo...
-------------------------------------------------

Re: Rules in 2 locations

Posted by Theo Van Dinter <fe...@apache.org>.
On Fri, Jun 29, 2007 at 01:14:03PM -0300, Luis Hernán Otegui wrote:
> This is normal. Stock distribution rules are installed in
> /usr/local/share/spamassassin when you install SA. But as new rules
> are updated via SARE, they get downloaded to
> /var/lib/spamassassin/3.002001/updates_spamassassin_org/. Notice the
> version dependent subdir. After sa-update, SA will use the new rules
> sitting on /var/lib/...

Just for clarification, SARE has nothing to do with the
updates.spamassassin.org channel.  updates.spamassassin.org are rules/etc
from the official project.  Third parties make SARE rules available
through their own channels, the SARE group doesn't publish their own
channel.

Also, "man spamassassin" has a whole section on directories used for configs.

-- 
Randomly Selected Tagline:
"BABYLON 5!  A five-mile long cement mixer of truth, pouring out the
  Concrete of Nice-Nice in a long, grey ribbon into the future, to form a
                 ***SIDE WALK OF JUSTICE!!***" - The Tick on Babylon 5

Re: Rules in 2 locations

Posted by Luis Hernán Otegui <lu...@gmail.com>.
Don't bother. SA is smart enough to notice these issues, and use only
one set of rules. By default, it will use the newer ones and, if some
aren't updated, it'll take them from the satndard dir (i.e.
/usr/local/share/spamassassin).


Luix

2007/6/29, Irina <ir...@nas.net>:
> Oh, ok.  Thank you.  But...
>
> Why I asked?...  When running spamassassin --lint -D, it shows many
> duplicates.  Such as the following, for example:
>
>     [9460] dbg: rules: __MO_OL_91287 merged duplicates: __MO_OL_B30D1
> __MO_OL_CF0C0
>     [9460] dbg: rules: __MO_OL_015D5 merged duplicates: __MO_OL_6554A
>
> That is why I thought SA uses both directories and includes 2 sets of rules.
>
> Since it uses only 1 directory, it puzzles me where these duplicates are
> coming from.  Does anybody know?
>
> Thank you
> Irina
> ===========================
>
>
>
>
> ----- Original Message -----
> From: "Luis Hernán Otegui" <lu...@gmail.com>
> To: "Irina" <ir...@nas.net>
> Cc: <us...@spamassassin.apache.org>
> Sent: Friday, June 29, 2007 12:14 PM
> Subject: Re: Rules in 2 locations
>
>
> > Irina:
> > This is normal. Stock distribution rules are installed in
> > /usr/local/share/spamassassin when you install SA. But as new rules
> > are updated via SARE, they get downloaded to
> > /var/lib/spamassassin/3.002001/updates_spamassassin_org/. Notice the
> > version dependent subdir. After sa-update, SA will use the new rules
> > sitting on /var/lib/...
> >
> >
> > Luix
> >
> > 2007/6/29, Irina <ir...@nas.net>:
> > > Can someone clarify?
> > >
> > > Spamassassin is in
> > > /etc/mail/spamassassin
> > > /usr/local/share/spamassassin
> > >
> > > I then run sa-update
> > >     sa-update --nogpg --allowplugins --channel
> > > saupdates.openprotect.com --channel updates.spamassassin.org
> > >
> > > I now see the same set of file in the following 2 directories:
> > >     /usr/local/share/spamassassin/
> > >     /var/lib/spamassassin/3.002001/updates_spamassassin_org/
> > >
> > > Is it normal?
> > >
> > > Thank you
> > > Irina
> > >
> > >
> >
> >
> > --
> > -------------------------------------------------
> > GNU-GPL: "May The Source Be With You...
> > Linux Registered User #448382.
> > When I grow up, I wanna be like Theo...
> > -------------------------------------------------
> >
>
>


-- 
-------------------------------------------------
GNU-GPL: "May The Source Be With You...
Linux Registered User #448382.
When I grow up, I wanna be like Theo...
-------------------------------------------------

Re: Rules in 2 locations

Posted by Irina <ir...@nas.net>.
Oh, ok.  Thank you.  But...

Why I asked?...  When running spamassassin --lint -D, it shows many
duplicates.  Such as the following, for example:

    [9460] dbg: rules: __MO_OL_91287 merged duplicates: __MO_OL_B30D1
__MO_OL_CF0C0
    [9460] dbg: rules: __MO_OL_015D5 merged duplicates: __MO_OL_6554A

That is why I thought SA uses both directories and includes 2 sets of rules.

Since it uses only 1 directory, it puzzles me where these duplicates are
coming from.  Does anybody know?

Thank you
Irina
===========================




----- Original Message ----- 
From: "Luis Hernán Otegui" <lu...@gmail.com>
To: "Irina" <ir...@nas.net>
Cc: <us...@spamassassin.apache.org>
Sent: Friday, June 29, 2007 12:14 PM
Subject: Re: Rules in 2 locations


> Irina:
> This is normal. Stock distribution rules are installed in
> /usr/local/share/spamassassin when you install SA. But as new rules
> are updated via SARE, they get downloaded to
> /var/lib/spamassassin/3.002001/updates_spamassassin_org/. Notice the
> version dependent subdir. After sa-update, SA will use the new rules
> sitting on /var/lib/...
>
>
> Luix
>
> 2007/6/29, Irina <ir...@nas.net>:
> > Can someone clarify?
> >
> > Spamassassin is in
> > /etc/mail/spamassassin
> > /usr/local/share/spamassassin
> >
> > I then run sa-update
> >     sa-update --nogpg --allowplugins --channel
> > saupdates.openprotect.com --channel updates.spamassassin.org
> >
> > I now see the same set of file in the following 2 directories:
> >     /usr/local/share/spamassassin/
> >     /var/lib/spamassassin/3.002001/updates_spamassassin_org/
> >
> > Is it normal?
> >
> > Thank you
> > Irina
> >
> >
>
>
> -- 
> -------------------------------------------------
> GNU-GPL: "May The Source Be With You...
> Linux Registered User #448382.
> When I grow up, I wanna be like Theo...
> -------------------------------------------------
>


Re: Rules in 2 locations

Posted by Luis Hernán Otegui <lu...@gmail.com>.
Irina:
This is normal. Stock distribution rules are installed in
/usr/local/share/spamassassin when you install SA. But as new rules
are updated via SARE, they get downloaded to
/var/lib/spamassassin/3.002001/updates_spamassassin_org/. Notice the
version dependent subdir. After sa-update, SA will use the new rules
sitting on /var/lib/...


Luix

2007/6/29, Irina <ir...@nas.net>:
> Can someone clarify?
>
> Spamassassin is in
> /etc/mail/spamassassin
> /usr/local/share/spamassassin
>
> I then run sa-update
>     sa-update --nogpg --allowplugins --channel
> saupdates.openprotect.com --channel updates.spamassassin.org
>
> I now see the same set of file in the following 2 directories:
>     /usr/local/share/spamassassin/
>     /var/lib/spamassassin/3.002001/updates_spamassassin_org/
>
> Is it normal?
>
> Thank you
> Irina
>
>


-- 
-------------------------------------------------
GNU-GPL: "May The Source Be With You...
Linux Registered User #448382.
When I grow up, I wanna be like Theo...
-------------------------------------------------

Rules in 2 locations

Posted by Irina <ir...@nas.net>.
Can someone clarify?

Spamassassin is in
/etc/mail/spamassassin
/usr/local/share/spamassassin

I then run sa-update
    sa-update --nogpg --allowplugins --channel
saupdates.openprotect.com --channel updates.spamassassin.org

I now see the same set of file in the following 2 directories:
    /usr/local/share/spamassassin/
    /var/lib/spamassassin/3.002001/updates_spamassassin_org/

Is it normal?

Thank you
Irina


RE: SA versions in CPAN

Posted by Catalin Miclaus <ca...@starcomms.com>.
-----Original Message-----
From: Irina [mailto:irina@nas.net] 
Sent: Friday, June 29, 2007 4:05 PM
To: Spamassassin Users List
Subject: SA versions in CPAN

Hello all,

Experience a wierd thing.  2 days ago used CPAN to upgrade SA.  It was
upgraded ok to 3.2.1 version.  Today, used CPAN on a server that never
had
SA on it, it installed 3.0.4.

Does anybody know what is wrong?

Thank you for your help in advance.

Irina
===========



Maybe you reached a server that is not up-to-date.
Try to change the CPAN server.


Regards,
 
Catalin Miclaus
Senior Network Administrator
Starcomms Ltd.