roundcubemail/roundcubemail-1.1.4-password-postfix-integration.patch

14 lines
728 B
Diff

--- roundcubemail-1.2.1/plugins/password/config.inc.php.dist.orig 2016-07-31 18:10:05.743742428 +0200
+++ roundcubemail-1.2.1/plugins/password/config.inc.php.dist 2016-07-31 18:11:24.109559428 +0200
@@ -105,6 +105,10 @@
// Default: "SELECT update_passwd(%c, %u)"
$config['password_query'] = 'SELECT update_passwd(%c, %u)';
+// Postfix/Postfixadmin integration
+//$config['password_db_dsn'] = 'mysql://user:pass@localhost/db';
+//$config['password_query'] = 'UPDATE mailbox SET password=%c,modified=now() WHERE username=%u LIMIT 1';
+
// By default the crypt() function which is used to create the %c
// parameter uses the md5 algorithm (deprecated, use %P).
// You can choose between: des, md5, blowfish, sha256, sha512.