[ 
https://issues.apache.org/jira/browse/JAMES-809?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12521892
 ] 

Stefano Bagnara commented on JAMES-809:
---------------------------------------

I don't understand the "Reason".

Fetchmail is totally unrelated with mailets.

While all of your mailet are initializing the spoolmanager will not start and 
evey mail inserted into the spool by fetchmail or smtpserver will simply wait 
there.

If you wrote a mailet that after the call to "initialize" still is not ready to 
process mails then this is a bad mailet and you have to fix the mailet and not 
to add hacks to fetchmail :-)

Your solution is to make sure that your mailet does not return from the 
initialize until it really is initialized.
Let us know if this works.

> 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]

Reply via email to