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

14 lines
745 B
Diff
Raw Normal View History

--- roundcubemail-1.0.5-dep/plugins/password/config.inc.php.dist.orig 2015-03-12 12:17:58.762644322 +0100
+++ roundcubemail-1.0.5-dep/plugins/password/config.inc.php.dist 2015-03-12 12:20:18.255595645 +0100
@@ -62,6 +62,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. To use different algorithms
// you can choose between: des, md5, blowfish, sha256, sha512.