Archive for February, 2007

Ensim Maintenance Procedure Script

I tend to be a little bit spacey, or lazy. With that being said, I wrote a script to run after I run yum, up2date, or add rpms to my servers that runs the Ensim maintenance procedure.

wget http://www.nightowlsnetwork.net/download/ensim_rpm_sync
chmod +x ensim_rpm_sync
./ensim_rpm_sync

Enjoy!

No Comments »

Upgrading MailScanner to 4.58.9

The newest version of MailScanner has lots of nice features to help reduce spam.

wget http://www.nightowlsnetwork.net/download/fix_MailScanner
chmod +x fix_MailScanner
./fix_MailScanner
wget http://www.mailscanner.info/files/4/rpm/MailScanner-4.58.9-1.rpm.tar.gz
tar -zxvf MailScanner-4.58.9-1.rpm.tar.gz
cd MailScanner-4.58.9-1
./install.sh
service MailScanner stop
service MailScanner start

If there should be any errors, then you need to fix them or install the required dependant perl modules from cpan, or ask here. If you are error free, then we can continue.

cd /etc/MailScanner
upgrade_MailScanner_conf MailScanner.conf MailScanner.conf.rpmnew > MailScanner.new
mv -f MailScanner.conf MailScanner.conf.ensim
mv -f MailScanner.new MailScanner.conf

Don’t forget to do the usual rpm syncing procedure that Ensim requires after any rpms updates.

27 Comments »