Recent Posts

Recent Posts

Plesk 9.x overuse policy (and how to avoid domains being suspended)

Parallels, in their infinite wisdom, introduced new “overuse” policies into their Plesk control panel as of version 9.0.  A great idea when just starting out, but a nightmare when upgrading from a previous version, since it changes the default behavior when clients and domain owners reach their pre-assigned limits.  Now, instead of just warning that Continue reading Plesk 9.x overuse policy (and how to avoid domains being suspended)

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

Sendmail premissions error stopping mail from sending on CentOS 5.1

Really stupid issue with permissions on CentOS 5.1 and real easy fix, since there were improper permissions on the mqueue and clientmqueue directories. The Error message: Tried to send mail via command line using ‘mail’ command, and it returned this error: can not chdir(/var/spool/clientmqueue/): Permission denied Program mode requires special privileges, e.g., root or TrustedUser. Continue reading Sendmail premissions error stopping mail from sending on CentOS 5.1

FreeBSD Plesk 8 – installing php5 as CGI alongside php4

If you have ever needed php5 to run along side php4, you can always compile php5 as a CGI, and let php4 remain as an apache module. Here we’ve compiled php5 from FreeBSD’s ports, and have installed it as a CGI so that specific vhosts will run on this new php5. The installation was done Continue reading FreeBSD Plesk 8 – installing php5 as CGI alongside php4

Updating Spamassassin on FreeBSD and Plesk

Updating Spamassassin on Plesk and FreeBSD is quite simple without breaking things since the Spamassassin on Plesk is pretty standard. System: FreeBSD 6.x Plesk Version: 8.0.x May work with other versions. The stock plesk Spamassassin is a 3.1.x variant, which gets pretty old pretty quick. You can upgrade this via the ports by passing a Continue reading Updating Spamassassin on FreeBSD and Plesk

OCR character recognition – translating images to text

Recently I had to translate a large stack of paperwork into text. Instead of doing this manually (by typing in all the content myself), I decided to test out some of the OCR software for Linux. There’s a few out there, but the most popular is by far gocr (http://jocr.sourceforge.net/) and perhaps tesseract (http://code.google.com/p/tesseract-ocr/). Scanning Continue reading OCR character recognition – translating images to text

Dealing with Apache referrer spam

I’ve had a number of sites get hammered by referrer spam lately, and had to look into methods of stopping, or at least slowing the attacks. Referrer spam is when a group of random (probably trojan or hacked computers) or single computers hit random pages on your site with faked referrer values, typically all pointing Continue reading Dealing with Apache referrer spam