You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Emmanuel Lesouef <e....@crbn.fr> on 2007/07/11 09:22:08 UTC

Debian and sa-update

Hi,

I'm planning to use sa-update for my SA installation to be updated.

I ran sa-update and it downloaded the updated rulesets
in /var/lib/spamassassin/3.001007 along with some other files.

In the previous directory, I found some configuration files :

updates_spamassassin_org.cf which point to the rule sets.

But, the problem is to add these rulesets to /etc/spamassassin/local.cf.

Do I nedd to just :

include /var/lib/spamassassin/3.001007/updates_spamassassin_org.cf

in local.cf ?

More infos : I use Amavis to check emails incoming.

Thanks for your help.

-- 
Emmanuel Lesouef
CRBN | DSI
t : 0231069671
m : e.lesouef@crbn.fr

Re: Debian and sa-update

Posted by Adam Wilbraham <ad...@technophobia.com>.
"echo test | spamassassin -D"

It'll give a load of debug output, scan through that and look at the
paths of the files its using, there will be something like this to confirm it:


[9392] dbg: config: using
"/var/lib/spamassassin/3.001003/updates_spamassassin_org/50_scores.cf" for included file
[9392] dbg: config: read
file /var/lib/spamassassin/3.001003/updates_spamassassin_org/50_scores.cf
[9392] dbg: plugin: fixed relative
path: /var/lib/spamassassin/3.001003/updates_spamassassin_org/60_awl.cf
[9392] dbg: config: using
"/var/lib/spamassassin/3.001003/updates_spamassassin_org/60_awl.cf" for included file
[9392] dbg: config: read
file /var/lib/spamassassin/3.001003/updates_spamassassin_org/60_awl.cf



On Wed, 11 Jul 2007 11:20:42 +0200
Emmanuel Lesouef <e....@crbn.fr> wrote:

> Sounds great.
> 
> I'm currently using 3.1.7 version as I upgraded the server to Debian
> 4.0.
> 
> How can I be sure Spamassassin and Amavis are using the updated
> rulesets ?
> 
> Thanks for you help.
> 
> Le mercredi 11 juillet 2007 à 10:12 +0100, Adam Wilbraham a écrit :
> > You shouldn't need to add anything, it will pay attention to them
> > automatically once they've downloaded. However, make sure you're
> > using a new enough version of SpamAssassin that supports sa-update
> > - the version in the standard Sarge repository doesn't, you'll have
> > to get 3.1.7 from Backports.
> > 
> > 
> > On Wed, 11 Jul 2007 09:22:08 +0200
> > Emmanuel Lesouef <e....@crbn.fr> wrote:
> > 
> > > Hi,
> > > 
> > > I'm planning to use sa-update for my SA installation to be
> > > updated.
> > > 
> > > I ran sa-update and it downloaded the updated rulesets
> > > in /var/lib/spamassassin/3.001007 along with some other files.
> > > 
> > > In the previous directory, I found some configuration files :
> > > 
> > > updates_spamassassin_org.cf which point to the rule sets.
> > > 
> > > But, the problem is to add these rulesets
> > > to /etc/spamassassin/local.cf.
> > > 
> > > Do I nedd to just :
> > > 
> > > include /var/lib/spamassassin/3.001007/updates_spamassassin_org.cf
> > > 
> > > in local.cf ?
> > > 
> > > More infos : I use Amavis to check emails incoming.
> > > 
> > > Thanks for your help.
> > > 
> > 
> > 


-- 
Adam Wilbraham - Assistant Systems Administrator
TechnoPhobia Limited
The Workstation
15 Paternoster Row
SHEFFIELD
England
S1 2BX
t: +44 (0)114 2212123
f: +44 (0)114 2212124
e: adam.wilbraham@technophobia.com
w: http://www.technophobia.com/

Registered in England and Wales Company No. 3063669
VAT registration No. 598 7858 42
ISO 9001:2000 Accredited Company No. 21227
ISO 14001:2004 Accredited Company No. E997
ISO 27001:2005 (BS7799) Accredited Company No. IS 508906
Investor in People Certified No. 101507

The contents of this email are confidential to the addressee
and are intended solely for the recipients use. If you are not
the addressee, you have received this email in error.
Any disclosure, copying, distribution or action taken in
reliance on it is prohibited and may be unlawful.

Any opinions expressed in this email are those of the author
personally and not TechnoPhobia Limited who do not accept
responsibility for the contents of the message.

