David Doucette wrote:
>
> I'm new to James. I'm asking very simple questions, which is why I'm
> directing them at "user" instead of "dev", despite some of them being of a
> developmental nature.
Good!
>
> James is said to be multi-threaded. Which tasks cause threads to be
> spawned? Does each outgoing e-mail get its own thread? If so, what kinds
> of limits are placed on the number of threads and is this configurable?
>
> Is there a newbie guide that gives an overview of such things?
Alas, no.
This varies quite a bit between 1.2.1 and current 1.2.2-dev
Outgoing emails are handled by the RemoteDelivery mailet, which runs in
the SpoolManger block. For 1.2.2-dev the number of threads is
configurable by the admin. In the config.xml file, SpoolManager section,
you can set the number of threads the SpoolManager can use. Default is
one.
As a first approximation, each block has its own thread (James,
MailStore, UsersStore, SMTPServer, POP3Server, SpoolManager, NNTPServer,
IMAPServer) and each inbound connection has its own thread.
Charles
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]