fetchmail does not handle isLocalRecipient correctly
----------------------------------------------------

                 Key: JAMES-1135
                 URL: https://issues.apache.org/jira/browse/JAMES-1135
             Project: JAMES Server
          Issue Type: Bug
    Affects Versions: 3.0-M2, 3.0-M1
            Reporter: Norman Maurer
             Fix For: 3.0-M3


>From ML:


In MessageProcessor.java:

   /**
    * Method isLocalRecipient.
    * @param recipient
    * @return boolean
    */
   protected boolean isLocalRecipient(MailAddress recipient)
   {
       return isLocalServer(recipient) && 
getLocalUsers().contains(recipient.toString());
   }

should be:

   /**
    * Method isLocalRecipient.
    * @param recipient
    * @return boolean
    */
   protected boolean isLocalRecipient(MailAddress recipient)
   {
       return isLocalServer(recipient) && 
getLocalUsers().contains(recipient.getLocalPart());
   }

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to