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

matrix-synapse: add e-mail delivery regression test #135094

Merged
merged 1 commit into from
Aug 23, 2021

Conversation

mguentner
Copy link
Contributor

@mguentner mguentner commented Aug 21, 2021

Motivation for this change

Adds a regression test for the behavior described in

Should be fixed with #132900

Things done
  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • 21.11 Release Notes (or backporting 21.05 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

CC @Ma27 @fadenb @sumnerevans

@github-actions github-actions bot added 6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS 6.topic: python labels Aug 21, 2021
@mguentner mguentner requested review from Mic92 and Ma27 and removed request for Mic92 August 21, 2021 17:40
@jonringer
Copy link
Contributor

duplicate of #132900

please review the other PR

@mguentner
Copy link
Contributor Author

Thanks, missed that one unfortunately. I will then drop the fixing commits and only leave the regression test in.

@mguentner mguentner force-pushed the matrix-synapse-modern-twisted branch from 510d1cd to cbd9cdd Compare August 21, 2021 17:48
@mguentner mguentner changed the title Twisted: 20.3.0 -> 21.7.0 for matrix-synapse matrix-synapse: add e-mail delivery regression test Aug 21, 2021
@ofborg ofborg bot added 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux and removed 10.rebuild-darwin: 101-500 10.rebuild-linux: 101-500 labels Aug 21, 2021
@mguentner
Copy link
Contributor Author

Indeed, #132900 @ b07c07bf058da808a2dc77e6c1005b08c28c10be fixes this regression test.

twisted is used in matrix-synapse for smtp handling.
Mostly this is used for password resets, but also notifications
are delivered that way.

older versions of twisted require the e-mail server to
have TLS1.0 enabled.

Obviously, quite a lot of servers have this disabled which means
synapse won't be able to deliver mails using such servers.

matrix-synapse issue:

matrix-org/synapse#6211
@mguentner mguentner force-pushed the matrix-synapse-modern-twisted branch from cbd9cdd to 076074a Compare August 22, 2021 14:47
@Ma27
Copy link
Member

Ma27 commented Aug 23, 2021

The test seems fine and btw passes when rebasing current nixpkgs master onto this branch :)

@Ma27 Ma27 merged commit 23e1e16 into NixOS:master Aug 23, 2021
@mguentner
Copy link
Contributor Author

@Ma27 Thanks for the review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS 8.has: clean-up 8.has: package (new) This PR adds a new package 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants