]> git.immae.eu Git - perso/Immae/Config/Nix.git/commitdiff
Fix postfix destination check
authorIsmaël Bouya <ismael.bouya@normalesup.org>
Wed, 16 Oct 2019 11:47:58 +0000 (13:47 +0200)
committerIsmaël Bouya <ismael.bouya@normalesup.org>
Wed, 16 Oct 2019 11:47:58 +0000 (13:47 +0200)
modules/private/mail/postfix.nix

index 2dccc41fedbcd9041b893808dee2c430d65d027a..c2d0af699b07a5b7a837645ce5e618b5b2391346 100644 (file)
@@ -73,6 +73,7 @@
           WHERE
             ((regex = 1 AND '%s' REGEXP CONCAT('^',source,'$') ) OR (regex = 0 AND source = '%s'))
             AND active = 1
+          UNION SELECT '%s' AS destination
         '';
     }
   ];