diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-10-16 13:47:58 +0200 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-10-16 13:47:58 +0200 |
commit | 812c971305b3e54c234375eea4eb171e15ee2627 (patch) | |
tree | 64023f58da043ffc4e44e6f2353f5191eb8083bb /modules | |
parent | 099ab5feccae348240c7df7f6dbdac9b7ebfd757 (diff) | |
download | Nix-812c971305b3e54c234375eea4eb171e15ee2627.tar.gz Nix-812c971305b3e54c234375eea4eb171e15ee2627.tar.zst Nix-812c971305b3e54c234375eea4eb171e15ee2627.zip |
Fix postfix destination check
Diffstat (limited to 'modules')
-rw-r--r-- | modules/private/mail/postfix.nix | 1 |
1 files changed, 1 insertions, 0 deletions
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 @@ | |||
73 | WHERE | 73 | WHERE |
74 | ((regex = 1 AND '%s' REGEXP CONCAT('^',source,'$') ) OR (regex = 0 AND source = '%s')) | 74 | ((regex = 1 AND '%s' REGEXP CONCAT('^',source,'$') ) OR (regex = 0 AND source = '%s')) |
75 | AND active = 1 | 75 | AND active = 1 |
76 | UNION SELECT '%s' AS destination | ||
76 | ''; | 77 | ''; |
77 | } | 78 | } |
78 | ]; | 79 | ]; |