MailScanner script - reminders

donald.dawson at donald.dawson at
Wed Oct 7 17:54:37 IST 2009

maybe add a comment at the end to suggest running 'cd /; find . -name
"*.rpmnew"' to list any new MS files.

-----Original Message-----
From: mailscanner-bounces at
[mailto:mailscanner-bounces at] On Behalf Of Jules
Sent: Wednesday, October 07, 2009 10:59 AM
To: MailScanner discussion
Subject: Re: MailScanner script - reminders

On 07/10/2009 15:47, donald.dawson at 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.
> For the/ script, please consider adding code to let the 
> user know of all rpmnew files.
That's not easy in RHEL as the rpm system doesn't keep track of them. In

good old IRIX days all you had to do was "versions old" and "versions 
new" and it would tell you all of them across the whole filesystem 
immediately. RHEL doesn't track them so there's no quick way of doing 
this, sorry.
>   We have a custom/ /etc/sysconfig/MailScanner/ file where we list the

> spam channels we get updates from:
> 29,30c29
> < SAUPDATEARGS="-D --gpgkeyfile 
> /etc/mail/spamassassin/sare-sa-update-gpgkeys.txt --channelfile 
> /etc/mail/spamassassin/sare-sa-update-channels.txt"
> There were a lot of changes in /etc/sysconfig/MailScanner - WORKDIR, 
> Could there be a custom file for the SAUPDATEARGS variable so we 
> didn't have to modify the delivered /etc/sysconfig/MailScanner file?
I'll take a look, that should be possible by making 
/etc/sysconfig/update_spamassassin file with just the SAUPDATEARGS stuff

in it.
> Thanks,
> Donald
> Donald Dawson
> Security Administrator
> Baker Botts L.L.P.
> One Shell Plaza
> 910 Louisiana
> Houston, TX 77002
> W: 713-229-2183


Julian Field MEng CITP CEng
Buy the MailScanner book at

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 and

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

MailScanner mailing list
mailscanner at

Before posting, read

Support MailScanner development - buy the book off the website! 

More information about the MailScanner mailing list