The recent update to 0.3 introduced a plugins/ directory that is now distributed with the software. Unfortunately, the password plugin has a broken SQL driver. According to the documentation, '%d' is supposed to be replaced with the domain part of a username in case the IMAP username is an email address. However, the PHP code just passes the local-part of the username instead. The fix is trivial and should obviously be adopted upstream. Until this is done (I have tried to contact the author), this patch fixes the problem.
CVS diff attached.
Fix: Apply patch.
Patch attached with submission follows:
How-To-Repeat: Use an SQL password_query that employs the '%d' expansion. Notice that the local-part (instead of the domain name) is passed to SQL.
Over to maintainer (via the GNATS Auto Assign Tool)
ale 2009-09-10 08:19:29 UTC
FreeBSD ports repository
Fix password plugin.
Submitted by: Sahil Tandon <firstname.lastname@example.org>
Revision Changes Path
1.1 +11 -0 ports/mail/roundcube/files/patch-plugins_password_drivers_sql.php (new)
email@example.com mailing list
To unsubscribe, send any mail to "firstname.lastname@example.org"