[
https://issues.apache.org/jira/browse/JAMES-1135?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Norman Maurer updated JAMES-1135:
---------------------------------
Component/s: FetchMail
> fetchmail does not handle isLocalRecipient correctly
> ----------------------------------------------------
>
> Key: JAMES-1135
> URL: https://issues.apache.org/jira/browse/JAMES-1135
> Project: JAMES Server
> Issue Type: Bug
> Components: FetchMail
> Affects Versions: 3.0-M1, 3.0-M2
> 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]