User needs to send out 5000 legitimate emails

Jeff75

Well-Known Member
Apr 11, 2003
555
0
166
I have a user who has to send out 5,000 legitimate emails using a PHP script. I have a limit on the server so no user can send out more than 100 emails in an hour. is there anyway that I can temporarily set it so this user can send out their emails (but make it so only they can bypass the limit)?
 

mickalo

Well-Known Member
Apr 16, 2002
782
5
318
N.W. Iowa
I have a user who has to send out 5,000 legitimate emails using a PHP script. I have a limit on the server so no user can send out more than 100 emails in an hour. is there anyway that I can temporarily set it so this user can send out their emails (but make it so only they can bypass the limit)?
this post http://forums.cpanel.net/showpost.php?p=171701&postcount=11 should help you out. we've used it and it works quiet nicely.

Mickalo
 

brianoz

Well-Known Member
Mar 13, 2004
1,146
7
168
Melbourne, Australia
cPanel Access Level
Root Administrator
I've used the /var/cpanel/maxemails solution for some time now and it works like a dream. We setup the maximum per hour to be 250, and then increase it only if we're asked to - which rarely happens. Then if an account starts spamming, either intentionally (never happens for us) or accidentally (via one of their contact scripts getting hijacked) they hit the limit quickly and very little damage is done, we then get an alert from lfd and go check out the account and fix or disable the scripts.