Uploaded image for project: 'James Server'
  1. James Server
  2. JAMES-1135

fetchmail does not handle isLocalRecipient correctly

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0-M1, 3.0-M2
    • Fix Version/s: 3.0-beta3
    • Component/s: FetchMail
    • Labels:
      None

      Description

      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()); }

        Attachments

          Activity

            People

            • Assignee:
              norman Norman Maurer
              Reporter:
              norman Norman Maurer
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: