linux

Minimizing downtime associated with Web/DNS/Mail IP address migrations

Migrating servers to new datacenters or IP addresses is never entirely problem free, usually due to many DNS servers on the internet not obeying TTL’s or caching old records for way too long. These old cached DNS records (usually at different ISP’s, major mailservers like google, hotmail, yahoo, etc.) cause problems where they’ll route mail Continue reading Minimizing downtime associated with Web/DNS/Mail IP address migrations

Yum update check script – runs via crontab and emails when new updates are available

Here’s a quick script that will check yum updates and email you when there are new updates available. Split into two sections, one script is for all package updates, and the other script is for letting us know if we need to reboot when a new kernel package has been installed. Script to check for Continue reading Yum update check script – runs via crontab and emails when new updates are available

Upgrading MailScanner

Easy Upgrading of MailScanner – RPM version (For Redhat/Centos – updated from the MailScanner documentation) 1) Make a backup copy of your current MailScanner (Linux): cp -a /etc/MailScanner /etc/MailScanner.$(date +%Y%m%d) cp -a /usr/lib/MailScanner /usr/lib/MailScanner.$(date +%Y%m%d) cp -a /usr/sbin/MailScanner /usr/sbin/MailScanner.$(date +%Y%m%d) 2) Download the latest version and extract http://mailscanner.info/downloads.html Check the changelog for upgrade notes and Continue reading Upgrading MailScanner