MyServ serves three purposes:
  1. Publish your review of your present web host or Serv Web Hosting
  2. Ask Questions about hosting and the add ons in a typical Linux, Apache, MySQL, PHP environment under Cpanel.
  3. Get answers to Frequently asked questions about popular CMS's such as Joomla and Wordpress

Domain has exceeded the max defers and failures per hour

You have just received this message “Domain has exceeded the max defers and failures per hour” and are confused.

First the explanation:

Clients who send out mass mailings normally trigger this feature on Linux Cpanel web servers, due to the number of bad/undeliverable email addresses on their lists. They will receive a bounce message with an error similar to the following:

Domain has exceeded the max defers and failures per hour (5/5 (26%)) allowed. Message discarded.

The server monitors emails sent through all email accounts on your domain, and if, over the past hour, more than 25% of the attempted deliveries have failed, outbound email will temporarily be limited.

The “(5/5)” portion of the error indicates that the measurement of bounces kicked in once 5 bounces were detected during the hour. In other words, if you have 4 bounces in an hour during which you sent 16 emails, even though 25% of your emails have bounced, nothing will happen because you are under 5 bounces. Once you reach five bounces in an hour, the bounce percentage measurement is taken and a sending restriction is enforced if you’re over the bounce percentage limit.

Sometimes this is a ‘false’ trigger and restarting the servers mail manager will eradicate the messages appearing again.

Remember this is a SENDING error and may be stopped if the OUTGOING SERVER on local machines is set as the ISP’s SMTP.

If you send mass mail and haven’t kept your mailing list clean by removing invalid email addresses, you may generate enough bounces to have your mailings limited. The only way to work around this is to clean up your list and remove any invalid email addresses.

WHY?

Some domains and local machines have viruses stored on them that use the e-mail facility to send other viruses or just to take part in a DDOS (Distributed Denial of Service Attack) resulting in the domain or infected machine sending hundred/thousands of e-mails an hour. The max defers and failures feature helps combat such attacks.

For an example of a botnet attack read what Cloud Flare says:

There is currently a significant attack being launched at a large number of WordPress blogs across the Internet. The attacker is brute force attacking the WordPress administrative portals, using the username “admin” and trying thousands of passwords. It appears a botnet is being used to launch the attack and more than tens of thousands of unique IP addresses have been recorded attempting to hack WordPress installs.

One of the concerns of an attack like this is that the attacker is using a relatively weak botnet of home PCs in order to build a much larger botnet of beefy servers in preparation for a future attack. These larger machines can cause much more damage in DDoS attacks because the servers have large network connections and are capable of generating significant amounts of traffic. This is a similar tactic that was used to build the so-called itsoknoproblembro/Brobot botnet which, in the Fall of 2012, was behind the large attacks on US financial institutions.

Read more about the WordPress Botnet attack on Cloud Flare.

TROUBLESHOOTING:

If you’re not sure exactly what is causing this, you can probably figure it out by using the Email Trace icon in your hosting control panel. When you click the Email Trace icon, you’ll see a field where you can enter a recipient’s email address and then click a “Run Report” button to get information about email sent to that recipient. If you enter nothing for the recipient email address, you’ll get back data for all email traffic, and as you look through it you should see groups of bounced messages which can help you determine what sender caused the problem, and why.

Enabling Gzip Server Wide

So I got this message in my Google Adsense account:

Recommendations: Enable Gzip compression for your sites
We have analyzed some of the pages on your sites that serve the most ads, and have detected Page Speed problems that create a highly negative user experience for some users. Frequently viewed pages on your site would see large performance improvements if HTTP compression of responses were enabled. Learn how to fix this problem.

First reaction; “Holy Crap, how am I supposed to do that?”

After establishing that my server did not have any compression enabled via apache it turns out it was a piece of cake to enable server wide using Easy Apache on WHM Cpanel.

The steps are as follows:

  1. Use the search box in WHM Cpanel to find “Easy Apache” and open it
  2. Click on “Start customizing based on profile”
  3. Click through to “Exhaustive Options list” which will be found at the bottom of the “Short Options List”
  4. Select “Deflate” in the Exhaustive Options List
  5. Click on “Save and Build” and the compiling is done for you.

DON’T FORGET this step, though:

Enabling Gzip on Individual web sites:

  1. Go to Cpanel
  2. Search for “Optimize Website”
  3. Choose one of the three options; Disabled, Compress all content or Compress the specified MIME types
  4. I placed these in the box provided for Compress the specified MIME types: text plain/text html/text xml/text css/application xml/application xhtml+xml/application rss+xml/application javascript/application x-javascript

Not so intimidating at all!

Use this site http://www.gidnetwork.com/tools/gzip-test.php to test a page on yours for compression.

NOTE: You may have to return to “Optimize Website” in Cpanel and select “Compress all Content”.

How to run a Ping or Traceroute Command

How to run a ping or a traceroute depends on what Operating System (OS) your local machine is running. See the instructions below on how to run a traceroute for various operating systems. Windows XP: Start –> Run enter in “command” (no quotes) In the new window that pops up, enter “tracert yourdomain.com” or “ping [...]

Continue reading...

How To Backup your WordPress site to Dropbox or Google Drive

Wordpress Logo

This is a topic I hammer on about a lot! Backups… Especially with data driven systems like WordPress, Joomla, Drupal etc, but in all honesty it does not matter what technology your website is based on, you HAVE to back up your data. Even if your web hosting provider has a backup system in place [...]

Continue reading...

WordPress Site Hacked

Your WordPress site has been hacked and you are upset. Before going off on a rampage and blaming everyone consider this: Hackers come in through poor security on themes and plugins as well as, Brute force attempts on the wp-admin login The WordPress Security Checklist below will help prevent those miscreants from hacking into your [...]

Continue reading...

A Guide to Creating a Self Hosted WordPress Site

Why rent when you can buy? Why maintain someone else’s property for their benefit? Why buy Unit Trusts when buying shares is better? Buying direct from the farmer is best. We all know that it is far more beneficial to buy property or deal direct with the creator of a product in order to maximise [...]

Continue reading...

Creating an Email Forwarder using Cpanel

Forwarder link and icon

Often we want to forward a domain specific email address to another – e.g to a Gmail account (Gmail can handle POP 3 accounts but that is for a different tutorial). Cpanel can receive email sent to your domain and then forward that email to an email address that you specify. Do the following to [...]

Continue reading...

Creating an Email Auto Responder using Cpanel

Select the Auto Responders Hyperlink after logging in to your Cpanel

Your Linux server using Cpanel comes with an auto responder application and setting up an auto responder can be done on a per email basis as follows: Log in to your domain’s Cpanel Click on the Auto Responders Icon or hyperlink Click on the Add Auto Responder button Fill in the asked for information Click [...]

Continue reading...

Showing More than One Image in a WordPress Post

Lightbox in Action

There are a number of ways to display a number of images in or at the end of your posts in WordPress. Two of the easiest methods involve using the native WordPress Gallery that comes standard with your installation. With the installation of a lightbox gallery you can accomplish some nifty effects with little effort. [...]

Continue reading...