james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From se...@apache.org
Subject cvs commit: jakarta-james/src/java/org/apache/james/transport/mailets RemoteDelivery.java
Date Wed, 17 Apr 2002 16:22:58 GMT
serge       02/04/17 09:22:58

  Modified:    src/java/org/apache/james/transport/mailets
                        RemoteDelivery.java
  Log:
  Set DNS error (when no A, CNAME, or MX records are found for a host) to be a temporary exception.
 Per bug 8160
  
  Revision  Changes    Path
  1.18      +3 -3      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.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- RemoteDelivery.java	17 Apr 2002 16:19:45 -0000	1.17
  +++ RemoteDelivery.java	17 Apr 2002 16:22:58 -0000	1.18
  @@ -45,8 +45,8 @@
    * @author Serge Knystautas <sergek@lokitech.com>
    * @author Federico Barbieri <scoobie@pop.systemy.it>
    *
  - * This is $Revision: 1.17 $
  - * Committed on $Date: 2002/04/17 16:19:45 $ by: $Author: serge $
  + * This is $Revision: 1.18 $
  + * Committed on $Date: 2002/04/17 16:22:58 $ by: $Author: serge $
    */
   public class RemoteDelivery extends GenericMailet implements Runnable {
   
  @@ -153,7 +153,7 @@
                   targetServers = getMailetContext().getMailServers(host);
                   if (targetServers.size() == 0) {
                       log("No mail server found for: " + host);
  -                    return failMessage(mail, new MessagingException("There are no DNS entries
for the hostname " + host + ".  I cannot determine where to send this message."), true);
  +                    return failMessage(mail, new MessagingException("There are no DNS entries
for the hostname " + host + ".  I cannot determine where to send this message."), false);
                   }
               } else {
                   targetServers = new Vector();
  
  
  

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