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

verifyIdentity param should be rejected if authRequired is set to false in SMTP configuration

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 3.7.0
    • SMTPServer
    • None

    Description

      According to the smtp conf documentation https://james.apache.org/server/config-smtp-lmtp.html:

      "handler.verifyIdentity
      This is an optional tag with a boolean body. This option can only be used if SMTP authentication is required. If the parameter is set to true then the sender address for the submitted message will be verified against the authenticated subject. Verify sender addresses, ensuring that the sender address matches the user who has authenticated. It will verify that the sender address matches the address of the user or one of its alias (from user or domain aliases). This prevents a user of your mail server from acting as someone else If unspecified, default value is true."

      However, it has been observed that when authRequired is set to false in smtpserver.xml, if verifyIdentity is set to true, the SMTP server is expecting that the user is authenticated to be able to verify its identity.

      To stick to the documentation of James, we should reject this case on James startup.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              rcordier René Cordier
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h