It seems to me this method limits the number of concurent mail being sent. But what I need is a flow regulation mechnism that could limit the number of mails per seconds (e.g.). I also need to impose a different limit per next hop (next SMTP relay).
Thanks for you help :) Vincent Bourdaraud. > -----Original Message----- > From: Stefano Bagnara [mailto:[EMAIL PROTECTED] Behalf Of ext > Sent: Thursday 12 May 2005 15:29 > To: 'James Users List' > Subject: Re: How to delay mail processing? > > > > I'm new to James and try to find a way to implement a mailet > > able to level mail load. > > It would do the following: > > > > 1. for each incoming mail check the current mail throughput. > > 2. if the mail throughput is below a threshold, do nothing. > > 3. otherwise level the mail throughput. > > > > I can think of 2 ways to achieve the 3rd point: > > 1. send back the mail to the incoming queue for the next X > > seconds (it will pass through the same mailet later-on) 2. > > set the mail to be delivered later and have a pre-allocation > > mechanism controlling future throughput > > > > Do you see any way to implement this? > > James already does this: simply set up your wanted number of delivery > threads in RemoteDelivery and your preferred spool threads > and james will > handle only that number of mails at a time. > > When the incoming mail flow is higher that the flow handled by the > spooling+delivery threads then your spool will become bigger. > > Stefano > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
