作者 邓超

phpmailr

... ... @@ -258,7 +258,7 @@ class MailProxy {
}
$num = db()->count("select count(*) from `mail_proxy` where `status` = 1 and `ip` = '{$ip}'");
// 每个ip分配1000个
if($num<1000){
if($num<2000){
$this->assignIp = $ip;
// 如果某个服务器 停止了,进来了就要重新分配
if($data){
... ...