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 Laurent Licour <ll...@althes.fr> on 2002/04/26 16:28:52 UTC

James 2.0a2 RemoteDelivery Bug

I try to use a configuration to processing inbound and outbound messages
For each, i use a gateway mail server

Here is a part of the config file

<!-- Outbound messages -->
</mailet>
  <mailet match="RemoteAddrInNetwork=172.21.1.34" class="RemoteDelivery">
  <delayTime>21600000</delayTime> 
  <maxRetries>5</maxRetries> 
  <gateway>gw1</gateway> 
</mailet>

<!-- Default : inbound messages -->
<mailet match="All" class="RemoteDelivery">
  <delayTime>21600000</delayTime> 
  <maxRetries>6</maxRetries> 
  <gateway>gw2</gateway> 
</mailet>

It's seems that james confuse between the twice RemoteDelivery mailets. For
example, if i send a mail from 172.21.1.34, 
the first mailet will process mail, but sometimes (~50%) with the memory
context of the second mailet (in others words
to gateway gw2)
I try to debugging but not find the bug
I also try to create a copy of the mailet : SecureRemoteDelivery for the
outbound trafic
After recompile, the problem still exist !!!

Fri Apr 26 14:10:03 GMT-01:00 2002 [INFO   ] (James.Mailet): ToProcessor:
Sending mail org.apache.james.core.MailImpl@1671b2 to transport
Fri Apr 26 14:10:03 GMT-01:00 2002 [INFO   ] (James.Mailet): RemoteDelivery:
Remotely delivering mail Mail1019833803074-5-!1301900932
Fri Apr 26 14:10:03 GMT-01:00 2002 [INFO   ] (James.Mailet): RemoteDelivery:
sending mail to [llicour@althes.fr] on althes.fr
Fri Apr 26 14:10:03 GMT-01:00 2002 [INFO   ] (James.Mailet):
SecureRemoteDelivery: Secure Remote delivery thread (0) will process mail
Mail1019833803074-5-!1301900932-to-althes.fr
Fri Apr 26 14:10:03 GMT-01:00 2002 [INFO   ] (James.Mailet):
SecureRemoteDelivery: attempting to deliver
Mail1019833803074-5-!1301900932-to-althes.fr
Fri Apr 26 14:10:03 GMT-01:00 2002 [INFO   ] (James.Mailet):
SecureRemoteDelivery: ### echo maxRetries = 5
Fri Apr 26 14:10:03 GMT-01:00 2002 [INFO   ] (James.Mailet):
SecureRemoteDelivery: ### echo gateway : gw1

I really don't understand what's append : the good mailet start
(RemoteDelivery  with gw1) (method service() i think) and then a part of the
second mailet is executed

PS : the bug also exist if you use one mailet with DNS resolution insteed of
gateway. Il you only use DNS, the problem exist but there is no side effect

Please help...

Laurent Licour



*---------------------------------------------------------------*
* Cet e-mail et toutes les pièces jointes sont destinés aux     *
* seules personnes auxquelles ils sont spécifiquement adressés  *
* et n'engagent que le signataire de ces documents et non la    *
* structure dont il dépend.                                     *
* Leur existence et leur contenu ont un caractère confidentiel. *
* Toute utilisation ou diffusion non autorisée est interdite.   *
* Si vous avez reçu cet  e-mail ou si vous détenez sans en être *
* le destinataire, nous vous demandons de bien vouloir nous en  *
* informer immédiatement.                                       *
* Cette note assure que ce message a été contrôlé et ne         *
* comprenait aucun virus connu à ce jour, néanmoins tout        *
* message électronique est susceptible d'altération.            *
* Nous déclinons toute responsabilité au titre de ce message    *
* s'il a été altéré, déformé ou falsifié.                        *
*---------------------------------------------------------------*
 


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