[EMAIL PROTECTED] wrote:
> Hi,
> something I was wondering about is how the remote delivery
> system works.
> Obvioulsy there is a mailet which handles putting mails into
> the outgoing
> spool for remote delivery, and the mailet logs suggest it is
> thi smailet
> iself which does the delivery.  My question is in what
> framework do the
> threads which actually do the dleivery reside?  I mean this
> in the sense
> that they arent I imagine started by the mailet, but are a
> part of the
> spoolmanager?

Short answer: Look at the source -
org.apache.james.transport.mailets.RemoteDelivery and all will be revealed!

Slightly longer answer: The RemoteDelivery mailet creates the threads,
number is defined by parameter "deliveryThreads", default is 1.

> If they were started by the mailet what happens if you
> restart the server
> and then dont relay any mail through it?

The thread(s) stay idle. If you never deliver remotely and want to conserve
resources, don't include the RemoteDelivery mailet in your configuration.

-- Steve


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to