All email communications, in and out of TechnoPhobia,
are recorded for monitoring purposes.

Re: Debian and sa-update

Posted by Gary V <mr...@hotmail.com>.
>I'm currently using 3.1.7 version as I upgraded the server to Debian
>4.0.
>
>How can I be sure Spamassassin and Amavis are using the updated
>rulesets ?
>
>Thanks for you help.

Run amavisd-new in debug-sa mode for a minute (after stopping it):
amavisd-new stop
amavisd-new debug-sa

Gary V

_________________________________________________________________
http://newlivehotmail.com


Re: Debian and sa-update

Posted by Emmanuel Lesouef <e....@crbn.fr>.
Sounds great.

I'm currently using 3.1.7 version as I upgraded the server to Debian
4.0.

How can I be sure Spamassassin and Amavis are using the updated
rulesets ?

Thanks for you help.

Le mercredi 11 juillet 2007 à 10:12 +0100, Adam Wilbraham a écrit :
> You shouldn't need to add anything, it will pay attention to them
> automatically once they've downloaded. However, make sure you're using a
> new enough version of SpamAssassin that supports sa-update - the
> version in the standard Sarge repository doesn't, you'll have to get
> 3.1.7 from Backports.
> 
> 
> On Wed, 11 Jul 2007 09:22:08 +0200
> Emmanuel Lesouef <e....@crbn.fr> wrote:
> 
> > Hi,
> > 
> > I'm planning to use sa-update for my SA installation to be updated.
> > 
> > I ran sa-update and it downloaded the updated rulesets
> > in /var/lib/spamassassin/3.001007 along with some other files.
> > 
> > In the previous directory, I found some configuration files :
> > 
> > updates_spamassassin_org.cf which point to the rule sets.
> > 
> > But, the problem is to add these rulesets
> > to /etc/spamassassin/local.cf.
> > 
> > Do I nedd to just :
> > 
> > include /var/lib/spamassassin/3.001007/updates_spamassassin_org.cf
> > 
> > in local.cf ?
> > 
> > More infos : I use Amavis to check emails incoming.
> > 
> > Thanks for your help.
> > 
> 
> 
-- 
Emmanuel Lesouef
CRBN | DSI
t : 0231069671
m : e.lesouef@crbn.fr

Re: Debian and sa-update

Posted by Adam Wilbraham <ad...@technophobia.com>.
You shouldn't need to add anything, it will pay attention to them
automatically once they've downloaded. However, make sure you're using a
new enough version of SpamAssassin that supports sa-update - the
version in the standard Sarge repository doesn't, you'll have to get
3.1.7 from Backports.


On Wed, 11 Jul 2007 09:22:08 +0200
Emmanuel Lesouef <e....@crbn.fr> wrote:

> Hi,
> 
> I'm planning to use sa-update for my SA installation to be updated.
> 
> I ran sa-update and it downloaded the updated rulesets
> in /var/lib/spamassassin/3.001007 along with some other files.
> 
> In the previous directory, I found some configuration files :
> 
> updates_spamassassin_org.cf which point to the rule sets.
> 
> But, the problem is to add these rulesets
> to /etc/spamassassin/local.cf.
> 
> Do I nedd to just :
> 
> include /var/lib/spamassassin/3.001007/updates_spamassassin_org.cf
> 
> in local.cf ?
> 
> More infos : I use Amavis to check emails incoming.
> 
> Thanks for your help.
> 


-- 
Adam Wilbraham - Assistant Systems Administrator
TechnoPhobia Limited
The Workstation
15 Paternoster Row
SHEFFIELD
England
S1 2BX
t: +44 (0)114 2212123
f: +44 (0)114 2212124
e: adam.wilbraham@technophobia.com
w: http://www.technophobia.com/

Registered in England and Wales Company No. 3063669
VAT registration No. 598 7858 42
ISO 9001:2000 Accredited Company No. 21227
ISO 14001:2004 Accredited Company No. E997
ISO 27001:2005 (BS7799) Accredited Company No. IS 508906
Investor in People Certified No. 101507

The contents of this email are confidential to the addressee
and are intended solely for the recipients use. If you are not
the addressee, you have received this email in error.
Any disclosure, copying, distribution or action taken in
reliance on it is prohibited and may be unlawful.

Any opinions expressed in this email are those of the author
personally and not TechnoPhobia Limited who do not accept
responsibility for the contents of the message.

All email communications, in and out of TechnoPhobia,
are recorded for monitoring purposes.