You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Bernd Bartke (Jira)" <se...@james.apache.org> on 2021/11/29 14:04:00 UTC

[jira] [Created] (JAMES-3678) SPFHandler not able to access session attachment CURRENT_HELO_NAME

Bernd Bartke created JAMES-3678:
-----------------------------------

             Summary: SPFHandler not able to access session attachment CURRENT_HELO_NAME
                 Key: JAMES-3678
                 URL: https://issues.apache.org/jira/browse/JAMES-3678
             Project: James Server
          Issue Type: Bug
          Components: Matchers/Mailets (bundled), SMTPServer
    Affects Versions: 3.6.0
            Reporter: Bernd Bartke
         Attachments: Get_session_attachment_CURRENT_HELO_NAME_with_State_Connection.patch

{{org.apache.james.smtpserver.fastfail.SPFHandler}} is getting session attachment {{CURRENT_HELO_NAME}} with {{ProtocolSession.State.Transaction}}.
{{HeloCmdHandler}} is setting session attachment with {{ProtocolSession.State.Connection}}.
Thus there won't be a heloEhlo available in {{SPFHandler}} and the handler can not check SPF.

{{SPFHandler}} should get session attachment with {{ProtocolSession.State.Connection}}.
Patch is attached.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org