james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pgoldst...@apache.org
Subject cvs commit: jakarta-james/src/java/org/apache/james/transport/mailets RemoteDelivery.java
Date Fri, 27 Sep 2002 00:31:23 GMT
pgoldstein    2002/09/26 17:31:22

  Modified:    src/java/org/apache/james/transport/mailets
                        RemoteDelivery.java
  Log:
  Patch to mark all 5xx responses as permanent errors.  Thanks to Noel Bergman.
  
  Revision  Changes    Path
  1.27      +2 -2      jakarta-james/src/java/org/apache/james/transport/mailets/RemoteDelivery.java
  
  Index: RemoteDelivery.java
  ===================================================================
  RCS file: /home/cvs/jakarta-james/src/java/org/apache/james/transport/mailets/RemoteDelivery.java,v
  retrieving revision 1.26
  retrieving revision 1.27
  diff -u -r1.26 -r1.27
  --- RemoteDelivery.java	14 Sep 2002 09:00:58 -0000	1.26
  +++ RemoteDelivery.java	27 Sep 2002 00:31:22 -0000	1.27
  @@ -308,7 +308,7 @@
               //possibilities
   
               //Unable to deliver message after numerous tries... fail accordingly
  -            return failMessage(mail, ex, false);
  +            return failMessage(mail, ex, (('5' == ex.getMessage().charAt(0)) ? true : false));
           }
           return true;
       }
  
  
  

--
To unsubscribe, e-mail:   <mailto:james-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:james-dev-help@jakarta.apache.org>


Mime
View raw message