>>>
>>>
>>> Is there any (official) plugin to change password for dbmail ? I
>>> found
> one written by Matthew O'Connor but apparently it was not listed on SM
> plugin page.
>>
>> Check change_sqlpass plugin
>>
>>
>
> I use mysql 4.0.20 , dbmail 2.0.7 and postfix 2.2.7 on SlackwareLinux
> 10.2. I was trying for a couple of hours of change_sqlpass plugin to work
> but to no avail.
>
> In my config.php :
>
>
> $csp_dsn 'mysql://dbmail:[EMAIL PROTECTED]/dbmail';
>
>
> I got error: could not make database connection. I've checked the
> username and password and they are correct. How to check what went wrong?
> log file? How to turn on verbosity for this thing?
>
plugins/change_sqlpass/functions.php csp_get_database_connection() function.
Add "sm_print_r($csp_db_connection);" inside "if
(DB::isError($csp_db_connection)) { ...other code... }"
-----
$csp_db_connection = DB::connect($csp_dsn);
if (DB::isError($csp_db_connection))
{
/* print $csp_db_connection object */
sm_print_r($csp_db_connection);
global $color;
bindtextdomain('change_sqlpass', SM_PATH . 'locale');
textdomain('change_sqlpass');
$text = _("Could not make database connection");
bindtextdomain('squirrelmail', SM_PATH . 'locale');
textdomain('squirrelmail');
plain_error_message($text, $color);
exit;
}
-----
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
--
squirrelmail-users mailing list
Posting Guidelines:
http://www.squirrelmail.org/wiki/MailingListPostingGuidelines
List Address: [email protected]
List Archives:
http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user
List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users