Finding spam sending PHP scripts on your server

Everyone has the occasional user who may leave something on their server that may send spam, or not update things as fast as they should. Tracking down the spammer can be a real problem though. Sometimes you can track down the domain, but not the script, other times they may have so many files that… Continue reading Finding spam sending PHP scripts on your server

Emailed backup of a database via cron – Attaching files via command line

Sometimes people want an easy offsite backup option for important databases or files, and having a cron to automate that can be helpful. One of our customers had such a case so i wrote a shell script which emailed him a copy of his database every day. Since i thought it was a handy thing… Continue reading Emailed backup of a database via cron – Attaching files via command line

Setting up Domains Keys (DKIM) on Postfix

This is a quick and fairly painless way of setting up DKIM, on a postfix server. DomainKeys Identified Mail (DKIM) is a method for associating a domain name to an email message, thereby allowing a person, role, or organization to claim some responsibility for the message and helps verify that your mail is legitimate. This… Continue reading Setting up Domains Keys (DKIM) on Postfix