[
https://issues.apache.org/jira/browse/JAMES-809?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12521955
]
Stefano Bagnara commented on JAMES-809:
---------------------------------------
Reading it again I'm not sure my last message was clear. I try to explain it
again. If you already understood maybe it will help others reading this in
future.
- The Fetchmail and SMTPServer services simply put new messages into the spool.
- No processing is done but placing new mails into the spool.
- The SpoolManager is the service that process mails in the spool (running them
through the processors and mailets) or wait for new mails when there are no
mails.
- During its initialization the SpoolManager initialize every configured
mailet, then start the processing.
That's why to make sure that processing is delayed the SpoolManager have to be
delayed and not other services.
> Add initialDelay parameter
> --------------------------
>
> Key: JAMES-809
> URL: https://issues.apache.org/jira/browse/JAMES-809
> Project: James
> Issue Type: New Feature
> Components: FetchMail
> Affects Versions: 2.3.1
> Reporter: David Dossot
> Priority: Minor
>
> It would be useful to have an "initialDelay" parameter that would define the
> time before Fetchmail starts fetching mails.
> Reason: I have a Mailet that takes 15 seconds to initialize and this
> initialization is done by a background thread. I would like to start fetching
> only after a certain delay.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]