Please read this first…

Outdated code discovered!

Many code examples and tutorials on this website are more than 5 years old. I can’t find the time to update this different posts and I don’t like to remove them.
Maybe the (old) code will help you to get some inspiration and don’t forget to test your script before you publish it.

Configure Postfix + Mailgun on a Cloud VPS

Some days ago I got a very cheap VPS from VULTR with 125GB of SATA storage for only $5,- a month. A small VPS which is fast enough for my websites backups. While all my other VPS servers are installed with Serverpilot, this server was installed with only with Ubuntu 14.04. Because my backups are created by native Linux function like rsync (executed by some CRON jobs), there is no other software required. There is one bottom-line, this configuration doesn’t include any mail function. I used the following steps to configure Postfix & Mailgun for my little server. Continue reading Configure Postfix + Mailgun on a Cloud VPS

How to verify email addresses from your mailing list?

Email marketing is still one of the most efficient ways to reach your customer, leads and site followers. If your mailing list becomes older and hasn’t been used for some time, there is serious chance that some of the email addresses aren’t valid anymore.

Why do you need to verify these email addresses?

Some people would say, why should I care and there are people sending out their mailings to these invalid email addresses many times.

Continue reading How to verify email addresses from your mailing list?

Reduce RAM usage for your WordPress websites

I’m using for most of my servers ServerPilot as the server management tool. With ServerPilot your server will be installed an optimized with Nginx and PHP-FPM. This configuration makes your server very fast.

If you host multiple WordPress websites on your VPS you need to check the RAM memory usage frequently. Even if your WP sites doesn’t have a lot of traffic, they might consume a lot of memory. One of the reason might be the dynamic PHP-FPM configuration, which is very good because each site will respond fast even after some time of inactivity. This happens because there is always at least one active task running inside the applications PHP-FPM pool. If your website becomes more active, it’s possible that a websites pool will activate (and keep) more than one tasks. At this moment your low-traffic website might consume more than 250MB of RAM memory! Continue reading Reduce RAM usage for your WordPress websites