From 4d8b4558d7ce9831446b0da86f724d69a5175016 Mon Sep 17 00:00:00 2001 From: David Goodwin Date: Thu, 13 Aug 2020 16:59:40 +0100 Subject: [PATCH] might fix: https://github.com/postfixadmin/postfixadmin/issues/378 --- functions.inc.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/functions.inc.php b/functions.inc.php index f6dd78aa..e1400bff 100644 --- a/functions.inc.php +++ b/functions.inc.php @@ -1017,6 +1017,9 @@ function _pacrypt_dovecot($pw, $pw_db = '') { # only use -t for salted passwords to be backward compatible with dovecot < 2.1 $dovepasstest = " -t " . escapeshellarg($pw_db); } + + $pipes = []; + $pipe = proc_open("$dovecotpw '-s' $method$dovepasstest", $spec, $pipes); if (!$pipe) {