Backing off Blog-by-email

On order to protect email servers from a possible denial of service attack from the blog by email feature of WordPress I have committed a change today to ensure that WordPress will not contact the mail server more that once every 5 minutes however often wp-mail.php is accessed.

Message displayed when rejecting request

Message displayed when rejecting request

The 5 minute interval, is itself, configurable using a define in your wp-config.php file it you wish to set a longer or shorter interval.

You would configure this by adding the following to the wp-config.php:


//Set the minimum interval for wp-mail blog-by-email POP3 connections to 10 minutes

define('WP_MAIL_INTERVAL',600);

This feature will be available in WordPress v2.9

About Peter Westwood
Happiness Gardener, Coder, Cat Herder, Bug Tracker, Cook and Code Dreamer

9 Responses to Backing off Blog-by-email

  1. That would have been a great addition to the WordPress 2.8.3 update, but will be a excellent addition to WP 2.9

    Great work spotting that possibility!

  2. banago says:

    Yeah, very nice features – thanks!

  3. Matt says:

    I think in general this should be moved out into a plugin we maintain.

    • I take it you mean blog-by-email in general.

      If so I agree whole heartedly.

      It needs some love and would be much better as a canonical plugin to get more people involved in owning it.

      I believe there are already a number of plugins which provide a better solution as it is.

      • Matt says:

        Would you be up for getting in touch with a few of the top plugin authors and see if they’d be up for working together with us to create a canonical plugin?

      • Indeed I would – I have a look around for what is out there and see what people think is best.

        We did have a talk at WordCamp UK last year from someone who was using one plugin very successfully for mob-blogging.

    • Chris says:

      I’ve said before, I hope that WordPress.org gets the blog-by-email love that WordPress.com has. Blog-by-email is much better for .com, so I would encourage you (both) to include some of those features whichever direction you take (and I like the canonical plugin suggestion).

Follow

Get every new post delivered to your Inbox.

Join 98 other followers

%d bloggers like this: