Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace the MAIL FROM on the relay level #40

Open
dinosaure opened this issue Jan 9, 2023 · 0 comments
Open

Replace the MAIL FROM on the relay level #40

dinosaure opened this issue Jan 9, 2023 · 0 comments

Comments

@dinosaure
Copy link
Member

Currently, the relay keeps the same MAIL FROM as it receives. If we receives MAIL FROM <[email protected]>, we send back the email with the same MAIL FROM <[email protected]> even if our identity is not bar.com. If we can assert that the primary destination of the email is for us (like [email protected]), we should send back the email with MAIL FROM <[email protected]> to the real destination. In such situation, the real destination (let's say [email protected]) will be able to do a proper SPF check on the x25519.net domain instead of on the bar.com domain.

Spotted by @hannesm.

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

No branches or pull requests

1 participant