Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: e4808a6587b2
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 2a61c058c61b
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Mar 2, 2019

  1. rmilter: fix inetSocket

    IPv6 address has to be between [] and the port after.
    Julien Moutinho authored and fpletz committed Mar 2, 2019

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    2a61c05 View commit details
Showing with 2 additions and 2 deletions.
  1. +2 −2 nixos/modules/services/mail/rmilter.nix
4 changes: 2 additions & 2 deletions nixos/modules/services/mail/rmilter.nix
Original file line number Diff line number Diff line change
@@ -8,7 +8,7 @@ let
postfixCfg = config.services.postfix;
cfg = config.services.rmilter;

inetSocket = addr: port: "inet:[${toString port}@${addr}]";
inetSocket = addr: port: "inet:${addr}:${toString port}";
unixSocket = sock: "unix:${sock}";

systemdSocket = if cfg.bindSocket.type == "unix" then cfg.bindSocket.path
@@ -97,7 +97,7 @@ in

bindSocket.address = mkOption {
type = types.str;
default = "::1";
default = "[::1]";
example = "0.0.0.0";
description = ''
Inet address to listen on.