You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by se...@apache.org on 2002/03/25 01:46:20 UTC

cvs commit: jakarta-james/src/java/org/apache/james/transport/matchers SenderInFakeDomain.java

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:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>