Part of the problem is that php's mail() sends mail by just piping each
individual message to an exim process - there is no batch mail
interface. Perl does though....
george
ewiz wrote:
>
> I am facing a problem where some users on the server are using php
> mail() function to mail a list of users in taken from mysql db(around
> 5000 users, but not spam), but this is getting the system crashed due to
> excessvie loads and if I limit the delivery load on exim than even
> geninue mail is getting holded up.
>
> so is there anyway to limit the number of emails or delay the mails from
> the nobody user( which is the apach+php user which mails)
>
> any help would be apperciated.
> TIA
>
> ewiz
>
> --
> ## List details at http://www.exim.org/mailman/listinfo/exim-users Exim details at http://www.exim.org/ ##
--
$_ = 'George Schlossnagle';
s#.#(ord$')-(ord$&)+((index($_,$')-$&)?1002:0)#ego;s#-#((substr($],4,1)-6)?67:$-[0])#eog;$:=$_;print
join('',(map chr$_,reverse
map{substr($:,(3*$_),3)+(11,-109,-14,94,-894,-28,-61,-202,-417,83,-20,-678,53,96,4,-494,82,-869,-826,24,16,-684,-450,-27)[$_]}(0...length($_)/3)),chr(length($_)/2+ord$/),$/);