Linux and PHP web application support and development (Bromsgrove, UK)

tel: 0845 0046746

sysadmin

Stopping the deluge of email spam for qmail using SpamDyke

If you’re having spam trouble with qmail based Linux servers (in our customer’s case – Plesk based) then perhaps you need to look at using SpamDyke Installation is pretty easy – wget http://www.spamdyke.org/releases/spamdyke-4.3.0.tgz tar -zxf spamdyke-4.3.0 cd spamdyke-4.3.0/spamdyke ./configure make  && cp spamdyke /usr/local/bin Then, assuming qmail is running through xinetd – edit /etc/xinetd.d/smtp_psa to look like […]

, , , , , ,

Read more...

Ansible – System configuration management and orchestration

With the increasing prevalence of virtual machines, cloud servers and so on, performing systems administration is becoming more time consuming (more servers = more work!). One approach at solving this has been through the use of system management tools like puppet, cfengine and chef. In our case, when we’ve looked at these in the past, […]

, , , , ,

Read more...

Simple load checking shell script

Below is a simple shell script which can be used to control execution of tasks on a Linux system based on the systems current load value – with the intention that if the 5 minute load average is greater than a given value the script exits with an error return code (1) or completes without […]

, , ,

Read more...