Skip to content

MMA-10643. set proxy session true even on cancelled operations#53

Open
bitsikas wants to merge 1 commit intoexim-4.94.2+fixes+se+encrfrom
MMA-10643
Open

MMA-10643. set proxy session true even on cancelled operations#53
bitsikas wants to merge 1 commit intoexim-4.94.2+fixes+se+encrfrom
MMA-10643

Conversation

@bitsikas
Copy link

@bitsikas bitsikas commented Feb 25, 2026

Why

When connection aborts the log displays the local interface instead of the attempted socks proxy interface

How

Mark that a proxy was used even if the connection was unsuccesful.


Note

Low Risk
Low risk: a one-line state flag change affecting only SOCKS proxy logging/metadata, not SMTP delivery logic.

Overview
Ensures SOCKS connections are recorded as using a proxy as soon as the TCP connection to the SOCKS server succeeds.

proxy_session is now set to TRUE immediately after smtp_sock_connect() connects to the proxy (alongside proxy_local_address/proxy_local_port), so later handshake failures or aborted operations still log proxy context correctly.

Written by Cursor Bugbot for commit 0df7539. This will update automatically on new commits. Configure here.

@bitsikas bitsikas marked this pull request as ready for review March 2, 2026 07:59
@bitsikas bitsikas requested review from a team, alin-f-tache and cosmingrz and removed request for a team March 2, 2026 09:50
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