Phplist Throttling http forums hostgator com phplist throttling…

Phplist Throttling
http://forums.hostgator.com/phplist-throttling-t3574.html
Phplist Throttling :: How To ::
Hello Folks,
I hope all of you must be aware of Hostgator’s Mail policy. The policy urges all you phplist/mailing lists users to throttle your mailing lists to keep them under the 500 emails/hour limit.
I am presenting specific instructions on how you can tweak PHPList available through fantastico to obey the limit while sending mails preventing legitimate domains like “yahoo.com” from being bouncing back as “unroutable domains”
Here we go :
1. Locate the config file for your phplist installation.
If you have installed the script on your domain with URL like http://www.domain.com/list/ then the physical path will be :
/home/username/public_html/list/config/config.php
In FTP you could see
/public_html/list/config/config.php
2. Download this file to your local PC.
3. Edit the file in a text editor like notepad or wordpad.
4. Locate the section called as “batch processing”.
5. Just below you will see some code like :
Code:

  1. define the amount of emails you want to send per period. If 0, batch processing
  2. is disabled

define(“MAILQUEUE_BATCH_SIZE”,0);

  1. define the length of one batch processing period, in seconds (3600 is an hour)

define(“MAILQUEUE_BATCH_PERIOD”,3600);
These are the default settings. We will be replacing those to keep the mails under 500/hour.
Here is the code I suggest :
Code:

  1. define the amount of emails you want to send per period. If 0, batch processing
  2. is disabled

define(“MAILQUEUE_BATCH_SIZE”,480);

  1. define the length of one batch processing period, in seconds (3600 is an hour)

define(“MAILQUEUE_BATCH_PERIOD”,3600);
These settings tell phplist to send 480 mails per hour. The remaining 20 emails per domain can be used for normal mailing operations if needed.
6. Save the file and ftp it back to its original location. Remember to take a backup of the original file just in case you mess up.
Now you should be able to send mails without any bounces and not overloading the mailserver.
Any additions to this article are always welcome 🙂