MailScanner install.sh script - reminders

Jules Field MailScanner at ecs.soton.ac.uk
Wed Oct 7 17:20:15 IST 2009



On 07/10/2009 17:09, shuttlebox wrote:
> On Wed, Oct 7, 2009 at 5:59 PM, Jules Field<MailScanner at ecs.soton.ac.uk>  wrote:
>    
>> On 07/10/2009 15:47, donald.dawson at bakerbotts.com wrote:
>>      
>>> I have a suggestion to //usr/sbin/update_spamassassin/ - consider
>>> commenting out line 32 (rm -f $LOGFILE) to allow viewing of the
>>> /tmp/update_spamassassin.MMDD file.  It's useful to review the file for
>>> errors.
>>>
>>>        
>> The problem is that will leave a lot of log files behind, which will
>> gradually fill your filesystem.
>>      
> Can't you just switch to another naming of the logfile, from "%m%d" to
> just "%d"? Weekday perhaps? Would only leave seven files around.
>    
Instead, I am now checking the exit status of both sa-update and 
sa-compile. If they both succeed, it will delete the logfile. If either 
of them fails, then it will keep the logfile. Should work okay.

I have also moved the settings relevant to update_spamassassin into 
/etc/sysconfig/update_spamassassin, out of /etc/sysconfig/MailScanner. 
So changes to one don't mean you need to change the other every time you 
upgrade.

These changes will be in the next beta release.

Jules

-- 
Julian Field MEng CITP CEng
www.MailScanner.info
Buy the MailScanner book at www.MailScanner.info/store

Need help customising MailScanner?
Contact me!
Need help fixing or optimising your systems?
Contact me!
Need help getting you started solving new requirements from your boss?
Contact me!

PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
Follow me at twitter.com/JulesFM and twitter.com/MailScanner


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



More information about the MailScanner mailing list