summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorLéo Gaspard <leo@gaspard.io>2018-10-24 00:07:17 +0900
committerLéo Gaspard <leo@gaspard.io>2018-10-27 12:15:09 +0900
commit58f701ab74568692a49a4230f37eb07b3b63740d (patch)
treee41293bd8d571b07ea394bc57a2098b4e111fd3b /nixos
parent591ba7335bae245733777c1c4eeedb4d34ef57af (diff)
downloadnixlib-58f701ab74568692a49a4230f37eb07b3b63740d.tar
nixlib-58f701ab74568692a49a4230f37eb07b3b63740d.tar.gz
nixlib-58f701ab74568692a49a4230f37eb07b3b63740d.tar.bz2
nixlib-58f701ab74568692a49a4230f37eb07b3b63740d.tar.lz
nixlib-58f701ab74568692a49a4230f37eb07b3b63740d.tar.xz
nixlib-58f701ab74568692a49a4230f37eb07b3b63740d.tar.zst
nixlib-58f701ab74568692a49a4230f37eb07b3b63740d.zip
opensmtpd: 6.0.3p1 -> 6.4.0p1
Diffstat (limited to 'nixos')
-rw-r--r--nixos/doc/manual/release-notes/rl-1903.xml8
-rw-r--r--nixos/tests/opensmtpd.nix6
2 files changed, 12 insertions, 2 deletions
diff --git a/nixos/doc/manual/release-notes/rl-1903.xml b/nixos/doc/manual/release-notes/rl-1903.xml
index 839d75b53bd1..64ccddb6c672 100644
--- a/nixos/doc/manual/release-notes/rl-1903.xml
+++ b/nixos/doc/manual/release-notes/rl-1903.xml
@@ -137,6 +137,14 @@
      make sure to update your configuration if you want to keep <literal>proglodyte-wasm</literal>
     </para>
    </listitem>
+   <listitem>
+    <para>
+     OpenSMTPD has been upgraded to version 6.4.0p1. This release makes
+     backwards-incompatible changes to the configuration file format. See
+     <command>man smtpd.conf</command> for more information on the new file
+     format.
+    </para>
+   </listitem>
   </itemizedlist>
  </section>
 
diff --git a/nixos/tests/opensmtpd.nix b/nixos/tests/opensmtpd.nix
index 4c0cbca21010..4d3479168f70 100644
--- a/nixos/tests/opensmtpd.nix
+++ b/nixos/tests/opensmtpd.nix
@@ -17,11 +17,12 @@ import ./make-test.nix {
         extraServerArgs = [ "-v" ];
         serverConfiguration = ''
           listen on 0.0.0.0
+          action do_relay relay
           # DO NOT DO THIS IN PRODUCTION!
           # Setting up authentication requires a certificate which is painful in
           # a test environment, but THIS WOULD BE DANGEROUS OUTSIDE OF A
           # WELL-CONTROLLED ENVIRONMENT!
-          accept from any for any relay
+          match from any for any action do_relay
         '';
       };
     };
@@ -41,8 +42,9 @@ import ./make-test.nix {
         extraServerArgs = [ "-v" ];
         serverConfiguration = ''
           listen on 0.0.0.0
-          accept from any for local deliver to mda \
+          action dovecot_deliver mda \
             "${pkgs.dovecot}/libexec/dovecot/deliver -d %{user.username}"
+          match from any for local action dovecot_deliver
         '';
       };
       services.dovecot2 = {