Skip to content

JAMES-4146: Add support for proxy protocol in managesieve#2808

Merged
Arsnael merged 1 commit into
apache:masterfrom
giz-berlin:feature-managesieve-proxy
Sep 15, 2025
Merged

JAMES-4146: Add support for proxy protocol in managesieve#2808
Arsnael merged 1 commit into
apache:masterfrom
giz-berlin:feature-managesieve-proxy

Conversation

@felixauringer
Copy link
Copy Markdown
Contributor

@felixauringer felixauringer commented Sep 14, 2025

I found that it is possible to configure proxy protocol for managesieve but the configuration is ignored.
This fixes that. I did not find any logic in managesieve that tries to act on the real client IP, so it is available now in the MDCContext but it is never used.

There is already a general BasicChannelInboundHandler which also decodes the proxy protocol, but as far as I understand, it is only used for SMTP. ManageSieve and IMAP both have their own InboundHandler.

Find the Jira issue here.

@felixauringer felixauringer changed the title feat(managesieve): add support for proxy protocol in managesieve JAMES-4146: Add support for proxy protocol in managesieve Sep 14, 2025
Copy link
Copy Markdown
Contributor

@chibenwa chibenwa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice thanks!

Copy link
Copy Markdown
Contributor

@Arsnael Arsnael left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cheers for the fix!

@Arsnael Arsnael merged commit 45a836f into apache:master Sep 15, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants