You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Odhiambo Washington <wa...@wananchi.com> on 2006/11/29 14:39:36 UTC

sa-update installation

Hello List,

I have successfully (I hope) installed and run sa-update, and
I see that it installed files in /var/lib/spamassassin/3.001007/

In my FreeBSD box, I am used to the rules being in 
/usr/local/share/spamassassin and /usr/local/etc/mail/spamassassin.

Do I just go out for a cold beer and hope that SA will be reading
these rules as well?

What happens when I run sa-update? Does it update the rules files in
/usr/local/share/spamassassin or what?



-Wash

http://www.netmeister.org/news/learn2quote.html

DISCLAIMER: See http://www.wananchi.com/bms/terms.php

--
+======================================================================+
    |\      _,,,---,,_     | Odhiambo Washington    <wa...@wananchi.com>
Zzz /,`.-'`'    -.  ;-;;,_ | Wananchi Online Ltd.   www.wananchi.com
   |,4-  ) )-,_. ,\ (  `'-'| Tel: +254 20 313985-9  +254 20 313922
  '---''(_/--'  `-'\_)     | GSM: +254 722 743223   +254 733 744121
+======================================================================+

Pedaeration, n.:
	The perfect body heat achieved by having one leg under the
sheet and one hanging off the edge of the bed.
		-- Rich Hall, "Sniglets"

Re: sa-update installation

Posted by Sven Schuster <sc...@gmx.de>.
Hi Steven,

On Wed, Nov 29, 2006 at 07:56:18AM -0600, Steven Stern told us:
> after sa-update runs, restart spamassassin and it will use the new rules
> in /var/lib/spamassassin.
>
> I have this as a cron job:
>
> 30 3 * * *  sa-update && spamassassin --lint && /etc/init.d/spamassassin
> restart

I think you don't need the lint here, as sa-update internally does
this for each channel it gets updates for (at least this is what
the source tells me ;-) )


Kind regards,

Sven

>
> --
>
>   Steve

-- 
Linux zion.homelinux.com 2.6.18-1.2849.fc6xen #1 SMP Fri Nov 10 13:56:52 EST 2006 i686 athlon i386 GNU/Linux
 16:42:51 up 13 days, 18:00,  3 users,  load average: 0.04, 0.14, 0.26

Re: sa-update installation

Posted by Odhiambo Washington <wa...@wananchi.com>.
* On 29/11/06 15:27 +0000, Bryan Hepworth wrote:
| Steven Stern wrote:
| >Odhiambo Washington wrote:
| >  
| >>Hello List,
| >>
| >>I have successfully (I hope) installed and run sa-update, and
| >>I see that it installed files in /var/lib/spamassassin/3.001007/
| >>
| >>In my FreeBSD box, I am used to the rules being in 
| >>/usr/local/share/spamassassin and /usr/local/etc/mail/spamassassin.
| >>
| >>Do I just go out for a cold beer and hope that SA will be reading
| >>these rules as well?
| >>
| >>What happens when I run sa-update? Does it update the rules files in
| >>/usr/local/share/spamassassin or what?
| >>
| >>
| >>    
| >
| >after sa-update runs, restart spamassassin and it will use the new rules
| >in /var/lib/spamassassin.
| >
| >I have this as a cron job:
| >
| >30 3 * * *  sa-update && spamassassin --lint && /etc/init.d/spamassassin
| >restart
| >
| >
| >  
| Perfect
| 
| I was just about to ask what the recommended interval was for running 
| sa-update was :-)

Hi Bryan,

It's a good idea to use a different time than the one shown so that the
update servers are not overloaded by the whole world banging them all
at once ;)



-Wash

http://www.netmeister.org/news/learn2quote.html

DISCLAIMER: See http://www.wananchi.com/bms/terms.php

--
+======================================================================+
    |\      _,,,---,,_     | Odhiambo Washington    <wa...@wananchi.com>
