diff options
| author | Gregor Kleen <pngwjpgh@users.noreply.github.com> | 2016-10-21 14:35:34 +0200 |
|---|---|---|
| committer | Gregor Kleen <pngwjpgh@users.noreply.github.com> | 2016-10-21 14:35:34 +0200 |
| commit | 25fd508d17a5adfc5e3f8cc87d5d8dbd699a7de2 (patch) | |
| tree | aa8b7ca43fd0ece8823f0956dce0c1cf42f70803 | |
| parent | 0a5addea4203d1dd4c95b1c55f56e6fff03bf1c4 (diff) | |
| download | nixos-25fd508d17a5adfc5e3f8cc87d5d8dbd699a7de2.tar nixos-25fd508d17a5adfc5e3f8cc87d5d8dbd699a7de2.tar.gz nixos-25fd508d17a5adfc5e3f8cc87d5d8dbd699a7de2.tar.bz2 nixos-25fd508d17a5adfc5e3f8cc87d5d8dbd699a7de2.tar.xz nixos-25fd508d17a5adfc5e3f8cc87d5d8dbd699a7de2.zip | |
postfix_ssh
| -rw-r--r-- | hel.nix | 7 |
1 files changed, 6 insertions, 1 deletions
| @@ -191,7 +191,7 @@ | |||
| 191 | recipientDelimiter = "+"; | 191 | recipientDelimiter = "+"; |
| 192 | extraMasterConf = '' | 192 | extraMasterConf = '' |
| 193 | uucp unix - n n - - pipe flags=Fqhu user=uucp argv=/var/setuid-wrappers/uux -z -a$sender - $nexthop!rmail ($recipient) | 193 | uucp unix - n n - - pipe flags=Fqhu user=uucp argv=/var/setuid-wrappers/uux -z -a$sender - $nexthop!rmail ($recipient) |
| 194 | sshsendmail unix - n n - - pipe flags=Fqhu user=nobody:postfix argv=${pkgs.openssh}/bin/ssh -F /var/db/postfix/ssh.config $nexthop sendmail -f$sender ($recipient) | 194 | sshsendmail unix - n n - - pipe flags=Fqhu user=postfix_ssh argv=${pkgs.openssh}/bin/ssh -F /var/db/postfix_ssh/ssh.config $nexthop sendmail -f$sender ($recipient) |
| 195 | ''; | 195 | ''; |
| 196 | extraConfig = '' | 196 | extraConfig = '' |
| 197 | default_transport = uucp:ymir | 197 | default_transport = uucp:ymir |
| @@ -272,6 +272,11 @@ | |||
| 272 | useDefaultShell = true; | 272 | useDefaultShell = true; |
| 273 | }; | 273 | }; |
| 274 | 274 | ||
| 275 | extraUsers.postfix_ssh = { | ||
| 276 | isSystemUser = true; | ||
| 277 | home = "/var/db/postfix_ssh"; | ||
| 278 | }; | ||
| 279 | |||
| 275 | extraGroups = { | 280 | extraGroups = { |
| 276 | network = {}; | 281 | network = {}; |
| 277 | media = { | 282 | media = { |
