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

fetchmail does not handle isLocalRecipient correctly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0-M1, 3.0-M2
    • 3.0-beta3
    • FetchMail
    • 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

        1. vcs-diff1047350971741563426.patch
          0.8 kB
          Toël Hartmann

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: