As I mentioned in a previous post, I’ve been using SpiderOak for encrypted backups for both servers and my work/personal data. The Re-test I’ve gradually been storing more and more data on there, and while I’ve happily recovered the odd file or two from it, it had been a while since I tested a full-sized…
Category: Servers
Run A Cron Job With A ‘Random’ Time Interval
Here’s an interesting little Linux cron timing trick I found. For one reason and another, I had a requirement to run a test cron job but with irregular timing to simulate the real scenario of users connecting irregularly. The trick is to run the cron job on a normal regular interval, but then introduce a…
Completely Disable ClamAV In iRedMail
ClamAV can be a memory hog at the best of times. If your mail server is feeling the pinch then there is a useful article in iRedMail’s own documentation on disabling it: Completely Disable ClamAV In iRedMail However, I have found that whilst the steps work, they don’t go quite far enough. The problem is…
Nullmailer: A Simple Mail Transfer Agent
Sometimes all you want to do is to allow your server to send emails. Postfix, exim and sendmail can all be configured to do this but they are complex to configure and relatively heavy-weight just to be used as a simple outgoing message transfer agent (MTA). This is where nullmailer comes in handy. Nullmailer is…
SpiderOAK Server Backup
I manage quite a few servers for various clients. Most of them are fairly small in size and backup is done via a bash script I wrote many years ago. For anyone who’s interested, I will publish the full script in a separate post soon. The script assembles files, exports databases and crontabs and compresses…