Zzz /,`.-'`'    -.  ;-;;,_ | Wananchi Online Ltd.   www.wananchi.com
   |,4-  ) )-,_. ,\ (  `'-'| Tel: +254 20 313985-9  +254 20 313922
  '---''(_/--'  `-'\_)     | GSM: +254 722 743223   +254 733 744121
+======================================================================+

"I don't think so," said Ren'e Descartes.  Just then, he vanished.

Re: sa-update installation

Posted by Bryan Hepworth <br...@coxagri.com>.
Steven Stern wrote:
> Odhiambo Washington wrote:
>   
>> Hello List,
>>
>> I have successfully (I hope) installed and run sa-update, and
>> I see that it installed files in /var/lib/spamassassin/3.001007/
>>
>> In my FreeBSD box, I am used to the rules being in 
>> /usr/local/share/spamassassin and /usr/local/etc/mail/spamassassin.
>>
>> Do I just go out for a cold beer and hope that SA will be reading
>> these rules as well?
>>
>> What happens when I run sa-update? Does it update the rules files in
>> /usr/local/share/spamassassin or what?
>>
>>
>>     
>
> after sa-update runs, restart spamassassin and it will use the new rules
> in /var/lib/spamassassin.
>
> I have this as a cron job:
>
> 30 3 * * *  sa-update && spamassassin --lint && /etc/init.d/spamassassin
> restart
>
>
>   
Perfect

I was just about to ask what the recommended interval was for running 
sa-update was :-)

Cheers Mate!

Bryan

Re: sa-update installation

Posted by Jason Frisvold <xe...@gmail.com>.
On 11/29/06, Steven Stern <su...@sterndata.com> wrote:
> after sa-update runs, restart spamassassin and it will use the new rules
> in /var/lib/spamassassin.
>
> I have this as a cron job:
>
> 30 3 * * *  sa-update && spamassassin --lint && /etc/init.d/spamassassin
> restart

Oh?  I thought you needed to specify within the local.cf file to use
those updated rules?  Am I mistaken?  Will it automatically use the
"correct" rules from /var/lib/spamassassin?  (correct meaning that if
I update to the next version, will it use the latest rules and not get
confused with possible rules left lying around?)

> --
>
>   Steve

-- 
Jason 'XenoPhage' Frisvold
XenoPhage0@gmail.com

Re: sa-update installation

Posted by Odhiambo Washington <wa...@wananchi.com>.
* On 29/11/06 07:56 -0600, Steven Stern wrote:
| Odhiambo Washington wrote:
| > Hello List,
| > 
| > I have successfully (I hope) installed and run sa-update, and
| > I see that it installed files in /var/lib/spamassassin/3.001007/
| > 
| > In my FreeBSD box, I am used to the rules being in 
| > /usr/local/share/spamassassin and /usr/local/etc/mail/spamassassin.
| > 
| > Do I just go out for a cold beer and hope that SA will be reading
| > these rules as well?
| > 
| > What happens when I run sa-update? Does it update the rules files in
| > /usr/local/share/spamassassin or what?
| > 
| > 
| 
| after sa-update runs, restart spamassassin and it will use the new rules
| in /var/lib/spamassassin.

My sa-update script is configured to do this already:
 'svc -h /var/service/spamd'

And I have a crontab entry, so it's time for beer ;)



-Wash

http://www.netmeister.org/news/learn2quote.html

DISCLAIMER: See http://www.wananchi.com/bms/terms.php

--
+======================================================================+
    |\      _,,,---,,_     | Odhiambo Washington    <wa...@wananchi.com>
Zzz /,`.-'`'    -.  ;-;;,_ | Wananchi Online Ltd.   www.wananchi.com
   |,4-  ) )-,_. ,\ (  `'-'| Tel: +254 20 313985-9  +254 20 313922
  '---''(_/--'  `-'\_)     | GSM: +254 722 743223   +254 733 744121
+======================================================================+

It is the business of little minds to shrink.
		-- Carl Sandburg

Re: sa-update installation

Posted by Steven Stern <su...@sterndata.com>.
Odhiambo Washington wrote:
> Hello List,
> 
> I have successfully (I hope) installed and run sa-update, and
> I see that it installed files in /var/lib/spamassassin/3.001007/
> 
> In my FreeBSD box, I am used to the rules being in 
> /usr/local/share/spamassassin and /usr/local/etc/mail/spamassassin.
> 
> Do I just go out for a cold beer and hope that SA will be reading
> these rules as well?
> 
> What happens when I run sa-update? Does it update the rules files in
> /usr/local/share/spamassassin or what?
> 
> 

after sa-update runs, restart spamassassin and it will use the new rules
in /var/lib/spamassassin.

I have this as a cron job:

30 3 * * *  sa-update && spamassassin --lint && /etc/init.d/spamassassin
restart


-- 

  Steve