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/matchers SenderInFakeDomain.java
Date Mon, 25 Mar 2002 00:46:20 GMT
serge       02/03/24 16:46:20

  Modified:    src/java/org/apache/james/transport/matchers
                        SenderInFakeDomain.java
  Log:
  Corrected behavior in null sender situation... matcher should not match this kind of message.
  
  Revision  Changes    Path
  1.4       +1 -1      jakarta-james/src/java/org/apache/james/transport/matchers/SenderInFakeDomain.java
  
  Index: SenderInFakeDomain.java
  ===================================================================
  RCS file: /home/cvs/jakarta-james/src/java/org/apache/james/transport/matchers/SenderInFakeDomain.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- SenderInFakeDomain.java	18 Jan 2002 02:48:38 -0000	1.3
  +++ SenderInFakeDomain.java	25 Mar 2002 00:46:20 -0000	1.4
  @@ -22,7 +22,7 @@
   
       public Collection match(Mail mail) {
           if (mail.getSender() == null) {
  -            return mail.getRecipients();
  +            return null;
           }
           String domain = mail.getSender().getHost();
           //DNS Lookup for this domain
  
  
  

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