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 Danny Angus <da...@apache.org> on 2002/12/05 15:02:52 UTC

RE: Using James to eliminate polling and accept msgs to all externalhosts on private lan

Bryan,

>    Accept email destined to any know user at any known host.

If you configure your mailet at the top of the root processor it will indeed see every single mail.
There will be no delay passing this mail to the mailet.

It may or may not be faster than your polling solution, James slows down with load, how much mail are you handling?

d.


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: Using James to eliminate polling and accept msgs to all externalhosts on private lan

Posted by "Noel J. Bergman" <no...@devtech.com>.
Bryan,

Once you have defined all local hosts, just use:

	<mailet match="HostIsLocal" class="MyCustomMailet" />

That should do it.  You could use match="All" if you are sure that you won't
get spam, or the mailet will filter out messages that it doesn't want.

	--- Noel


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Using James to eliminate polling and accept msgs to all externalhosts on private lan

Posted by Bryan Jernigan <bj...@ideorlando.org>.
Our load will probably be maxed at 20/second.  We don't have a store, 
actually we will directly consume the emails and post the end result to 
a Simulation.

Thanks to all who replied.

Danny Angus wrote:

>Bryan,
>
>  
>
>>   Accept email destined to any know user at any known host.
>>    
>>
>
>If you configure your mailet at the top of the root processor it will indeed see every single mail.
>There will be no delay passing this mail to the mailet.
>
>It may or may not be faster than your polling solution, James slows down with load, how much mail are you handling?
>
>d.
>
>
>--
>To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
>For additional commands, e-mail: <ma...@jakarta.apache.org>
>
>  
>