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 "René Cordier (Jira)" <se...@james.apache.org> on 2021/12/02 03:57:00 UTC

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

    [ https://issues.apache.org/jira/browse/JAMES-3678?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17452167#comment-17452167 ] 

René Cordier commented on JAMES-3678:
-------------------------------------

[https://github.com/apache/james-project/pull/767] fixed this and has been merged

> 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
>            Priority: Major
>         Attachments: Get_session_attachment_CURRENT_HELO_NAME_with_State_Connection.patch
>
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> {{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