Skip to content

nixos/parsedmarc: Fix default of smtp.to - #279068

Closed
peterablehmann wants to merge 1 commit into
NixOS:masterfrom
peterablehmann:parsedmarc
Closed

peterablehmann wants to merge 1 commit into
NixOS:masterfrom
peterablehmann:parsedmarc

Conversation

@peterablehmann

@peterablehmann peterablehmann commented Jan 6, 2024 •

Copy link
Copy Markdown
Contributor

Change default for services.parsedmarc.settings.smtp.to from null to [] which is currently broken on master.

Introduced by #246992

Things done

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)
    • sandbox = relaxed
    • sandbox = true
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 24.05 Release Notes (or backporting 23.05 and 23.11 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.

Add a 👍 reaction to pull requests you find important.

@github-actions github-actions Bot added 6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS 8.has: module (update) This PR changes an existing module in `nixos/` labels Jan 6, 2024
@Janik-Haag
Janik-Haag requested a review from talyz January 6, 2024 04:59
@NixOSInfra NixOSInfra added the 12.first-time contribution This PR is the author's first one; please be gentle! label Jan 6, 2024
@ofborg ofborg Bot added 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. labels Jan 6, 2024
@delroth delroth added the 12.approvals: 1 This PR was reviewed and approved by one person. label Jan 10, 2024
@Janik-Haag Janik-Haag mentioned this pull request Jan 14, 2024
4 of 13 tasks
@talyz

talyz commented Feb 19, 2024

Copy link
Copy Markdown
Contributor

This makes the default config work, but doesn't fix the bug, which is in the apply. I have a fix here: #285840. Currently baked into a different commit, but I'll split it out.

@Janik-Haag

Copy link
Copy Markdown
Member

@talyz would you mind cherry picking your commit on to this pr?

@SuperSandro2000

Copy link
Copy Markdown
Member

Closing in favor of #280940 which has even more fixes and is ready to be merged.

SuperSandro2000 pushed a commit that referenced this pull request May 2, 2024
Previously evaluaton would fail if `smtp.to` was not set, since the
default case was not handled.

With the current versions of the python elasticsearch libraries, any
configuration containing the modules default would fail since it's not a
valid URL.

The issue adressed in #279068 is also adressed, thuse closes #279068.
pull Bot pushed a commit to auxolotl/nixpkgs that referenced this pull request May 2, 2024
Previously evaluaton would fail if `smtp.to` was not set, since the
default case was not handled.

With the current versions of the python elasticsearch libraries, any
configuration containing the modules default would fail since it's not a
valid URL.

The issue adressed in NixOS#279068 is also adressed, thuse closes NixOS#279068.
@peterablehmann
peterablehmann deleted the parsedmarc branch June 9, 2024 18:22
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: module (update) This PR changes an existing module in `nixos/` 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 12.approvals: 1 This PR was reviewed and approved by one person. 12.first-time contribution This PR is the author's first one; please be gentle!

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants