Since running my own sites, I've been using several techniques to keep the site running.
NOTE : This post was sitting in my drafts for way too long (over 7 months now), so I'll just post it in the hopes someone likes it. There could be rough edges here and there, but hey, that's what the contact page is for... ;)
Because I tend to do some PHP development on my MacBookPro runnin OSX 10.7(Lion) and want to be able to test the email-functionality, without the system actually sending email to people, I was on the lookout for an easy way to accomplish this in such a way, that I would be able to collect all mail and display both text and HTML versions of it. I found MockSMTP, and it works like a charm. In this post we'll set it up and configure the system to route all mail to MockSMTP, even when it's not running.
If you enable mod_security on your apache server and you install the base-rules, you'll probably notice the WordPress blog isn't functioning correct anymore.
To fix this, you could add the following between the
<vhost> tags in your vhost file that powers your blog: