Throttling PHPlist to rate-limit mail sending
You should be aware of the Astutium Ltd Email Sending Policies - if not, we suggest you read the article in the knowledgebase and familiarise yourself with what is acceptable, what is not acceptable, and what simply will not work.
Our email policy requires all mailing list users to throttle your mailing lists to keep under 200 outbound emails per hour.
Below are instructions on how you can tweak the provided PHPList available through fantastico to obey the limits - if you do not follow these instructions, you will get banned from delivering email to aol, yahoo, gmail etc.
- Locate the config file for your phplist installation.
If you have installed the script on your domain with URL like http://www.mydomain.co.uk/phplist/ then the physical path will be ...
/home/(cpanel-username)/public_html/phplist/config/config.php- Download this file to your local machine by FTP
- Edit the file in a local *TEXT* editor like notepad (MS-Word is not a text editor)
- Locate the section labelled as batch processing
- Below that you will see something like ...
# define the amount of emails you want to send per period. If 0, batch processing # is disabled define("MAILQUEUE_BATCH_SIZE",0); # define the length of one batch processing period, in seconds (3600 is an hour) define("MAILQUEUE_BATCH_PERIOD",3600);
These are the standard/default settings which you need to adjust to keep the mails under 200/hour.- Set the batch_size to 150 ...
define("MAILQUEUE_BATCH_SIZE",150);- Set the batch_period to per hour (60 mins*60seconds) ...
define("MAILQUEUE_BATCH_PERIOD",3600);- Save your changes
- FTP the new configuration over the top of the original These settings will ensure you phplist keeps to ~150 outbound emails per hour
Add to Favourites Print this Article