Hello,

Would you guys also recommend putting the command "/usr/bin/sa-update"
in the crontab as well?

If so, should i be using any particular parameters? And how often should
it be run to be worthwhile?

Thanks again,
Richard.


Richard Hobbs wrote:
> Hello,
> 
> Thank you - this is now done! :-)
> 
> I shall see how it goes...
> 
> Richard.
> 
> 
> Anthony Peacock wrote:
>> Hi,
>>
>> Richard Hobbs wrote:
>>> Hello,
>> <SNIP>
>>
>>>>> Is this all correct?
>>>> Yes.  Set up expiration in a cron job, once per day is usually fine.
>>> OK, will do - i assume "sa-learn --force-expire" is the command to run
>>> via cron, right?
>> Yup! This is my crontab line:
>>
>> 00 22 * * * /usr/local/bin/sa-learn --force-expire
>>
>>> Also, how do i disable automatic expiration?
>> Set:
>>
>> bayes_auto_expire          0
>>
>> In your local.cf file.
>>
>>> Thanks again,
>>> Richard.
>>>
>>>
>>>>> Would a suitable alternative be to delete "bayes_seen" and
>>>>> "bayes_toks",
>>>>> then restart spamd? I know i would be deleting everything that had been
>>>>> learned over the last period of time, but starting afresh may not be a
>>>>> bad thing, seeing as the rules in the database are probably 6 months to
>>>>> a year old now (we've not been using spamd for a year or so, because i
>>>>> broke it and had no time to fix it!).
>>>>>
>>>>> Please let me know your thoughts, and also let me know whether deleting
>>>>> both of those files is a good way to go.
>>>> No.
>>>>
>>>>
>>
> 

-- 
Richard Hobbs (Systems Administrator)
Toshiba Research Europe Ltd. - Speech Technology Group
Email: [EMAIL PROTECTED]
Web: http://www.toshiba-europe.com/research/
Tel: +44 1223 376964        Mobile: +44 7811 803377

Reply via email to