From: Ismaƫl Bouya Date: Wed, 16 Oct 2019 11:47:58 +0000 (+0200) Subject: Fix postfix destination check X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=812c971305b3e54c234375eea4eb171e15ee2627;hp=099ab5feccae348240c7df7f6dbdac9b7ebfd757;p=perso%2FImmae%2FConfig%2FNix.git Fix postfix destination check --- diff --git a/modules/private/mail/postfix.nix b/modules/private/mail/postfix.nix index 2dccc41..c2d0af6 100644 --- a/modules/private/mail/postfix.nix +++ b/modules/private/mail/postfix.nix @@ -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 ''; } ];