Skip to content

rspamd: fix DKIM signing for inbound emails#3439

Merged
georglauterbach merged 2 commits intomasterfrom
rspamd/dkim-fallback
Jul 28, 2023
Merged

rspamd: fix DKIM signing for inbound emails#3439
georglauterbach merged 2 commits intomasterfrom
rspamd/dkim-fallback

Conversation

@georglauterbach
Copy link
Copy Markdown
Member

@georglauterbach georglauterbach commented Jul 23, 2023

Description

See #3433 (comment).

Inbound emails should not be signed by Rspamd. Moreover, messages delivered from local addresses should not be signed either for the reasons mentioned in the comment above.

CC @Codelica

Fixes #3433

Type of change

  • Bug fix (non-breaking change which fixes an issue)

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation (README.md or the documentation under docs/)
  • If necessary I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes

@georglauterbach georglauterbach added service/security/rspamd kind/bug/fix A fix (PR) for a confirmed bug labels Jul 23, 2023
@georglauterbach georglauterbach added this to the v13.0.0 milestone Jul 23, 2023
@georglauterbach georglauterbach self-assigned this Jul 23, 2023
@georglauterbach
Copy link
Copy Markdown
Member Author

https://mcgrail.com seems to be unreachable at the moment, hence the CI failures.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

is there a reason 192.168.0.0/16 is not in local_networks when all others are?

Copy link
Copy Markdown
Member Author

@georglauterbach georglauterbach Jul 31, 2023

Choose a reason for hiding this comment

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

No, I just forgot 😂 Sorry. Can you provide a PR? I will do a follow-up.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

will do. np. wanted to know because i had to verify the downstream merge.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

I See, thanks for catching! I will do the follow-up since there is another change I want to integrate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/bug/fix A fix (PR) for a confirmed bug service/security/rspamd

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

bug report: Rspamd dkim_signing module should have try_fallback = false ?

3 participants