Thanks Norman. I will try to increase the deliveryThreads count for sending mail outgoing to SMTP.
Also, I would like to know do James handles user blacklist and unblacklist by itself? (i.e) blacklisting and unblacklisting a user when it receives lot of emails from same user over certain period of time?. If it is, then any parameter to control the blacklisting count?. On Thu, 2010-01-07 at 10:36 +0100, Norman Maurer wrote: > Hi, > > are you talkin about receiving or sending emails ? For sending emails > you could increase the RemoteDelivery threads. From the docs: > > RemoteDelivery > Manages delivery of messages to recipients on remote SMTP hosts. Parameters: > > * outgoing (required) - The URL for the repository that will hold > messages being processed by the RemoteDelivery Mailet. > * delayTime (optional) - a non-negative Long value that is the > time in milliseconds between redelivery attempts for a particular > mail. Defaults to six hours. > * maxRetries (optional) - a non-negative Integer value that is > number of times the Mailet will attempt to deliver a particular mail. > Defaults to five. > * timeout (optional) - The SMTP connection timeout for SMTP > connections generated by this Mailet. Defaults to 60 seconds. > * deliveryThreads (optional) - The number of threads this Mailet > will use to generate SMTP connections. > * gateway (optional) - The host name of the SMTP server to be used > as a gateway for this server. If this value is set, then all messages > will be delivered to the gateway server, regardless of recipient > address. To specify more than one gateway server, add multiple gateway > tags, each containing one value. If more than one server is specified, > they will be tried in order until one is successful. In addition the > port may be specified for each gateway in the format <host>:<port>. If > this value is unset, delivery will occur to SMTP servers resolved by > MX lookup. > * gatewayPort (optional) - The default port number of the SMTP > server to be used as a gateway for this server. This value will be > employed when a gateway is set and the gateway value does not specify > a port as described above. > * bind (optional) - If present, this value is a string describing > the local IP address to which the mailet should be bound while > delivering emails. If the tag is absent then the service will bind to > the default local address of the machine. This tag is useful for > multihomed machines. > Note: Currently you must use the same IP address for all of > those RemoteDelivery instances where you explicitly supply a bind > address. > * debug (optional) - a boolean value (true/false) indicating > whether debugging is on. Defaults to false. > > > See: http://james.apache.org/server/2.3.2/provided_mailets.html > > Hope this helps.. > > Bye, > Norman > > 2010/1/7 prakash <[email protected]>: > > Hi, > > > > Is there any possible way to increase the number of threads, or at least > > have james send a single email to multiple recipients in the same > > domain. The problem which we face is james tends to get overloaded when > > ever the large quantity of emails are sent to it. > > > > Regards, > > Prakash. > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] >
