You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-user@james.apache.org by David Poelz <da...@univie.ac.at> on 2007/10/04 17:49:57 UTC

Mailet Timeout

Hello,

I am currently programming a mailet for the apache james server that is
detecting phishing emails. This mailet also does some internet lookups
which can take a while. Then emails build up in the spool directory
during high traffic situations.

Is there somewhere an option where i could limit the execution time of a
mailet. eg. If the mailet needs longer than 5 sec to complete skip the
mailet and move on.

Thanks in advance for any help.

David


---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org


Re: Mailet Timeout

Posted by Stefano Bagnara <ap...@bago.org>.
No, there is no such an option.

You have to programmatically check your execution time from the mailet
itself.

Stefano


David Poelz ha scritto:
> Hello,
> 
> I am currently programming a mailet for the apache james server that is
> detecting phishing emails. This mailet also does some internet lookups
> which can take a while. Then emails build up in the spool directory
> during high traffic situations.
> 
> Is there somewhere an option where i could limit the execution time of a
> mailet. eg. If the mailet needs longer than 5 sec to complete skip the
> mailet and move on.
> 
> Thanks in advance for any help.
> 
> David



---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org